FNameEntry

A global name, as stored in the global name table.

Windows
MacOS
Linux

Syntax

struct FNameEntry

Remarks

A global name, as stored in the global name table.

Variables

Name Description

Protected variable

union FNameEntr...

 

@459

Name, variable-sized - note that AllocateNameEntry only allocates memory as needed.

Public variable

ANSICHAR[NAME_S...

 

AnsiName

Public variable

TAtomic< FNameE...

 

HashNext

Pointer to the next entry in this hash bin's linked list.

Public variable

WIDECHAR[NAME_S...

 

WideName

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Const

void

 

AppendNameToPathString

(
    FString& String
)

Appends this name entry to the passed in string, adding path separator between strings (with FString operator/).

Public function Const

void

 

AppendNameToString

(
    FString& String
)

Appends this name entry to the passed in string.

Public function Const

void

 

GetAnsiName

(
    ANSICHAR OutName
)

Public function Const

int32

 

GetIndex()

Returns index of name in hash passed to FNameEntry via AllocateNameEntry.

Public function Const

int32

 

GetNameLength()

Public function Const

FString

 

GetPlainNameString()

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

void

 

GetWideName

(
    WIDECHAR OutName
)

Public function Const

bool

 

IsEqual

(
    const ANSICHAR* InName,
    const ENameCase CompareMethod
)

Compares name using the compare method provided.

Public function Const

bool

 

IsEqual

(
    const WIDECHAR* InName,
    const ENameCase CompareMethod
)

Compares name using the compare method provided.

Public function Const

bool

 

IsWide()

Returns whether this name entry is represented via TCHAR or ANSICHAR

Public function

void

 

PreSetIsWideForSerialization

(
    bool bIsWide
)

Sets whether or not the NameEntry will have a wide string, or an ansi string

Public function Const

void

 

Write

(
    FArchive& Ar
)

Functions.

Public function Const

void

 

Write

(
    FStructuredArchive::FSlot Slot
)

Functions.

References

Module

Core

Header

Runtime/Core/Public/UObject/NameTypes.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback