ICppStructOps

Interface to template to manage dynamic access to C++ struct construction and destruction

Windows
MacOS
Linux

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

Name Description

Public function

ICppStructOps

(
    int32 InSize,
    int32 InAlignment
)

Constructor

Destructors

Name Description

Public function Virtual

~ICppStructOps()

Functions

Name Description

Public function

TPointerToAd...

 

AddStructReferencedObjects()

Public function

void

 

Construct

(
    void* Dest
)

Call the C++ constructor

Public function

bool

 

Copy

(
    void* Dest,
    void const* Src,
    int32 ArrayDim
)

Copy this structure

Public function

void

 

Destruct

(
    void* Dest
)

Call the C++ destructor

Public function

bool

 

ExportTextItem

(
    FString& ValueStr,
    const void* PropertyValue,
    const void* DefaultValue,
    UObject* Parent,
    int32 PortFlags,
    UObject* ExportRootScope
)

Export this structure

Public function

int32

 

GetAlignment()

Return the alignof() of this structure

Public function Const

EPropertyFla...

 

GetComputedPropertyFlags()

Returns property flag values that can be computed at compile time

Public function

int32

 

GetSize()

Return the sizeof() of this structure

Public function

uint32

 

GetStructTypeHash

(
    const void* Src
)

Calls GetTypeHash if enabled

Public function

bool

 

HasAddStructReferencedObjects()

Return true if this struct has custom GC code

Public function

bool

 

HasCopy()

Return true if this struct can copy

Public function

bool

 

HasDestructor()

Return false if this destructor can be skipped

Public function

bool

 

HasExportTextItem()

Return true if this struct can export

Public function

bool

 

HasGetTypeHash()

Return true if this struct has a GetTypeHash

Public function

bool

 

HasIdentical()

Return true if this struct can compare

Public function

bool

 

HasImportTextItem()

Return true if this struct can import

Public function

bool

 

HasNetDeltaSerializer()

Return true if this struct can net delta serialize delta (serialize a network delta from a base state)

Public function

bool

 

HasNetSerializer()

Return true if this struct can net serialize

Public function

bool

 

HasNetSharedSerialization()

Return true if this can share net serialization across connections

Public function

bool

 

HasNoopConstructor()

Return true if this class has a no-op constructor and takes EForceInit to init

Public function

bool

 

HasPostScriptConstruct()

Return true if this class implements a post script construct call

Public function

bool

 

HasPostSerialize()

Return true if this class implements a post serialize call

Public function

bool

 

HasSerializeFromMismatchedTag()

Return true if this class wants to serialize from some other tag (usually for conversion purposes)

Public function

bool

 

HasSerializer()

Return true if this class can serialize

Public function

bool

 

HasStructuredSerializeFromMismatchedTag()

Public function

bool

 

HasStructuredSerializer()

Return true if this class can serialize to a structured archive

Public function

bool

 

HasZeroConstructor()

Return true if memset can be used instead of the constructor

Public function

bool

 

Identical

(
    const void* A,
    const void* B,
    uint32 PortFlags,
    bool& bOutResult
)

Compare this structure

Public function

bool

 

ImportTextItem

(
    const TCHAR*& Buffer,
    void* Data,
    int32 PortFlags,
    UObject* OwnerObject,
    FOutputDevice* ErrorText
)

Import this structure

Public function Const

bool

 

IsAbstract()

Return true if this struct is abstract

Public function

bool

 

IsPlainOldData()

Return true if this struct should be memcopied

Public function

bool

 

NetDeltaSerialize

(
    FNetDeltaSerializeInfo& DeltaParms,
    void* Data
)

Net serialize delta this structure. Serialize a network delta from a base state

Public function

bool

 

NetSerialize

(
    FArchive& Ar,
    UPackageMap* Map,
    bool& bOutSuccess,
    void* Data
)

Net serialize this structure

Public function

void

 

PostScriptConstruct

(
    void* Data
)

Call PostScriptConstruct on this structure

Public function

void

 

PostSerialize

(
    const FArchive& Ar,
    void* Data
)

Call PostSerialize on this structure

Public function

bool

 

Serialize

(
    FArchive& Ar,
    void* Data
)

Serialize this structure

Public function

bool

 

Serialize

(
    FStructuredArchive::FSlot Slot,
    void* Data
)

Public function

bool

 

SerializeFromMismatchedTag

(
    FPropertyTag const& Tag,
    FArchive& Ar,
    void* Data
)

Serialize this structure, from some other tag

Public function

bool

 

StructuredSerializeFromMismatchedTag

(
    FPropertyTag const& Tag,
    FStructuredArchive::FSlot Slot,
    void* Data
)

Typedefs

Name

Description

TPointerToAddStructReferencedObjects

Return a pointer to a function that can add referenced objects

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss