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

A global deduplicated name stored in the global name table. 更多...

#include <NameTypes.h>

Public 成员函数

CORE_API void AppendAnsiNameToString (FAnsiStringBuilderBase &OutString) const
 Appends name to string builder. 更多...
 
CORE_API void AppendNameToPathString (FString &OutString) const
 Appends name to string with path separator using FString::PathAppend().
 
CORE_API void AppendNameToString (FString &OutString) const
 Appends name to string. 更多...
 
CORE_API void AppendNameToString (FStringBuilderBase &OutString) const
 Appends name to string builder.
 
CORE_API void GetAnsiName (ANSICHAR(&OutName)[NAME_SIZE]) const
 Copy null-terminated name to ANSICHAR buffer without allocating. 更多...
 
void GetName (TCHAR(&OutName)[NAME_SIZE]) const
 Copy null-terminated name to TCHAR buffer without allocating.
 
CORE_API FString GetPlainNameString () const
 Copy name to a dynamically allocated FString.
 
CORE_API void GetPlainNameString (FStringBuilderBase &OutString) const
 Copy name to a FStringBuilderBase.
 
void GetUnterminatedName (TCHAR *OutName, uint32 OutSize) const
 Copy unterminated name to TCHAR buffer without allocating. 更多...
 
CORE_API void GetWideName (WIDECHAR(&OutName)[NAME_SIZE]) const
 Copy null-terminated name to WIDECHAR buffer without allocating. 更多...
 
FORCEINLINE bool IsWide () const
 Returns whether this name entry is represented via WIDECHAR or ANSICHAR.
 

静态 Public 成员函数

static int32 GetSize (int32 Length, bool bIsPureAnsi)
 Returns the size in bytes for FNameEntry structure. 更多...
 

友元

class FName
 

详细描述

A global deduplicated name stored in the global name table.

成员函数说明

◆ AppendAnsiNameToString()

CORE_API void FNameEntry::AppendAnsiNameToString ( FAnsiStringBuilderBase &  OutString) const

Appends name to string builder.

Entry must not be wide.

◆ AppendNameToString()

CORE_API void FNameEntry::AppendNameToString ( FString &  OutString) const

Appends name to string.

May allocate.

◆ GetAnsiName()

CORE_API void FNameEntry::GetAnsiName ( ANSICHAR(&)  OutName[NAME_SIZE]) const

Copy null-terminated name to ANSICHAR buffer without allocating.

Entry must not be wide.

◆ GetSize()

static int32 FNameEntry::GetSize ( int32  Length,
bool  bIsPureAnsi 
)
static

Returns the size in bytes for FNameEntry structure.

This is != sizeof(FNameEntry) as we only allocated as needed.

参数
LengthLength of name
bIsPureAnsiWhether name is pure ANSI or not
返回
required size of FNameEntry structure to hold this string (might be wide or ansi)

◆ GetUnterminatedName()

void FNameEntry::GetUnterminatedName ( TCHAR *  OutName,
uint32  OutSize 
) const

Copy unterminated name to TCHAR buffer without allocating.

参数
OutSizemust be at least GetNameLength()

◆ GetWideName()

CORE_API void FNameEntry::GetWideName ( WIDECHAR(&)  OutName[NAME_SIZE]) const

Copy null-terminated name to WIDECHAR buffer without allocating.

Entry must be wide.


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