Reflection data for a standalone structure declared in a header or as a user defined struct
更多...
|
|
void | ClearCppStructOps () |
| | Resets currently assigned CppStructOps, called when loading a struct
|
| |
| COREUOBJECT_API void | ClearScriptStruct (void *Dest, int32 ArrayDim=1) const |
| | Reinitialize a struct in memory. 更多...
|
| |
| COREUOBJECT_API bool | CompareScriptStruct (const void *A, const void *B, uint32 PortFlags) const |
| | Compare two script structs 更多...
|
| |
| COREUOBJECT_API void | CopyScriptStruct (void *Dest, void const *Src, int32 ArrayDim=1) const |
| | Copy a struct over an existing struct 更多...
|
| |
| virtual COREUOBJECT_API void | DestroyStruct (void *Dest, int32 ArrayDim=1) const override |
| | Destroy a struct in memory. 更多...
|
| |
| COREUOBJECT_API void | ExportText (FString &ValueStr, const void *Value, const void *Defaults, UObject *OwnerObject, int32 PortFlags, UObject *ExportRootScope, bool bAllowNativeOverride=true) const |
| | Export script struct to a string that can later be imported 更多...
|
| |
|
FORCEINLINE ICppStructOps * | GetCppStructOps () const |
| | Returns the CppStructOps that can be used to do custom operations
|
| |
|
virtual COREUOBJECT_API FGuid | GetCustomGuid () const |
| | Returns the custom Guid assigned to this struct for User Defined Structs, or an invalid Guid
|
| |
|
virtual COREUOBJECT_API FString | GetStructCPPName () const |
| | Returns the (native, c++) name of the struct
|
| |
| virtual COREUOBJECT_API uint32 | GetStructTypeHash (const void *Src) const |
| | Calls GetTypeHash for native structs, otherwise computes a hash of all struct members 更多...
|
| |
| FORCEINLINE bool | HasDefaults () const |
| | If it is native, it is assumed to have defaults because it has a constructor 更多...
|
| |
| COREUOBJECT_API const TCHAR * | ImportText (const TCHAR *Buffer, void *Value, UObject *OwnerObject, int32 PortFlags, FOutputDevice *ErrorText, const FString &StructName, bool bAllowNativeOverride=true) |
| | Sets value of script struct based on imported string 更多...
|
| |
| COREUOBJECT_API const TCHAR * | ImportText (const TCHAR *Buffer, void *Value, UObject *OwnerObject, int32 PortFlags, FOutputDevice *ErrorText, const TFunctionRef< FString()> &StructNameGetter, bool bAllowNativeOverride=true) |
| | Sets value of script struct based on imported string 更多...
|
| |
| virtual COREUOBJECT_API void | InitializeDefaultValue (uint8 *InStructData) const |
| | Initializes this structure to its default values 更多...
|
| |
| virtual COREUOBJECT_API void | InitializeStruct (void *Dest, int32 ArrayDim=1) const override |
| | Initialize a struct over uninitialized memory. 更多...
|
| |
|
virtual COREUOBJECT_API bool | IsStructTrashed () const override |
| | If true, this class has been cleaned and sanitized (trashed) and should not be used
|
| |
|
virtual COREUOBJECT_API void | Link (FArchive &Ar, bool bRelinkExistingProperties) override |
| | Creates the field/property links and gets structure ready for use at runtime
|
| |
|
virtual COREUOBJECT_API void | PrepareCppStructOps () |
| | Look for the CppStructOps and hook it up
|
| |
|
virtual COREUOBJECT_API void | RecursivelyPreload () |
| | Used by User Defined Structs to preload this struct and any child objects
|
| |
| virtual COREUOBJECT_API void | Serialize (FArchive &Ar) override |
| | Handles reading, writing, and reference collecting using FArchive. 更多...
|
| |
| COREUOBJECT_API void | SerializeItem (FArchive &Ar, void *Value, void const *Defaults) |
| | Serializes a specific instance of a struct 更多...
|
| |
|
void COREUOBJECT_API | SetStructTrashed (bool bIsTrash) |
| | Sets or unsets the trashed flag on this struct
|
| |
| bool | ShouldSerializeAtomically (FArchive &Ar) const |
| | Returns whether this struct should be serialized atomically. 更多...
|
| |
|
COREUOBJECT_API bool | UseBinarySerialization (const FArchive &Ar) const |
| | Returns true if this struct should be binary serialized for the given archive
|
| |
|
bool | UseNativeSerialization () const |
| | Returns true if this struct has a native serialize function
|
| |
|
void | CollectBytecodeAndPropertyReferencedObjects () |
| | Collects UObjects referenced by bytecode and properties for faster GC access
|
| |
| void | CollectBytecodeReferencedObjects (TArray< UObject * > &OutReferencedObjects) |
| | Collects UObjects referenced by bytecode 更多...
|
| |
| void | CollectPropertyReferencedObjects (TArray< UObject * > &OutReferencedObjects) |
| | Collects UObjects referenced by properties 更多...
|
| |
|
virtual FProperty * | CustomFindProperty (const FName InName) const |
| | Look up a property by an alternate name if it was not found in the first search, this is overridden for user structs
|
| |
|
FORCEINLINE void | DeleteUnresolvedScriptProperties () |
| | Deletes the UnresolvedScriptProperties array
|
| |
|
void | DestroyChildPropertiesAndResetPropertyLinks () |
| | Destroys all properties owned by this struct
|
| |
| virtual void | DestroyStruct (void *Dest, int32 ArrayDim=1) const |
| | Destroy a struct in memory. 更多...
|
| |
|
FProperty * | FindPropertyByName (FName InName) const |
| | Searches property link chain for a property with the specified name
|
| |
| virtual void | FinishDestroy () override |
| | Called to finish destroying the object. 更多...
|
| |
|
virtual FString | GetAuthoredNameForField (const FField *Field) const |
| | Returns a human readable string for a given field, overridden for user defined structs
|
| |
|
virtual FString | GetAuthoredNameForField (const UField *Field) const |
| | Returns a human readable string for a given field, overridden for user defined structs
|
| |
|
virtual UStruct * | GetInheritanceSuper () const |
| | Returns the structure used for inheritance, may be changed by child types
|
| |
|
FORCEINLINE int32 | GetMinAlignment () const |
| | Alignment of structure in memory, structure will be at least this large
|
| |
| virtual const TCHAR * | GetPrefixCPP () const |
| | Returns the struct/ class prefix used for the C++ declaration of this struct/ class. 更多...
|
| |
| virtual void | GetPreloadDependencies (TArray< UObject * > &OutDeps) override |
| | Called during cooking. 更多...
|
| |
|
FORCEINLINE int32 | GetPropertiesSize () const |
| | Total size of all UProperties, the allocated structure may be larger due to alignment
|
| |
|
FORCEINLINE int32 | GetStructureSize () const |
| | Returns actual allocated size of structure in memory
|
| |
|
UStruct * | GetSuperStruct () const |
| | Struct this inherits from, may be null
|
| |
| virtual void | InitializeStruct (void *Dest, int32 ArrayDim=1) const |
| | Initialize a struct over uninitialized memory. 更多...
|
| |
| void | InstanceSubobjectTemplates (void *Data, void const *DefaultData, UStruct *DefaultStruct, UObject *Owner, FObjectInstancingGraph *InstanceGraph) |
| | Creates new copies of components 更多...
|
| |
| template<class T > |
| bool | IsChildOf () const |
| | Returns true if this struct either is class T, or is a child of class T. 更多...
|
| |
| bool | IsChildOf (const UStruct *SomeBase) const |
| | Returns true if this struct either is SomeBase, or is a child of SomeBase. 更多...
|
| |
|
virtual bool | IsStructTrashed () const |
| | If true, this class has been cleaned and sanitized (trashed) and should not be used
|
| |
|
virtual void | Link (FArchive &Ar, bool bRelinkExistingProperties) |
| | Creates the field/property links and gets structure ready for use at runtime
|
| |
| virtual void | PostLoad () override |
| | Do any object-specific cleanup required immediately after loading an object. 更多...
|
| |
|
virtual void | RegisterDependencies () override |
| | Force any base classes to be registered first
|
| |
| virtual void | Serialize (FArchive &Ar) override |
| | Handles reading, writing, and reference collecting using FArchive. 更多...
|
| |
|
virtual void | SerializeBin (FArchive &Ar, void *Data) const final |
| | Serializes struct properties, does not handle defaults
|
| |
|
virtual void | SerializeBin (FStructuredArchive::FSlot Slot, void *Data) const |
| | Serializes struct properties, does not handle defaults
|
| |
| void | SerializeBinEx (FStructuredArchive::FSlot Slot, void *Data, void const *DefaultData, UStruct *DefaultStruct) const |
| | Serializes the class properties that reside in Data if they differ from the corresponding values in DefaultData 更多...
|
| |
| virtual EExprToken | SerializeExpr (int32 &iCode, FArchive &Ar) |
| | Serialize an expression to an archive. 更多...
|
| |
|
virtual void | SerializeTaggedProperties (FArchive &Ar, uint8 *Data, UStruct *DefaultsStruct, uint8 *Defaults, const UObject *BreakRecursionIfFullyLoad=nullptr) const final |
| | Serializes list of properties, using property tags to handle mismatches
|
| |
|
virtual void | SerializeTaggedProperties (FStructuredArchive::FSlot Slot, uint8 *Data, UStruct *DefaultsStruct, uint8 *Defaults, const UObject *BreakRecursionIfFullyLoad=nullptr) const |
| | Serializes list of properties, using property tags to handle mismatches
|
| |
|
void | SetPropertiesSize (int32 NewSize) |
| | Modifies the property size after it's been recomputed
|
| |
| virtual void | SetSuperStruct (UStruct *NewSuperStruct) |
| | Sets the super struct pointer and updates hash information as necessary. 更多...
|
| |
|
void | SetUnresolvedScriptProperties (FUnresolvedScriptPropertiesArray &InUnresolvedProperties) |
| | Sets the UnresolvedScriptProperties array
|
| |
|
void | StaticLink (bool bRelinkExistingProperties=false) |
| | Static wrapper for Link, using a dummy archive
|
| |
| virtual void | TagSubobjects (EObjectFlags NewFlags) override |
| | Tags objects that are part of the same asset with the specified object flag, used for GC checking 更多...
|
| |