Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UScriptStruct
Interface to template to manage dynamic access to C++ struct construction and destruction
| Name | ICppStructOps |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
Syntax
struct ICppStructOps
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr ICppStructOps
(
int32 InSize, |
Constructor | UObject/Class.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FCapabilities | UE::CoreUObject::Private::FCapabilities | UObject/Class.h | |
| PointerToAddStructReferencedObjectsType | void(*)(void *A, FReferenceCollector &Collector) | Return a pointer to a function that can add referenced objects | UObject/Class.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FakeVPtr | const UE::CoreUObject::Private::FStructOpsFakeVTable * | UObject/Class.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Alignment | const int32 | Alignof() of the structure | UObject/Class.h | |
| Size | const int32 | Sizeof() of the structure | UObject/Class.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PointerToAddStructReferencedObjectsType AddStructReferencedObjects() |
UObject/Class.h | ||
bool CanEditChange
(
const FEditPropertyChain& PropertyChain, |
Returns true if this struct would allow the given property to be edited in the details panel. | UObject/Class.h | |
void ClearIntrusiveOptionalValue
(
void* Data |
Reset an optional value to its unset state | UObject/Class.h | |
void Construct
(
void* Dest |
Call the C++ constructor | UObject/Class.h | |
void ConstructForTests
(
void* Dest |
Call the C++ constructor without value-init (new T instead of new T()) | UObject/Class.h | |
bool Copy
(
void* Dest, |
Copy this structure | UObject/Class.h | |
void Destruct
(
void* Dest |
Call the C++ destructor | UObject/Class.h | |
| Export this structure | UObject/Class.h | ||
| UObject/Class.h | |||
int32 GetAlignment() |
Return the alignof() of this structure | UObject/Class.h | |
const FCapabilities & GetCapabilities() |
Returns struct capabilities | UObject/Class.h | |
EPropertyFlags GetComputedPropertyFlags() |
Returns property flag values that can be computed at compile time | UObject/Class.h | |
| Call PreloadDependencies on this structure | UObject/Class.h | ||
int32 GetSize() |
Return the sizeof() of this structure | UObject/Class.h | |
uint32 GetStructTypeHash
(
const void* Src |
Calls GetTypeHash if enabled | UObject/Class.h | |
bool HasAddStructReferencedObjects() |
Return true if this struct has custom GC code | UObject/Class.h | |
bool HasCanEditChange() |
Returns true if this struct wants to indicate whether a property can be edited in the details panel | UObject/Class.h | |
bool HasClearOnFinishDestroy() |
Return true if this struct has a ClearOnFinishDestroy | UObject/Class.h | |
bool HasCopy() |
Return true if this struct can copy | UObject/Class.h | |
bool HasDestructor() |
Return false if this destructor can be skipped | UObject/Class.h | |
bool HasExportTextItem() |
Return true if this struct can export | UObject/Class.h | |
bool HasFindInnerPropertyInstance() |
UObject/Class.h | ||
bool HasGetPreloadDependencies() |
Return true if this struct has GetPreloadDependencies | UObject/Class.h | |
bool HasGetTypeHash() |
Return true if this struct has a GetTypeHash | UObject/Class.h | |
bool HasIdentical() |
Return true if this struct can compare | UObject/Class.h | |
bool HasImportTextItem() |
Return true if this struct can import | UObject/Class.h | |
bool HasIntrusiveUnsetOptionalState() |
Return true if this type can be constructed with FIntrusiveUnsetOptionalState for TOptional | UObject/Class.h | |
bool HasNetDeltaSerializer() |
Return true if this struct can net delta serialize delta (serialize a network delta from a base state) | UObject/Class.h | |
bool HasNetSerializer() |
Return true if this struct can net serialize | UObject/Class.h | |
bool HasNetSharedSerialization() |
Return true if this can share net serialization across connections | UObject/Class.h | |
bool HasNoopConstructor() |
Return true if this class has a no-op constructor and takes EForceInit to init | UObject/Class.h | |
bool HasPostScriptConstruct() |
Return true if this class implements a post script construct call | UObject/Class.h | |
bool HasPostSerialize() |
Return true if this class implements a post serialize call | UObject/Class.h | |
bool HasSerializeFromMismatchedTag() |
Return true if this class wants to serialize from some other tag (usually for conversion purposes) | UObject/Class.h | |
bool HasSerializer() |
Return true if this class can serialize | UObject/Class.h | |
bool HasSerializerObjectReferences
(
EPropertyObjectReferenceType Type |
Returns true if the native serialize functions may serialize object references of the given type | UObject/Class.h | |
bool HasStructuredSerializeFromMismatchedTag() |
UObject/Class.h | ||
bool HasStructuredSerializer() |
Return true if this class can serialize to a structured archive | UObject/Class.h | |
bool HasVisitor() |
Returns true if this struct wants to indicate whether it has a custom impl for visiting properties | UObject/Class.h | |
bool HasZeroConstructor() |
Return true if memset can be used instead of the constructor | UObject/Class.h | |
bool Identical
(
const void* A, |
Compare this structure | UObject/Class.h | |
bool ImportTextItem
(
const TCHAR*& Buffer, |
Import this structure | UObject/Class.h | |
void InitializeIntrusiveUnsetOptionalValue
(
void* Data |
Construct an unset optional value | UObject/Class.h | |
bool IsAbstract() |
Return true if this struct is abstract | UObject/Class.h | |
bool IsIntrusiveOptionalSafeForGC() |
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. | UObject/Class.h | |
bool IsIntrusiveOptionalValueSet
(
const void* Data |
Return true if the optional value at Data is in an unset state | UObject/Class.h | |
bool IsPlainOldData() |
Return true if this struct should be memcopied | UObject/Class.h | |
bool IsUECoreType() |
Return true if this struct is one of the UE Core types (and is include in CoreMinimal.h) | UObject/Class.h | |
bool IsUECoreVariant() |
Return true if this struct is one of the UE Core types (and is include in CoreMinimal.h) | UObject/Class.h | |
bool NetDeltaSerialize
(
FNetDeltaSerializeInfo& DeltaParms, |
Net serialize delta this structure. Serialize a network delta from a base state | UObject/Class.h | |
bool NetSerialize
(
FArchive& Ar, |
Net serialize this structure | UObject/Class.h | |
void PostScriptConstruct
(
void* Data |
Call PostScriptConstruct on this structure | UObject/Class.h | |
void PostSerialize
(
const FArchive& Ar, |
Call PostSerialize on this structure | UObject/Class.h | |
void * ResolveVisitedPathInfo
(
void* Data, |
UObject/Class.h | ||
| UObject/Class.h | |||
bool Serialize
(
FStructuredArchive::FSlot Slot, |
UObject/Class.h | ||
| Serialize this structure. | UObject/Class.h | ||
| UObject/Class.h | |||
bool SerializeFromMismatchedTag
(
FPropertyTag const& Tag, |
Serialize this structure, from some other tag | UObject/Class.h | |
bool StructuredSerializeFromMismatchedTag
(
FPropertyTag const& Tag, |
UObject/Class.h | ||
EPropertyVisitorControlFlow Visit
(
FPropertyVisitorContext& Context, |
Structs property visitor signature | UObject/Class.h |