FNameEntry

A global deduplicated name stored in the global name table.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h

Include

#include "UObject/NameTypes.h"

Syntax

struct FNameEntry

Remarks

A global deduplicated name stored in the global name table.

Variables

Name Description

Public variable

ANSICHAR[NAME_S...

 

AnsiName

Public variable

WIDECHAR[NAME_S...

 

WideName

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Const

void

 

AppendAnsiNameToString

(
    FAnsiStringBuilderBase& OutString
)

Appends name to string builder. Entry must not be wide.

Public function Const

void

 

AppendNameToPathString

(
    FString& OutString
)

Appends name to string with path separator using FString::PathAppend().

Public function Const

void

 

AppendNameToString

(
    FString& OutString
)

Appends name to string. May allocate.

Public function Const

void

 

AppendNameToString

(
    FStringBuilderBase& OutString
)

Appends name to string builder.

Public function Const

void

 

GetAnsiName

(
    ANSICHAR OutName
)

Copy null-terminated name to ANSICHAR buffer without allocating. Entry must not be wide.

Public function Static

int32

 

GetDataOffset()

Public function Const

void

 

GetName

(
    TCHAR OutName
)

Copy null-terminated name to TCHAR buffer without allocating.

Public function Const

int32

 

GetNameLength()

Public function Const

void

 

GetPlainNameString

(
    FStringBuilderBase& OutString
)

Copy name to a FStringBuilderBase.

Public function Const

FString

 

GetPlainNameString()

Copy name to a dynamically allocated FString.

Public function Static

int32

 

GetSize

(
    const TCHAR* Name
)

Returns the size in bytes for FNameEntry structure.

Public function Static

int32

 

GetSize

(
    int32 Length,
    bool bIsPureAnsi
)

Returns the size in bytes for FNameEntry structure.

Public function Const

int32

 

GetSizeInBytes()

Public function Const

void

 

GetUnterminatedName

(
    TCHAR* OutName,
    uint32 OutSize
)

Copy unterminated name to TCHAR buffer without allocating.

Public function Const

void

 

GetWideName

(
    WIDECHAR OutName
)

Copy null-terminated name to WIDECHAR buffer without allocating. Entry must be wide.

Public function Const

bool

 

IsWide()

Returns whether this name entry is represented via WIDECHAR or ANSICHAR.

Public function Const

FNameStringV...

 

MakeView

(
    union FNameBuffer& OptionalDecodeB...
)

Public function Const

void

 

Write

(
    FArchive& Ar
)

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