Module |
|
Header |
/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
Include |
#include "UObject/NameTypes.h" |
class FName
Public name, available to the world. Names are stored as a combination of an index into a table of unique strings and an instance number. Names are case-insensitive, but case-preserving (when WITH_CASE_PRESERVING_NAME is 1)
Name | Description | |
---|---|---|
|
FName() |
Default constructor, initialized to None |
|
FName ( |
Create an FName. |
|
FName ( |
|
|
FName ( |
|
|
FName ( |
|
|
FName ( |
Create an FName with a hardcoded string index. |
|
FName ( |
Create an FName with a hardcoded string index. |
|
FName ( |
Create an FName. |
|
FName ( |
|
|
FName ( |
|
|
FName ( |
|
|
FName ( |
Create an FName with a hardcoded string index. |
|
FName ( |
Create an FName with a hardcoded string index. |
|
FName ( |
Create an FName with a hardcoded string index. |
|
FName ( |
Create an FName from its component parts Only call this if you really know what you're doing |
|
FName ( |
Create FName from non-null string with known length |
|
FName ( |
|
|
FName ( |
|
|
FName ( |
|
|
FName ( |
|
|
FName ( |
|
|
FName ( |
Create an FName. |
|
FName ( |
Scary no init constructor, used for something obscure in UObjectBase |
|
FName ( |
|
|
FName ( |
Create an FName with a hardcoded string index. |
|
FName ( |
Create an FName with a hardcoded string index. |
|
FName ( |
Constructor used by FLinkerLoad when loading its name table; Creates an FName with an instance number of 0 that does not attempt to split the FName into string and number portions. |
|
FName ( |
Create an FName with a hardcoded string index and (instance). |
|
FName ( |
Create an FName from an existing string, but with a different instance. |
Name | Description | ||
---|---|---|---|
|
void |
AddNameToDisplayStringExemption ( |
Add/remove an exemption to the formatting applied by NameToDisplayString. |
|
void |
AppendString ( |
Converts an FName to a readable format, in place, appending to an existing string (ala GetFullName) |
|
void |
AppendString ( |
Converts an FName to a readable format, in place, appending to an existing string (ala GetFullName) |
|
void |
AppendString ( |
Converts an FName to a readable format, in place, appending to an existing string (ala GetFullName) |
|
void |
AppendStringInternal ( |
|
|
void |
AutoTest() |
Run autotest on FNames. |
|
int32 |
Compare ( |
Compares name to passed in one. Sort is alphabetical ascending. |
|
int32 |
CompareIndexes ( |
Fast non-alphabetical order that is only stable during this process' lifetime. |
|
CreateFromDisplayId ( |
Only call this if you really know what you're doing |
|
|
TArray< cons... |
DebugDump() |
|
|
void |
DisplayHash ( |
|
|
bool |
FastLess ( |
Fast non-alphabetical order that is only stable during this process' lifetime. |
|
GetComparisonIdFromDisplayId ( |
||
|
GetComparisonIndex() |
||
|
const FNameE... |
GetComparisonNameEntry() |
|
|
GetDisplayIndex() |
||
|
const FNameE... |
GetDisplayNameEntry() |
|
|
FNameEntry c... |
GetEntry ( |
|
|
FNameEntry c... |
GetEntry ( |
|
|
int32 |
GetNameEntryMemorySize() |
|
|
int32 |
GetNameTableMemorySize() |
|
|
int32 |
GetNumAnsiNames() |
|
|
int32 |
GetNumber() |
|
|
int32 |
GetNumWideNames() |
|
|
void |
GetPlainANSIString ( |
Copy ANSI name without number part. Must only be used for ANSI FNames. Doesn't allocate. |
|
GetPlainNameString() |
Get name without number part as a dynamically allocated string |
|
|
uint32 |
GetPlainNameString ( |
Convert name without number part into TCHAR buffer and returns string length. Doesn't allocate. |
|
void |
GetPlainWIDEString ( |
Copy wide name without number part. Must only be used for wide FNames. Doesn't allocate. |
|
uint32 |
GetStringLength() |
Get the number of characters, excluding null-terminator, that ToString() would yield |
|
bool |
IsEqual ( |
Check to see if this FName matches the other FName, potentially also checking for any case variations |
|
bool |
IsNone() |
True for FName(), FName(NAME_None) and FName |
|
bool |
IsValid() |
Paranoid sanity check |
|
bool |
IsValidGroupName ( |
Takes an FName and checks to see that it follows the rules that Unreal requires for package or group names. |
|
bool |
IsValidIndexFast() |
Paranoid sanity check, same as IsValid() |
|
bool |
IsValidObjectName ( |
Takes an FName and checks to see that it follows the rules that Unreal requires for object names. |
|
bool |
IsValidXName |
Checks to see that a given name-like string follows the rules that Unreal requires. |
|
bool |
IsValidXName |
Checks to see that a given name-like string follows the rules that Unreal requires. |
|
bool |
IsValidXName |
Checks to see that a given name-like string follows the rules that Unreal requires. |
|
bool |
IsValidXName |
Checks to see that a FName follows the rules that Unreal requires. |
|
bool |
IsValidXName |
Takes an FName and checks to see that it follows the rules that Unreal requires. |
|
bool |
IsValidXName |
Checks to see that a given name-like string follows the rules that Unreal requires. |
|
bool |
LexicalLess ( |
Slow alphabetical order that is stable / deterministic over process runs. |
|
NameToDisplayString ( |
Takes a string and breaks it down into a human readable string. |
|
|
void |
RemoveNameToDisplayStringExemption ( |
|
|
SafeString ( |
||
|
SanitizeWhitespace ( |
Printing FNames in logging or on screen can be problematic when they contain Whitespace characters such as |
|
|
void |
SetNumber ( |
|
|
void |
TearDown() |
Tear down system and free all allocated memory |
|
const EName ... |
ToEName() |
Get the EName that this FName represents or nullptr |
|
void |
ToString ( |
Converts an FName to a readable format |
|
void |
ToString ( |
Converts an FName to a readable format, in place |
|
void |
ToString ( |
Converts an FName to a readable format, in place |
|
uint32 |
ToString ( |
Convert to string buffer to avoid dynamic allocations and returns string length |
|
uint32 |
ToString ( |
|
|
ToString() |
Converts an FName to a readable format |
|
|
uint64 |
ToUnstableInt() |
Returns an integer that compares equal in the same way FNames do, only usable within the current process |
|
bool |
TryAppendAnsiString ( |
Converts an ANSI FName to a readable format appended to the string builder. |
Name | Description | ||
---|---|---|---|
|
bool |
operator!= ( |
|
|
bool |
operator== ( |
Name |
Description |
---|---|
StringBufferSize |
Buffer size required for any null-terminated FName string, i.e. [name] '_' [digits] '\0' |