engine
 
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | 所有成员列表
UScriptStruct::ICppStructOps结构体 参考abstract

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

#include <Class.h>

+ 类 UScriptStruct::ICppStructOps 继承关系图:

Public 类型

typedef void(* TPointerToAddStructReferencedObjects) (void *A, class FReferenceCollector &Collector)
 return a pointer to a function that can add referenced objects 更多...
 

Public 成员函数

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 更多...
 

详细描述

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

成员类型定义说明

◆ TPointerToAddStructReferencedObjects

typedef void(* UScriptStruct::ICppStructOps::TPointerToAddStructReferencedObjects) (void *A, class FReferenceCollector &Collector)

return a pointer to a function that can add referenced objects

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

构造及析构函数说明

◆ ICppStructOps()

UScriptStruct::ICppStructOps::ICppStructOps ( int32  InSize,
int32  InAlignment 
)
inline

Constructor

参数
InSizesizeof() of the structure

成员函数说明

◆ Copy()

virtual bool UScriptStruct::ICppStructOps::Copy ( void *  Dest,
void const *  Src,
int32  ArrayDim 
)
pure virtual

Copy this structure

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

在 UScriptStruct::TCppStructOps< CPPSTRUCT > 内被实现.

◆ ExportTextItem()

virtual bool UScriptStruct::ICppStructOps::ExportTextItem ( FString &  ValueStr,
const void *  PropertyValue,
const void *  DefaultValue,
class UObject *  Parent,
int32  PortFlags,
class UObject *  ExportRootScope 
)
pure virtual

export this structure

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

在 UScriptStruct::TCppStructOps< CPPSTRUCT > 内被实现.

◆ Identical()

virtual bool UScriptStruct::ICppStructOps::Identical ( const void *  A,
const void *  B,
uint32  PortFlags,
bool &  bOutResult 
)
pure virtual

Compare this structure

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

在 UScriptStruct::TCppStructOps< CPPSTRUCT > 内被实现.

◆ ImportTextItem()

virtual bool UScriptStruct::ICppStructOps::ImportTextItem ( const TCHAR *&  Buffer,
void *  Data,
int32  PortFlags,
class UObject *  OwnerObject,
FOutputDevice *  ErrorText 
)
pure virtual

import this structure

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

在 UScriptStruct::TCppStructOps< CPPSTRUCT > 内被实现.

◆ NetDeltaSerialize()

virtual bool UScriptStruct::ICppStructOps::NetDeltaSerialize ( FNetDeltaSerializeInfo &  DeltaParms,
void *  Data 
)
pure virtual

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::TCppStructOps< CPPSTRUCT > 内被实现.

◆ NetSerialize()

virtual bool UScriptStruct::ICppStructOps::NetSerialize ( FArchive &  Ar,
class UPackageMap *  Map,
bool &  bOutSuccess,
void *  Data 
)
pure virtual

Net serialize this structure

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

在 UScriptStruct::TCppStructOps< CPPSTRUCT > 内被实现.

◆ Serialize()

virtual bool UScriptStruct::ICppStructOps::Serialize ( FArchive &  Ar,
void *  Data 
)
pure virtual

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::TCppStructOps< CPPSTRUCT > 内被实现.

◆ SerializeFromMismatchedTag()

virtual bool UScriptStruct::ICppStructOps::SerializeFromMismatchedTag ( struct FPropertyTag const &  Tag,
FArchive &  Ar,
void *  Data 
)
pure virtual

Serialize this structure, from some other tag

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

在 UScriptStruct::TCppStructOps< CPPSTRUCT > 内被实现.


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