UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UScriptStruct::TCppStructOps< CPPSTRUCT > Struct Template Referencefinal

#include <Class.h>

+ Inheritance diagram for UScriptStruct::TCppStructOps< CPPSTRUCT >:

Public Types

typedef TStructOpsTypeTraits< CPPSTRUCTTTraits
 
- Public Types inherited from UScriptStruct::ICppStructOps
using FCapabilities = UE::CoreUObject::Private::FCapabilities
 
using PointerToAddStructReferencedObjectsType = void(*)(void *A, FReferenceCollector &Collector)
 
using instead = PointerToAddStructReferencedObjectsType
 

Public Member Functions

constexpr TCppStructOps ()
 
- Public Member Functions inherited from UScriptStruct::ICppStructOps
constexpr ICppStructOps (int32 InSize, int32 InAlignment)
 
const FCapabilitiesGetCapabilities () const
 
bool HasNoopConstructor () const
 
bool HasZeroConstructor () const
 
void Construct (void *Dest)
 
void ConstructForTests (void *Dest)
 
bool HasDestructor () const
 
void Destruct (void *Dest)
 
UE_FORCEINLINE_HINT int32 GetSize () const
 
UE_FORCEINLINE_HINT int32 GetAlignment () const
 
bool HasSerializer () const
 
bool HasStructuredSerializer () const
 
bool Serialize (FArchive &Ar, void *Data)
 
bool Serialize (FStructuredArchive::FSlot Slot, void *Data)
 
bool Serialize (FArchive &Ar, void *Data, UStruct *DefaultsStruct, const void *Defaults)
 
bool Serialize (FStructuredArchive::FSlot Slot, void *Data, UStruct *DefaultsStruct, const void *Defaults)
 
bool HasPostSerialize () const
 
void PostSerialize (const FArchive &Ar, void *Data)
 
bool HasNetSerializer () const
 
bool HasNetSharedSerialization () const
 
bool NetSerialize (FArchive &Ar, UPackageMap *Map, bool &bOutSuccess, void *Data)
 
bool HasNetDeltaSerializer () const
 
bool NetDeltaSerialize (FNetDeltaSerializeInfo &DeltaParms, void *Data)
 
bool HasPostScriptConstruct () const
 
void PostScriptConstruct (void *Data)
 
bool HasGetPreloadDependencies () const
 
void GetPreloadDependencies (void *Data, TArray< UObject * > &OutDeps)
 
bool IsPlainOldData () const
 
bool IsUECoreType () const
 
bool IsUECoreVariant () const
 
bool HasCopy () const
 
bool Copy (void *Dest, void const *Src, int32 ArrayDim)
 
bool HasIdentical () const
 
bool Identical (const void *A, const void *B, uint32 PortFlags, bool &bOutResult)
 
bool HasExportTextItem () const
 
bool ExportTextItem (FString &ValueStr, const void *PropertyValue, const void *DefaultValue, UObject *Parent, int32 PortFlags, UObject *ExportRootScope)
 
bool HasImportTextItem () const
 
bool ImportTextItem (const TCHAR *&Buffer, void *Data, int32 PortFlags, UObject *OwnerObject, FOutputDevice *ErrorText)
 
bool HasFindInnerPropertyInstance () const
 
bool FindInnerPropertyInstance (FName PropertyName, const void *Data, const FProperty *&OutProp, const void *&OutData) const
 
bool HasAddStructReferencedObjects () const
 
bool HasSerializerObjectReferences (EPropertyObjectReferenceType Type) const
 
PointerToAddStructReferencedObjectsType AddStructReferencedObjects ()
 
bool HasSerializeFromMismatchedTag () const
 
bool HasStructuredSerializeFromMismatchedTag () const
 
bool SerializeFromMismatchedTag (FPropertyTag const &Tag, FArchive &Ar, void *Data)
 
bool StructuredSerializeFromMismatchedTag (FPropertyTag const &Tag, FStructuredArchive::FSlot Slot, void *Data)
 
bool HasGetTypeHash () const
 
uint32 GetStructTypeHash (const void *Src)
 
EPropertyFlags GetComputedPropertyFlags () const
 
bool IsAbstract () const
 
bool HasClearOnFinishDestroy () const
 
bool HasIntrusiveUnsetOptionalState () const
 
void InitializeIntrusiveUnsetOptionalValue (void *Data) const
 
bool IsIntrusiveOptionalValueSet (const void *Data) const
 
void ClearIntrusiveOptionalValue (void *Data) const
 
bool IsIntrusiveOptionalSafeForGC () const
 
bool HasVisitor () const
 
EPropertyVisitorControlFlow Visit (FPropertyVisitorContext &Context, const TFunctionRef< EPropertyVisitorControlFlow(const FPropertyVisitorContext &Context)> InFunc) const
 
voidResolveVisitedPathInfo (void *Data, const FPropertyVisitorInfo &Info) const
 

Additional Inherited Members

- Public Attributes inherited from UScriptStruct::ICppStructOps
const UE::CoreUObject::Private::FStructOpsFakeVTableFakeVPtr
 

Detailed Description

template<class CPPSTRUCT>
struct UScriptStruct::TCppStructOps< CPPSTRUCT >

Template to manage dynamic access to C++ struct construction and destruction

Member Typedef Documentation

◆ TTraits

Constructor & Destructor Documentation

◆ TCppStructOps()

template<class CPPSTRUCT >
constexpr UScriptStruct::TCppStructOps< CPPSTRUCT >::TCppStructOps ( )
inlineconstexpr

The documentation for this struct was generated from the following file: