Skip to content

Struct FTryllWorkflowValidator

ClassList > FTryllWorkflowValidator

Public Static Functions

Type Name
TArray< FTryllWorkflowIssue > Validate (const FTryllGraphDescription & Graph)
bool ValidateAndLog (const FTryllGraphDescription & Graph, const FString & ContextName)
bool ValidateStoragePathShape (const FString & Where, const FString & FieldName, const FString & Value, TArray< FTryllWorkflowIssue > & OutIssues)

Public Static Functions Documentation

function Validate

static TArray< FTryllWorkflowIssue > FTryllWorkflowValidator::Validate (
    const FTryllGraphDescription & Graph
) 

Validate Graph and return a (possibly empty) list of issues. Thread-safety: reads Graph fields only; safe to call from any thread.


function ValidateAndLog

static bool FTryllWorkflowValidator::ValidateAndLog (
    const FTryllGraphDescription & Graph,
    const FString & ContextName
) 

Convenience wrapper: validate and log results via UE_LOG (LogTryllClient). Returns true if no errors were found (warnings are tolerated).


function ValidateStoragePathShape

static bool FTryllWorkflowValidator::ValidateStoragePathShape (
    const FString & Where,
    const FString & FieldName,
    const FString & Value,
    TArray< FTryllWorkflowIssue > & OutIssues
) 

Path-shape checks shared by node storage fields and voice-profile clips: a path that should be written relative to storage_root is a warning; an absolute path or ".." traversal is an error. Where prefixes each message (e.g. "Node 'gen'"). Returns false when an error was added. Empty is valid.



The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/TryllWorkflowValidator.h