Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include |
#include "UObject/Class.h" |
class UScriptStruct : public UStruct
Reflection data for a standalone structure declared in a header or as a user defined struct
Name | Description | ||
---|---|---|---|
|
bool |
bPrepareCppStructOpsCompleted |
True if we have performed PrepareCppStructOps |
|
ICppStructOps &... |
CppStructOps |
Holds the Cpp ctors and dtors, sizeof, etc. Is not owned by this and is not released. |
|
EStructFlags |
StructFlags |
Name | Description | |
---|---|---|
|
UScriptStruct ( |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. |
|
UScriptStruct ( |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. |
|
UScriptStruct ( |
|
|
UScriptStruct ( |
Name | Description | ||
---|---|---|---|
|
void |
__DefaultConstructor ( |
|
|
UObject *... |
__VTableCtorCaller ( |
|
|
void |
ClearCppStructOps() |
Resets currently assigned CppStructOps, called when loading a struct |
|
void |
ClearScriptStruct ( |
Reinitialize a struct in memory. |
|
bool |
CompareScriptStruct ( |
Compare two script structs |
|
void |
CopyScriptStruct ( |
Copy a struct over an existing struct |
|
TEnableIf<&#... |
DeferCppStructOps ( |
|
|
TEnableIf< (... |
DeferCppStructOps ( |
|
|
void |
DeferCppStructOps ( |
Stash a CppStructOps for future use |
|
void |
ExportText |
Export script struct to a string that can later be imported |
|
ICppStructOp... |
GetCppStructOps() |
Returns the CppStructOps that can be used to do custom operations |
|
GetCustomGuid() |
Returns the custom Guid assigned to this struct for User Defined Structs, or an invalid Guid |
|
|
FTopLevelAss... |
GetFlattenedStructPathName() |
Similar to GetStructPathName() but works with nested structs by using just the package name and struct name so a struct path name /Package/Name.Object:Struct will be flattened to /Package/Name.Struct. |
|
GetStructCPPName ( |
Returns the (native, c++) name of the struct |
|
|
uint32 |
GetStructTypeHash ( |
Calls GetTypeHash for native structs, otherwise computes a hash of all struct members |
|
bool |
HasDefaults() |
If it is native, it is assumed to have defaults because it has a constructor |
|
const TCHAR ... |
ImportText ( |
Sets value of script struct based on imported string |
|
const TCHAR ... |
ImportText ( |
Sets value of script struct based on imported string |
|
void |
InitializeDefaultValue ( |
Initializes this structure to its default values |
|
void |
PrepareCppStructOps() |
Look for the CppStructOps and hook it up |
|
void |
RecursivelyPreload() |
Used by User Defined Structs to preload this struct and any child objects |
|
void |
SerializeItem ( |
Serializes a specific instance of a struct |
|
void |
SerializeItem ( |
Serializes a specific instance of a struct |
|
void |
SetStructTrashed ( |
Sets or unsets the trashed flag on this struct |
|
bool |
ShouldSerializeAtomically ( |
Returns whether this struct should be serialized atomically. |
|
UClass * |
StaticClass() |
Returns a UClass object representing this class at runtime |
|
EClassCastFl... |
StaticClassCastFlags() |
Returns the static cast flags for this class |
|
const TCHAR ... |
StaticPackage() |
Returns the package this class belongs in |
|
void |
StaticRegisterNativesUScriptStruct() |
|
|
bool |
UseBinarySerialization ( |
Returns true if this struct should be binary serialized for the given archive |
|
bool |
UseNativeSerialization() |
Returns true if this struct has a native serialize function |
Name | Description | ||
---|---|---|---|
|
void |
DestroyStruct ( |
Destroy a struct in memory. |
|
void |
InitializeStruct ( |
Initialize a struct over uninitialized memory. |
|
bool |
IsStructTrashed() |
If true, this class has been cleaned and sanitized (trashed) and should not be used |
|
void |
Link ( |
Creates the field/property links and gets structure ready for use at runtime |
Name | Description | ||
---|---|---|---|
|
void |
operator delete ( |
Eliminate V1062 warning from PVS-Studio while keeping MSVC and Clang happy. |
|
void * |
operator new |
For internal use only; use StaticConstructObject() to create new objects. |
|
void * |
operator new ( |
For internal use only; use StaticConstructObject() to create new objects. |
Name |
Description |
|
---|---|---|
|
ICppStructOps |
Interface to template to manage dynamic access to C++ struct construction and destruction |
|
TAutoCppStructOps |
Template for noexport classes to autoregister before main starts |
|
TCppStructOps |
Template to manage dynamic access to C++ struct construction and destruction |
Name |
Description |
---|---|
Super |
Typedef for the base class (UStruct) |
ThisClass |
Typedef for UScriptStruct. |
Name |
Description |
---|---|
StaticClassFlags |
Bitwise union of EClassFlags pertaining to this class. |