![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Fixer.h>
Inheritance diagram for UE::DataValidation::IFixer:Additional Inherited Members | |
Protected Member Functions inherited from TSharedFromThis< IFixer > | |
| TSharedFromThis () | |
| TSharedFromThis (TSharedFromThis const &) | |
| UE_FORCEINLINE_HINT TSharedFromThis & | operator= (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) |
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.
|
virtualdefault |
|
pure virtual |
Applies a fix provided by this fixer.
| 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.
|
pure virtual |
Returns whether the fix can be applied at the moment. This must be called before ApplyFix.
|
inline |
Sugar for wrapping the fixer in another fixer using postfix Fixer->WrappedIn<FOtherFixer>(Args) instead of FSomeFixer::Create(Fixer, Args).