Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/UScriptStruct
Inheritance Hierarchy
- UScriptStruct::ICppStructOps
- UScriptStruct::TCppStructOps
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include | #include "UObject/Class.h" |
Syntax
struct ICppStructOps
Remarks
Interface to template to manage dynamic access to C++ struct construction and destruction
Constructors
| Type | Name | Description | |
|---|---|---|---|
ICppStructOps
(
int32 InSize, |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TPointerToAddStructReferencedObjects | |||
| bool | CanEditChange
(
const FEditPropertyChain& PropertyChain, |
Returns true if this struct would allow the given property to be edited in the details panel. | |
| void | ClearIntrusiveOptionalValue
(
void* Data |
Reset an optional value to its unset state | |
| void | Construct
(
void* Dest |
Call the C++ constructor | |
| void | ConstructForTests
(
void* Dest |
Call the C++ constructor without value-init (new T instead of new T()) | |
| bool | Copy this structure | ||
| void | Destruct
(
void* Dest |
Call the C++ destructor | |
| bool | ExportTextItem
(
FString& ValueStr, |
Export this structure | |
| bool | FindInnerPropertyInstance
(
FName PropertyName, |
||
| int32 | GetAlignment () |
Return the alignof() of this structure | |
| FCapabilities | Returns struct capabilities | ||
| EPropertyFlags | Returns property flag values that can be computed at compile time | ||
| void | GetPreloadDependencies
(
void* Data, |
Call PreloadDependencies on this structure | |
| int32 | GetSize () |
Return the sizeof() of this structure | |
| uint32 | GetStructTypeHash
(
const void* Src |
Calls GetTypeHash if enabled | |
| bool | Return true if this struct has custom GC code | ||
| bool | Returns true if this struct wants to indicate whether a property can be edited in the details panel | ||
| bool | Return true if this struct has a ClearOnFinishDestroy | ||
| bool | HasCopy () |
Return true if this struct can copy | |
| bool | Return false if this destructor can be skipped | ||
| bool | Return true if this struct can export | ||
| bool | |||
| bool | Return true if this struct has a GetTypeHash | ||
| bool | HasIdentical () |
Return true if this struct can compare | |
| bool | Return true if this struct can import | ||
| bool | Return true if this type can be constructed with FIntrusiveUnsetOptionalState for TOptional | ||
| bool | Return true if this struct can net delta serialize delta (serialize a network delta from a base state) | ||
| bool | Return true if this struct can net serialize | ||
| bool | Return true if this can share net serialization across connections | ||
| bool | Return true if this class has a no-op constructor and takes EForceInit to init | ||
| bool | Return true if this class implements a post script construct call | ||
| bool | Return true if this class implements a post serialize call | ||
| bool | Return true if this class wants to serialize from some other tag (usually for conversion purposes) | ||
| bool | Return true if this class can serialize | ||
| bool | HasSerializerObjectReferences
(
EPropertyObjectReferenceType Type |
Returns true if the native serialize functions may serialize object references of the given type | |
| bool | |||
| bool | Return true if this class can serialize to a structured archive | ||
| bool | HasVisitor () |
Returns true if this struct wants to indicate whether it has a custom impl for visiting properties | |
| bool | Return true if memset can be used instead of the constructor | ||
| bool | Compare this structure | ||
| bool | ImportTextItem
(
const TCHAR*& Buffer, |
Import this structure | |
| void | InitializeIntrusiveUnsetOptionalValue
(
void* Data |
Construct an unset optional value | |
| bool | IsAbstract () |
Return true if this struct is abstract | |
| bool | Used for assertions only: confirms that this type has certified that its object reference fields are safe for the GC to visit while the struct is in its intrusive unset optional state. | ||
| bool | IsIntrusiveOptionalValueSet
(
const void* Data |
Return true if the optional value at Data is in an unset state | |
| bool | Return true if this struct should be memcopied | ||
| bool | IsUECoreType () |
Return true if this struct is one of the UE Core types (and is include in CoreMinimal.h) | |
| bool | Return true if this struct is one of the UE Core types (and is include in CoreMinimal.h) | ||
| bool | NetDeltaSerialize
(
FNetDeltaSerializeInfo& DeltaParms, |
Net serialize delta this structure. Serialize a network delta from a base state | |
| bool | NetSerialize
(
FArchive& Ar, |
Net serialize this structure | |
| void | PostScriptConstruct
(
void* Data |
Call PostScriptConstruct on this structure | |
| void | PostSerialize
(
const FArchive& Ar, |
Call PostSerialize on this structure | |
| void * | ResolveVisitedPathInfo
(
void* Data, |
||
| bool | Serialize this structure | ||
| bool | Serialize
(
FStructuredArchive::FSlot Slot, |
||
| bool | SerializeFromMismatchedTag
(
FPropertyTag const& Tag, |
Serialize this structure, from some other tag | |
| bool | StructuredSerializeFromMismatchedTag
(
FPropertyTag const& Tag, |
||
| EPropertyVisitorControlFlow | Visit
(
FPropertyVisitorPath& Path, |
Structs property visitor signature |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCapabilities | Filled by implementation classes to report their capabilities |
Typedefs
| Name | Description |
|---|---|
| TPointerToAddStructReferencedObjects | Return a pointer to a function that can add referenced objects |