Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FName
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Converts an FName to a readable format | UObject/NameTypes.h | ||
void ToString
(
FWideString& Out |
Converts an FName to a readable format, in place | UObject/NameTypes.h | |
void ToString
(
FUtf8String& Out |
UObject/NameTypes.h | ||
void ToString
(
FWideStringBuilderBase& Out |
Converts an FName to a readable format, in place | UObject/NameTypes.h | |
void ToString
(
FUtf8StringBuilderBase& Out |
UObject/NameTypes.h | ||
uint32 ToString
(
TCHAR(&) Out |
Converts the FName to a string buffer, avoiding dynamic allocations. | UObject/NameTypes.h | |
uint32 ToString
(
TCHAR* Out, |
Convert to string buffer to avoid dynamic allocations and returns string length | UObject/NameTypes.h |
ToString()
Description
Converts an FName to a readable format
| Name | ToString |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
| Source | /Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp |
FString ToString() const
String representation of the name
ToString(FWideString &)
Description
Converts an FName to a readable format, in place
| Name | ToString |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
| Source | /Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp |
void ToString
(
FWideString & Out
) const
Parameters
| Name | Remarks |
|---|---|
| Out | String to fill with the string representation of the name |
ToString(FUtf8String &)
| Name | ToString |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
| Source | /Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp |
void ToString
(
FUtf8String & Out
) const
ToString(FWideStringBuilderBase &)
Description
Converts an FName to a readable format, in place
| Name | ToString |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
| Source | /Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp |
void ToString
(
FWideStringBuilderBase & Out
) const
Parameters
| Name | Remarks |
|---|---|
| Out | StringBuilder to fill with the string representation of the name |
ToString(FUtf8StringBuilderBase &)
| Name | ToString |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
| Source | /Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp |
void ToString
(
FUtf8StringBuilderBase & Out
) const
ToString(TCHAR(&))
Description
Converts the FName to a string buffer, avoiding dynamic allocations.
Returns the length of the string, excluding the null terminator.
Note that a default constructed FName returns "None" instead of ""
| Name | ToString |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
template<uint32 N>
uint32 ToString
(
TCHAR(&) Out
) const
ToString(TCHAR *, uint32)
Description
Convert to string buffer to avoid dynamic allocations and returns string length
Fails hard if OutLen < GetStringLength() + 1. StringBufferSize guarantees success.
Note that a default constructed FName returns "None" instead of ""
| Name | ToString |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
uint32 ToString
(
TCHAR * Out,
uint32 OutSize
) const