engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 友元 | 所有成员列表
FPropertyPathSegment结构体 参考

Base class for cached property path segments 更多...

#include <PropertyPathHelpers.h>

Public 成员函数

 FPropertyPathSegment ()
 UStruct boilerplate constructor - do not use
 
 FPropertyPathSegment (int32 InCount, const TCHAR *InString)
 Construct from char count and storage
 
int32 GetArrayIndex () const
 
FFieldVariant GetField () const
 
FName GetName () const
 
UStruct * GetStruct () const
 
void PostSerialize (const FArchive &Ar)
 Called after this event has been serialized in order to cache the field pointer if necessary
 
FFieldVariant Resolve (UStruct *InStruct) const
 Resolves the name on the given Struct. 更多...
 

静态 Public 成员函数

static FPropertyPathSegment MakeUnresolvedCopy (const FPropertyPathSegment &ToCopy)
 Make a copy which is unresolved
 

Public 属性

int32 ArrayIndex
 The optional array index.
 
FName Name
 The sub-component of the property path, a single value between . 更多...
 

友元

struct FCachedPropertyPath
 

详细描述

Base class for cached property path segments

成员函数说明

◆ GetArrayIndex()

int32 FPropertyPathSegment::GetArrayIndex ( ) const
返回
the array index of this segment

◆ GetField()

FFieldVariant FPropertyPathSegment::GetField ( ) const
返回
the resolved field

◆ GetName()

FName FPropertyPathSegment::GetName ( ) const
返回
the name of this segment

◆ GetStruct()

UStruct * FPropertyPathSegment::GetStruct ( ) const
返回
the resolved struct

◆ Resolve()

FFieldVariant FPropertyPathSegment::Resolve ( UStruct *  InStruct) const

Resolves the name on the given Struct.

Can be used to cache the resulting property so that future calls can be processed quickly.

参数
InStructthe ScriptStruct or Class to look for the property on.

类成员变量说明

◆ Name

FName FPropertyPathSegment::Name

The sub-component of the property path, a single value between .

's of the path


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