Ark Server API (ASA) - Wiki
|
#include "CoreTypes.h"
#include "Misc/AssertionMacros.h"
#include "HAL/UnrealMemory.h"
#include "Templates/UnrealTypeTraits.h"
#include "Templates/UnrealTemplate.h"
#include "Containers/UnrealString.h"
#include "HAL/CriticalSection.h"
#include "Containers/StringConv.h"
#include "Containers/StringFwd.h"
#include "UObject/UnrealNames.h"
#include "Templates/Atomic.h"
#include "Serialization/MemoryLayout.h"
#include "Misc/StringBuilder.h"
Go to the source code of this file.
Classes | |
struct | FNameEntryId |
struct | FNameEntryHeader |
struct | FNameEntry |
struct | FNameEntrySerialized |
struct | FMinimalName |
struct | FScriptName |
struct | FMemoryImageName |
class | FName |
struct | TIsZeroConstructType< class FName > |
struct | TIsPODType< FName > |
struct | FNameFastLess |
struct | FNameLexicalLess |
struct | FNameDebugVisualizer |
class | FLazyName |
struct | FLazyName::FLiteralOrName |
class | FDisplayNameEntryId |
class | FNameBuilder |
struct | TIsContiguousContainer< FNameBuilder > |
Namespaces | |
namespace | Freeze |
Macros | |
#define | WITH_CASE_PRESERVING_NAME 0 |
#define | UE_FNAME_OUTLINE_NUMBER 0 |
#define | checkName checkSlow |
#define | NAME_NO_NUMBER_INTERNAL 0 |
#define | NAME_INTERNAL_TO_EXTERNAL(x) (x - 1) |
#define | NAME_EXTERNAL_TO_INTERNAL(x) (x + 1) |
#define | NAME_NO_NUMBER NAME_INTERNAL_TO_EXTERNAL(NAME_NO_NUMBER_INTERNAL) |
#define | SUBOBJECT_DELIMITER_ANSI ":" |
#define | SUBOBJECT_DELIMITER TEXT(SUBOBJECT_DELIMITER_ANSI) |
#define | SUBOBJECT_DELIMITER_CHAR TEXT(':') |
#define | INVALID_NAME_CHARACTERS TEXT("\"' ,\n\r\t") |
#define | INVALID_OBJECTNAME_CHARACTERS TEXT("\"' ,/.:|&!~\n\r\t@#(){}[]=;^%$`") |
#define | INVALID_OBJECTPATH_CHARACTERS TEXT("\"' ,|&!~\n\r\t@#(){}[]=;^%$`") |
#define | INVALID_LONGPACKAGE_CHARACTERS TEXT("\\:*?\"<>|' ,.&!~\n\r\t@#") |
#define | VALID_SAVEDDIRSUFFIX_CHARACTERS TEXT("_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") |
Typedefs | |
typedef FNameEntryId | NAME_INDEX |
typedef FNameFastLess | FNameSortIndexes |
Enumerations | |
enum | { NAME_SIZE = 1024 } |
enum class | ENameCase : uint8 { CaseSensitive , IgnoreCase } |
enum | ELinkerNameTableConstructor { ENAME_LinkerConstructor } |
enum | EFindName { FNAME_Find , FNAME_Add , FNAME_Replace_Not_Safe_For_Threading } |
Definition at line 136 of file NameTypes.h.
These characters cannot be used in long package names
Definition at line 168 of file NameTypes.h.
These are the characters that cannot be used in general FNames
Definition at line 159 of file NameTypes.h.
These characters cannot be used in object names
Definition at line 162 of file NameTypes.h.
These characters cannot be used in ObjectPaths, which includes both the package path and part after the first .
Definition at line 165 of file NameTypes.h.
#define NAME_EXTERNAL_TO_INTERNAL | ( | x | ) | (x + 1) |
Definition at line 145 of file NameTypes.h.
#define NAME_INTERNAL_TO_EXTERNAL | ( | x | ) | (x - 1) |
Conversion routines between external representations and internal
Definition at line 144 of file NameTypes.h.
#define NAME_NO_NUMBER NAME_INTERNAL_TO_EXTERNAL(NAME_NO_NUMBER_INTERNAL) |
Special value for an FName with no number
Definition at line 148 of file NameTypes.h.
#define NAME_NO_NUMBER_INTERNAL 0 |
Externally, the instance number to represent no instance number is NAME_NO_NUMBER, but internally, we add 1 to indices, so we use this #define internally for zero'd memory initialization will still make NAME_None as expected
Definition at line 141 of file NameTypes.h.
#define SUBOBJECT_DELIMITER TEXT(SUBOBJECT_DELIMITER_ANSI) |
Definition at line 153 of file NameTypes.h.
#define SUBOBJECT_DELIMITER_ANSI ":" |
this is the character used to separate a subobject root from its subobjects in a path name.
Definition at line 152 of file NameTypes.h.
this is the character used to separate a subobject root from its subobjects in a path name, as a char
Definition at line 156 of file NameTypes.h.
#define UE_FNAME_OUTLINE_NUMBER 0 |
Definition at line 37 of file NameTypes.h.
#define VALID_SAVEDDIRSUFFIX_CHARACTERS TEXT("_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") |
These characters can be used in relative directory names (lowercase versions as well)
Definition at line 171 of file NameTypes.h.
#define WITH_CASE_PRESERVING_NAME 0 |
Do we want to support case-variants for FName? This will add an extra NAME_INDEX variable to FName, but means that ToString() will return you the exact same string that FName::Init was called with (which is useful if your FNames are shown to the end user) Currently this is enabled for the Editor and any Programs (such as UHT), but not the Runtime
Definition at line 31 of file NameTypes.h.
Definition at line 1716 of file NameTypes.h.
Legacy typedef - this is no longer an index
Use GetTypeHash(FName) or GetTypeHash(FNameEntryId) for hashing To compare with ENames use FName(EName) or FName::ToEName() instead
Definition at line 134 of file NameTypes.h.
Maximum size of name, including the null terminator.
Enumerator | |
---|---|
NAME_SIZE |
Definition at line 43 of file NameTypes.h.
Enumeration for finding name.
Definition at line 182 of file NameTypes.h.
Enumerator | |
---|---|
ENAME_LinkerConstructor |
Definition at line 179 of file NameTypes.h.
Enumerator | |
---|---|
CaseSensitive | |
IgnoreCase |
Definition at line 173 of file NameTypes.h.
DECLARE_INTRINSIC_TYPE_LAYOUT | ( | FMemoryImageName | ) |
DECLARE_INTRINSIC_TYPE_LAYOUT | ( | FScriptName | ) |
Expose_TNameOf | ( | FName | ) |
FORCEINLINE void LexFromString | ( | FName & | Name, |
const TCHAR * | Str ) |
FORCEINLINE FString LexToString | ( | const FName & | Name | ) |
FORCEINLINE FName MinimalNameToName | ( | FMinimalName | InName | ) |
Definition at line 1648 of file NameTypes.h.
FORCEINLINE FMinimalName NameToMinimalName | ( | FName | InName | ) |
Definition at line 1658 of file NameTypes.h.
FORCEINLINE FScriptName NameToScriptName | ( | FName | InName | ) |
Definition at line 1663 of file NameTypes.h.
|
inline |
FUtf8StringBuilderBase & operator<< | ( | FUtf8StringBuilderBase & | Builder, |
FNameEntryId | Id ) |
|
inline |
FWideStringBuilderBase & operator<< | ( | FWideStringBuilderBase & | Builder, |
FNameEntryId | Id ) |
FORCEINLINE FName ScriptNameToName | ( | FScriptName | InName | ) |