Navigation
API > API/Plugins > API/Plugins/DataprepCore
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataprepParameterizableObject
- UDataprepOperation
- UDataprepEditingOperation
References
| Module | DataprepCore |
| Header | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepOperation.h |
| Include | #include "DataprepOperation.h" |
Syntax
UCLASS&40;Abstract, Blueprintable&41;
class UDataprepOperation : public UDataprepParameterizableObject
Remarks
Base class for all Dataprep operations Dataprep operations act on a set of input obejcts and can modify their properties: f.e. change materials, add metadata etc.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AssetsModified
(
TArray< UObject* > Assets |
Indicates an array of assets has changed during the operation. | |
| void | Indicates the beginning of a new work to report on | ||
| TSharedPtr< FDataprepWorkReporter > | CreateTask
(
const FText& InDescription, |
Create a task to report progress during the execution of an operation | |
| void | EndWork () |
Indicates the end of the work | |
| void | User friendly interface start here ======================================================================. | ||
| void | ExecuteOperation
(
TSharedRef< FDataprepOperationContext >& InOperationContext |
Prepare the operation for the execution and execute it. | |
| FText | Allows to add more keywords for when a user is searching for the fetcher in the ui. | ||
| FText | |||
| FText | GetCategory () |
Allows to change the tooltip of the fetcher for the ui if needed. | |
| FText | |||
| FText | Allows to change the name of the fetcher for the ui if needed. | ||
| FText | |||
| FText | GetTooltip () |
Allows to change the tooltip of the fetcher for the ui if needed. | |
| FText | |||
| bool | IsCancelled () |
Returns true if the operation was canceled during execution | |
| void | Add Error to the log | ||
| void | Add an info to the log | ||
| void | LogWarning
(
const FText& InLogText |
Add a warning to the log | |
| void | OnExecution
(
const FDataprepContext& InContext |
This function is called when the operation is executed. | |
| void | OnExecution_Implementation
(
const FDataprepContext& InContext |
This function is the same has OnExcution, but it's the extension point for an operation defined in c++. | |
| void | ReportProgress
(
float IncrementOfWork, |
Report foreseen progress on the current work |