Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FName
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsValidXName () |
UObject/NameTypes.h | ||
bool IsValidXName
(
FText& OutReason |
UObject/NameTypes.h | ||
bool IsValidXName
(
FText& OutReason, |
Takes an FName and checks to see that it follows the rules that Unreal requires. | UObject/NameTypes.h | |
bool IsValidXName
(
const FString& InInvalidChars, |
Checks to see that a FName follows the rules that Unreal requires. | UObject/NameTypes.h | |
static bool IsValidXName
(
const FName InName, |
Checks to see that a given name-like string follows the rules that Unreal requires. | UObject/NameTypes.h | |
static bool IsValidXName
(
const TCHAR* InName, |
UObject/NameTypes.h | ||
static bool IsValidXName
(
const FString& InName, |
UObject/NameTypes.h | ||
static bool IsValidXName
(
const FStringView& InName, |
UObject/NameTypes.h |
IsValidXName()
| Name | IsValidXName |
| 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 |
bool IsValidXName() const
IsValidXName(FText &)
| Name | IsValidXName |
| 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 |
bool IsValidXName
(
FText & OutReason
) const
IsValidXName(FText &, const FString &)
Description
Takes an FName and checks to see that it follows the rules that Unreal requires.
| Name | IsValidXName |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
bool IsValidXName
(
FText & OutReason,
const FString & InInvalidChars
) const
true if the name is valid
Parameters
| Name | Remarks |
|---|---|
| OutReason | If the check fails, this string is filled in with the reason why. |
| InInvalidChars | The set of invalid characters that the name cannot contain |
IsValidXName(const FString &, FText , const FText )
Description
Checks to see that a FName follows the rules that Unreal requires.
| Name | IsValidXName |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
bool IsValidXName
(
const FString & InInvalidChars,
FText * OutReason,
const FText * InErrorCtx
) const
true if the name is valid
Parameters
| Name | Remarks |
|---|---|
| InInvalidChars | The set of invalid characters that the name cannot contain |
| OutReason | If the check fails, this string is filled in with the reason why. |
| InErrorCtx | Error context information to show in the error message (default is "Name"). |
IsValidXName(const FName, const FString &, FText , const FText )
Description
Checks to see that a given name-like string follows the rules that Unreal requires.
| Name | IsValidXName |
| 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 |
static bool IsValidXName
(
const FName InName,
const FString & InInvalidChars,
FText * OutReason,
const FText * InErrorCtx
)
true if the name is valid
Parameters
| Name | Remarks |
|---|---|
| InName | String containing the name to test. |
| InInvalidChars | The set of invalid characters that the name cannot contain. |
| OutReason | If the check fails, this string is filled in with the reason why. |
| InErrorCtx | Error context information to show in the error message (default is "Name"). |
IsValidXName(const TCHAR , const FString &, FText , const FText *)
| Name | IsValidXName |
| 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 |
static bool IsValidXName
(
const TCHAR * InName,
const FString & InInvalidChars,
FText * OutReason,
const FText * InErrorCtx
)
IsValidXName(const FString &, const FString &, FText , const FText )
| Name | IsValidXName |
| 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 |
static bool IsValidXName
(
const FString & InName,
const FString & InInvalidChars,
FText * OutReason,
const FText * InErrorCtx
)
IsValidXName(const FStringView &, const FString &, FText , const FText )
| Name | IsValidXName |
| 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 |
static bool IsValidXName
(
const FStringView & InName,
const FString & InInvalidChars,
FText * OutReason,
const FText * InErrorCtx
)