Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UScriptStruct
Template to manage dynamic access to C++ struct construction and destruction
| Name | TCppStructOps |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
Syntax
template<class CPPSTRUCT>
struct TCppStructOps : public UScriptStruct::ICppStructOps
Inheritance Hierarchy
- UScriptStruct::ICppStructOps → UScriptStruct::TCppStructOps
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCppStructOps() |
UObject/Class.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TTraits | TStructOpsTypeTraits< CPPSTRUCT > | UObject/Class.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EPropertyVisitorControlFlow Visit
(
FPropertyVisitorContext& Context, |
UObject/Class.h |
Overridden from ICppStructOps
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TPointerToAddStructReferencedObjects AddStructReferencedObjects() |
UObject/Class.h | ||
virtual 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 | |
virtual void ClearIntrusiveOptionalValue
(
void* Data |
Reset an optional value to its unset state | UObject/Class.h | |
virtual void Construct
(
void* Dest |
Call the C++ constructor | UObject/Class.h | |
virtual void ConstructForTests
(
void* Dest |
Call the C++ constructor without value-init (new T instead of new T()) | UObject/Class.h | |
virtual bool Copy
(
void* Dest, |
Copy this structure | UObject/Class.h | |
virtual void Destruct
(
void* Dest |
Call the C++ destructor | UObject/Class.h | |
| Export this structure | UObject/Class.h | ||
| UObject/Class.h | |||
virtual FCapabilities GetCapabilities() |
Returns struct capabilities | UObject/Class.h | |
| Call PreloadDependencies on this structure | UObject/Class.h | ||
virtual uint32 GetStructTypeHash
(
const void* Src |
Calls GetTypeHash if enabled | UObject/Class.h | |
virtual bool Identical
(
const void* A, |
Compare this structure | UObject/Class.h | |
virtual bool ImportTextItem
(
const TCHAR*& Buffer, |
Import this structure | UObject/Class.h | |
virtual void InitializeIntrusiveUnsetOptionalValue
(
void* Data |
Construct an unset optional value | UObject/Class.h | |
virtual 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 | |
virtual bool IsIntrusiveOptionalValueSet
(
const void* Data |
Return true if the optional value at Data is in an unset state | UObject/Class.h | |
virtual bool NetDeltaSerialize
(
FNetDeltaSerializeInfo& DeltaParms, |
Net serialize delta this structure. Serialize a network delta from a base state | UObject/Class.h | |
virtual bool NetSerialize
(
FArchive& Ar, |
Net serialize this structure | UObject/Class.h | |
virtual void PostScriptConstruct
(
void* Data |
Call PostScriptConstruct on this structure | UObject/Class.h | |
virtual void PostSerialize
(
const FArchive& Ar, |
Call PostSerialize on this structure | UObject/Class.h | |
virtual void * ResolveVisitedPathInfo
(
void* Data, |
UObject/Class.h | ||
| Serialize this structure. | UObject/Class.h | ||
| UObject/Class.h | |||
virtual bool SerializeFromMismatchedTag
(
FPropertyTag const& Tag, |
Serialize this structure, from some other tag | UObject/Class.h | |
virtual bool StructuredSerializeFromMismatchedTag
(
FPropertyTag const& Tag, |
UObject/Class.h |