FDataprepCoreUtils

References

Module

DataprepCore

Header

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepCoreUtils.h

Include

#include "DataprepCoreUtils.h"

Syntax

class FDataprepCoreUtils

Functions

Name Description

Public function Static

void

 

BuildAssets

(
    const TArray< TWeakObjectPtr< UObje...,
    const TSharedPtr< IDataprepProgress...
)

Helper function to build assets for use in the Dataprep pipeline

Public function Static

void

 

DeleteTemporaryFolders

(
    const FString& BaseTemporaryPath
)

Delete the specified folder including all assets and sub-folders inside it.

Public function Static

bool

 

ExecuteDataprep

(
    UDataprepAssetInterface* Datap...,
    const TSharedPtr< IDataprepLogger >...,
    const TSharedPtr< IDataprepProgress...
)

Execute a Dataprep asset (import, execute and commit)

Public function Static

void

 

GetActorsFromWorld

(
    const UWorld* World,
    TArray< UObject* >& OutActors
)

Collect on the valid actors in the input World

Public function Static

void

 

GetActorsFromWorld

(
    const UWorld* World,
    TArray< AActor* >& OutActors
)

Collect on the valid actors in the input World

Public function Static

UDataprepAct...

 

GetDataprepActionAssetOf

(
    UObject* Object
)

Return the Dataprep action asset that own the object, if the object is part of a Dataprep action asset

Public function Static

UDataprepAss...

 

GetDataprepAssetOfObject

(
    UObject* Object
)

Return the Dataprep asset that own the object, if the object is part of a Dataprep asset

Public function Static

UClass *

 

GetTypeOfActionStep

(
    const UDataprepParameterizableObjec...
)

Return the type of step that action step might be (Filter or Operation)

Public function Static

bool

 

IsAsset

(
    UObject* Object
)

Checks if the input object is an asset even if transient or in a transient package

Public function Static

bool

 

IsClassValidForStepCreation

(
    const TSubclassOf< UDataprepParamet...,
    UClass*& OutValidRootClass,
    FText& OutMessageIfInvalid
)

Check if class can be used to create a step for a Dataprep action

Public function Static

void

 

MoveToTransientPackage

(
    UObject* Object
)

Move an object to the /Game/Transient package.

Public function Static

void

 

PurgeObjects

(
    TArray< UObject* > Objects
)

Delete the objects and do the manipulation required to safely delete the assets

Public function Static

bool

 

RemoveStep

(
    UDataprepActionAsset* ActionAs...,
    int32 Index,
    int32& ActionIndex,
    bool bDiscardParametrization
)

Helper function to remove a step from an action.

Public function Static

bool

 

RemoveSteps

(
    UDataprepActionAsset* ActionAs...,
    const TArray< int32 >& Indices,
    int32& ActionIndex,
    bool bDiscardParametrization
)

Helper function to remove a step from an action.

Public function Static

void

 

RenameObject

(
    UObject* Object,
    const TCHAR* NewName,
    UObject* NewOuter
)

Rename this object to a unique name, or change its outer.

Classes

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel