engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
UScriptStruct::TCppStructOps< CPPSTRUCT > 模板结构体 参考

Template to manage dynamic access to C++ struct construction and destruction 更多...

#include <Class.h>

+ 类 UScriptStruct::TCppStructOps< CPPSTRUCT > 继承关系图:

Public 成员函数

virtual void Construct (void *Dest) override
 Call the C++ constructor
 
virtual bool Copy (void *Dest, void const *Src, int32 ArrayDim) override
 Copy this structure 更多...
 
virtual void Destruct (void *Dest) override
 Call the C++ destructor
 
virtual bool ExportTextItem (FString &ValueStr, const void *PropertyValue, const void *DefaultValue, class UObject *Parent, int32 PortFlags, class UObject *ExportRootScope) override
 export this structure 更多...
 
virtual EPropertyFlags GetComputedPropertyFlags () const override
 Returns property flag values that can be computed at compile time
 
uint32 GetStructTypeHash (const void *Src) override
 Calls GetTypeHash if enabled
 
virtual bool HasAddStructReferencedObjects () override
 return true if this struct has custom GC code
 
virtual bool HasCopy () override
 return true if this struct can copy
 
virtual bool HasDestructor () override
 return false if this destructor can be skipped
 
virtual bool HasExportTextItem () override
 return true if this struct can export
 
virtual bool HasGetTypeHash () override
 return true if this struct has a GetTypeHash
 
virtual bool HasIdentical () override
 return true if this struct can compare
 
virtual bool HasImportTextItem () override
 return true if this struct can import
 
virtual bool HasNetDeltaSerializer () override
 return true if this struct can net delta serialize delta (serialize a network delta from a base state)
 
virtual bool HasNetSerializer () override
 return true if this struct can net serialize
 
virtual bool HasNetSharedSerialization () override
 return true if this can share net serialization across connections
 
virtual bool HasNoopConstructor () override
 return true if this class has a no-op constructor and takes EForceInit to init
 
virtual bool HasPostScriptConstruct () override
 return true if this class implements a post script construct call
 
virtual bool HasPostSerialize () override
 return true if this class implements a post serialize call
 
virtual bool HasSerializeFromMismatchedTag () override
 return true if this class wants to serialize from some other tag (usually for conversion purposes)
 
virtual bool HasSerializer () override
 return true if this class can serialize
 
virtual bool HasStructuredSerializer () override
 return true if this class can serialize to a structured archive
 
virtual bool HasZeroConstructor () override
 return true if memset can be used instead of the constructor
 
virtual bool Identical (const void *A, const void *B, uint32 PortFlags, bool &bOutResult) override
 Compare this structure 更多...
 
virtual bool ImportTextItem (const TCHAR *&Buffer, void *Data, int32 PortFlags, class UObject *OwnerObject, FOutputDevice *ErrorText) override
 import this structure 更多...
 
bool IsAbstract () const override
 return true if this struct is abstract
 
virtual bool IsPlainOldData () override
 return true if this struct should be memcopied
 
virtual bool NetDeltaSerialize (FNetDeltaSerializeInfo &DeltaParms, void *Data) override
 Net serialize delta this structure. 更多...
 
virtual bool NetSerialize (FArchive &Ar, class UPackageMap *Map, bool &bOutSuccess, void *Data) override
 Net serialize this structure 更多...
 
virtual void PostScriptConstruct (void *Data) override
 Call PostScriptConstruct on this structure
 
virtual void PostSerialize (const FArchive &Ar, void *Data) override
 Call PostSerialize on this structure
 
virtual bool Serialize (FArchive &Ar, void *Data) override
 Serialize this structure 更多...
 
virtual bool SerializeFromMismatchedTag (struct FPropertyTag const &Tag, FArchive &Ar, void *Data) override
 Serialize this structure, from some other tag 更多...
 
- Public 成员函数 继承自 UScriptStruct::ICppStructOps
virtual void Construct (void *Dest)=0
 Call the C++ constructor
 
virtual bool Copy (void *Dest, void const *Src, int32 ArrayDim)=0
 Copy this structure 更多...
 
virtual void Destruct (void *Dest)=0
 Call the C++ destructor
 
virtual bool ExportTextItem (FString &ValueStr, const void *PropertyValue, const void *DefaultValue, class UObject *Parent, int32 PortFlags, class UObject *ExportRootScope)=0
 export this structure 更多...
 
FORCEINLINE int32 GetAlignment ()
 return the alignof() of this structure
 
virtual EPropertyFlags GetComputedPropertyFlags () const =0
 Returns property flag values that can be computed at compile time
 
FORCEINLINE int32 GetSize ()
 return the sizeof() of this structure
 
virtual uint32 GetStructTypeHash (const void *Src)=0
 Calls GetTypeHash if enabled
 
virtual bool HasAddStructReferencedObjects ()=0
 return true if this struct has custom GC code
 
virtual bool HasCopy ()=0
 return true if this struct can copy
 
virtual bool HasDestructor ()=0
 return false if this destructor can be skipped
 
virtual bool HasExportTextItem ()=0
 return true if this struct can export
 
virtual bool HasGetTypeHash ()=0
 return true if this struct has a GetTypeHash
 
virtual bool HasIdentical ()=0
 return true if this struct can compare
 
virtual bool HasImportTextItem ()=0
 return true if this struct can import
 
virtual bool HasNetDeltaSerializer ()=0
 return true if this struct can net delta serialize delta (serialize a network delta from a base state)
 
virtual bool HasNetSerializer ()=0
 return true if this struct can net serialize
 
virtual bool HasNetSharedSerialization ()=0
 return true if this can share net serialization across connections
 
virtual bool HasNoopConstructor ()=0
 return true if this class has a no-op constructor and takes EForceInit to init
 
virtual bool HasPostScriptConstruct ()=0
 return true if this class implements a post script construct call
 
virtual bool HasPostSerialize ()=0
 return true if this class implements a post serialize call
 
virtual bool HasSerializeFromMismatchedTag ()=0
 return true if this class wants to serialize from some other tag (usually for conversion purposes)
 
virtual bool HasSerializer ()=0
 return true if this class can serialize
 
virtual bool HasStructuredSerializer ()=0
 return true if this class can serialize to a structured archive
 
virtual bool HasZeroConstructor ()=0
 return true if memset can be used instead of the constructor
 
 ICppStructOps (int32 InSize, int32 InAlignment)
 Constructor 更多...
 
virtual bool Identical (const void *A, const void *B, uint32 PortFlags, bool &bOutResult)=0
 Compare this structure 更多...
 
virtual bool ImportTextItem (const TCHAR *&Buffer, void *Data, int32 PortFlags, class UObject *OwnerObject, FOutputDevice *ErrorText)=0
 import this structure 更多...
 
virtual bool IsAbstract () const =0
 return true if this struct is abstract
 
virtual bool IsPlainOldData ()=0
 return true if this struct should be memcopied
 
virtual bool NetDeltaSerialize (FNetDeltaSerializeInfo &DeltaParms, void *Data)=0
 Net serialize delta this structure. 更多...
 
virtual bool NetSerialize (FArchive &Ar, class UPackageMap *Map, bool &bOutSuccess, void *Data)=0
 Net serialize this structure 更多...
 
virtual void PostScriptConstruct (void *Data)=0
 Call PostScriptConstruct on this structure
 
virtual void PostSerialize (const FArchive &Ar, void *Data)=0
 Call PostSerialize on this structure
 
virtual bool Serialize (FArchive &Ar, void *Data)=0
 Serialize this structure 更多...
 
virtual bool SerializeFromMismatchedTag (struct FPropertyTag const &Tag, FArchive &Ar, void *Data)=0
 Serialize this structure, from some other tag 更多...
 

额外继承的成员函数

- Public 类型 继承自 UScriptStruct::ICppStructOps
typedef void(* TPointerToAddStructReferencedObjects) (void *A, class FReferenceCollector &Collector)
 return a pointer to a function that can add referenced objects 更多...
 

详细描述

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

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

成员函数说明

◆ Copy()

template<class CPPSTRUCT >
virtual bool UScriptStruct::TCppStructOps< CPPSTRUCT >::Copy ( void *  Dest,
void const *  Src,
int32  ArrayDim 
)
inlineoverridevirtual

Copy this structure

返回
true if the copy was handled, otherwise it will fall back to CopySingleValue

实现了 UScriptStruct::ICppStructOps.

◆ ExportTextItem()

template<class CPPSTRUCT >
virtual bool UScriptStruct::TCppStructOps< CPPSTRUCT >::ExportTextItem ( FString &  ValueStr,
const void *  PropertyValue,
const void *  DefaultValue,
class UObject *  Parent,
int32  PortFlags,
class UObject *  ExportRootScope 
)
inlineoverridevirtual

export this structure

返回
true if the copy was exported, otherwise it will fall back to FStructProperty::ExportTextItem

实现了 UScriptStruct::ICppStructOps.

◆ Identical()

template<class CPPSTRUCT >
virtual bool UScriptStruct::TCppStructOps< CPPSTRUCT >::Identical ( const void *  A,
const void *  B,
uint32  PortFlags,
bool &  bOutResult 
)
inlineoverridevirtual

Compare this structure

返回
true if the copy was handled, otherwise it will fall back to FStructProperty::Identical

实现了 UScriptStruct::ICppStructOps.

◆ ImportTextItem()

template<class CPPSTRUCT >
virtual bool UScriptStruct::TCppStructOps< CPPSTRUCT >::ImportTextItem ( const TCHAR *&  Buffer,
void *  Data,
int32  PortFlags,
class UObject *  OwnerObject,
FOutputDevice *  ErrorText 
)
inlineoverridevirtual

import this structure

返回
true if the copy was imported, otherwise it will fall back to FStructProperty::ImportText

实现了 UScriptStruct::ICppStructOps.

◆ NetDeltaSerialize()

template<class CPPSTRUCT >
virtual bool UScriptStruct::TCppStructOps< CPPSTRUCT >::NetDeltaSerialize ( FNetDeltaSerializeInfo &  DeltaParms,
void *  Data 
)
inlineoverridevirtual

Net serialize delta this structure.

Serialize a network delta from a base state

返回
true if the struct was serialized, otherwise it will fall back to ordinary script struct net delta serialization

实现了 UScriptStruct::ICppStructOps.

◆ NetSerialize()

template<class CPPSTRUCT >
virtual bool UScriptStruct::TCppStructOps< CPPSTRUCT >::NetSerialize ( FArchive &  Ar,
class UPackageMap *  Map,
bool &  bOutSuccess,
void *  Data 
)
inlineoverridevirtual

Net serialize this structure

返回
true if the struct was serialized, otherwise it will fall back to ordinary script struct net serialization

实现了 UScriptStruct::ICppStructOps.

◆ Serialize()

template<class CPPSTRUCT >
virtual bool UScriptStruct::TCppStructOps< CPPSTRUCT >::Serialize ( FArchive &  Ar,
void *  Data 
)
inlineoverridevirtual

Serialize this structure

返回
true if the package is new enough to support this, if false, it will fall back to ordinary script struct serialization

实现了 UScriptStruct::ICppStructOps.

◆ SerializeFromMismatchedTag()

template<class CPPSTRUCT >
virtual bool UScriptStruct::TCppStructOps< CPPSTRUCT >::SerializeFromMismatchedTag ( struct FPropertyTag const &  Tag,
FArchive &  Ar,
void *  Data 
)
inlineoverridevirtual

Serialize this structure, from some other tag

返回
true if this succeeded, false will trigger a warning and not serialize at all

实现了 UScriptStruct::ICppStructOps.


该结构体的文档由以下文件生成: