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

 

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

 

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

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
)

Public function Const

void

 

Write

(
    FStructuredArchive::FSlot Slot
)

Select Skin
Light
Dark

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