UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::DataValidation::IFixer Struct Referenceabstract

#include <Fixer.h>

+ Inheritance diagram for UE::DataValidation::IFixer:

Public Member Functions

virtual ~IFixer ()=default
 
virtual EFixApplicability GetApplicability (int32 FixIndex) const =0
 
virtual FFixResult ApplyFix (int32 FixIndex)=0
 
template<typename FixerType , typename... ArgTypes>
TSharedRef< FixerTypeWrappedIn (ArgTypes &&... Args)
 
UE_API TSharedRef< FFixTokenCreateToken (const FText &Label)
 
- Public Member Functions inherited from TSharedFromThis< IFixer >
TSharedRef< IFixer, Mode > AsShared ()
 
TSharedRef< IFixer const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< IFixer, Mode > AsWeak ()
 
TWeakPtr< IFixer const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Additional Inherited Members

- Protected Member Functions inherited from TSharedFromThis< IFixer >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< IFixer >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Detailed Description

Provider of automatic fixes for an asset.

Fixers are composable: it is possible to layer many fixers on top of each other to provide fixes which perform extra actions on top of a base fixer. These layers are provided within the DataValidation plugin. See DataValidationFixers.h.

Constructor & Destructor Documentation

◆ ~IFixer()

virtual UE::DataValidation::IFixer::~IFixer ( )
virtualdefault

Member Function Documentation

◆ ApplyFix()

virtual FFixResult UE::DataValidation::IFixer::ApplyFix ( int32  FixIndex)
pure virtual

Applies a fix provided by this fixer.

◆ CreateToken()

TSharedRef< FFixToken > UE::DataValidation::IFixer::CreateToken ( const FText Label)

Creates an FFixToken out of the fix and a given label. This should generally be preferred over the lower level FFixToken::Create.

◆ GetApplicability()

virtual EFixApplicability UE::DataValidation::IFixer::GetApplicability ( int32  FixIndex) const
pure virtual

Returns whether the fix can be applied at the moment. This must be called before ApplyFix.

◆ WrappedIn()

template<typename FixerType , typename... ArgTypes>
TSharedRef< FixerType > UE::DataValidation::IFixer::WrappedIn ( ArgTypes &&...  Args)
inline

Sugar for wrapping the fixer in another fixer using postfix Fixer->WrappedIn<FOtherFixer>(Args) instead of FSomeFixer::Create(Fixer, Args).


The documentation for this struct was generated from the following files: