A Demo Project for the UnrealEngineSDK
|
#include <IDlgWriter.h>
Public Member Functions | |
virtual | ~IDlgWriter () |
virtual bool | CanSaveAsReference (const FNYProperty *Property, const UObject *Object) |
virtual bool | ExportToFile (const FString &FileName)=0 |
virtual const FString & | GetAsString () const =0 |
bool | IsLogVerbose () const |
void | SetLogVerbose (bool bValue) |
virtual void | Write (const UStruct *StructDefinition, const void *Object)=0 |
Static Public Member Functions | |
static bool | CanSkipProperty (const FNYProperty *Property) |
static bool | CanWriteIndex (const FNYProperty *Property) |
static bool | CanWriteOneLinePerItem (const FNYProperty *Property) |
Protected Attributes | |
bool | bLogVerbose = false |
Static Protected Attributes | |
static constexpr int64 | SkipFlags = CPF_Deprecated | CPF_Transient |
The writer will ignore properties by default that are marked DEPRECATED or TRANSIENT, see SkipFlags variable.
Limitations:
MetaData specifiers: Unfortunately they only work in editor build The class can be used in exported game too, but the MetaData specifiers are ignored
Definition at line 30 of file IDlgWriter.h.
|
inlinevirtual |
Definition at line 33 of file IDlgWriter.h.
|
inlinevirtual |
Decides if the path to the object should be serialized, or the object itself
Definition at line 83 of file IDlgWriter.h.
|
inlinestatic |
Can we skip this property from exporting?
Definition at line 41 of file IDlgWriter.h.
|
inlinestatic |
Should write the index number for Property?
Definition at line 73 of file IDlgWriter.h.
|
inlinestatic |
Should write one item per line for Property?
Definition at line 63 of file IDlgWriter.h.
|
pure virtual |
Implemented in FDlgConfigWriter, and FDlgJsonWriter.
|
pure virtual |
|
inline |
Definition at line 108 of file IDlgWriter.h.
|
inline |
Definition at line 109 of file IDlgWriter.h.
|
pure virtual |
Has to be called before ExportToFile in order to have something to write
Implemented in FDlgJsonWriter, and FDlgConfigWriter.
|
protected |
Definition at line 116 of file IDlgWriter.h.
|
staticconstexprprotected |
The properties with these flags set will be ignored from writing.
Definition at line 113 of file IDlgWriter.h.