Navigation
API > API/Runtime > API/Runtime/Core
| Name | FDefaultValueHelper |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/DefaultValueHelper.h |
| Include Path | #include "Misc/DefaultValueHelper.h" |
Syntax
class FDefaultValueHelper
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const TCHAR * EndOf
(
const FString& Source |
Returns address of the last (empty) char in the string | Misc/DefaultValueHelper.h | |
| Shell parameters list: " TypeName ( A a, B b ) " -> "A a, B b" | Misc/DefaultValueHelper.h | ||
| Misc/DefaultValueHelper.h | |||
static bool HasWhitespaces
(
const FString& Source |
Misc/DefaultValueHelper.h | ||
static bool Is
(
const FString& Source, |
Returns if given strings are equal, ignores initial and final white spaces in Source | Misc/DefaultValueHelper.h | |
static bool IsStringValidFloat
(
const TCHAR* Start, |
Misc/DefaultValueHelper.h | ||
static bool IsStringValidFloat
(
const FString& Source |
Misc/DefaultValueHelper.h | ||
static bool IsStringValidInteger
(
const TCHAR* Start, |
Return if the string can be parse to an int. OutBase is the base of the integer (8, 10, 16) | Misc/DefaultValueHelper.h | |
static bool IsStringValidInteger
(
const TCHAR* Start, |
Misc/DefaultValueHelper.h | ||
static bool IsStringValidInteger
(
const FString& Source |
Following functions accept c++ style representations of numbers. | Misc/DefaultValueHelper.h | |
static bool IsStringValidLinearColor
(
const FString& Source |
Accepted form: " %f, %f, %f " or " %f, %f, %f, %f " (alpha is optional) | Misc/DefaultValueHelper.h | |
static bool IsStringValidRotator
(
const FString& Source |
Accepted form: " %f, %f, %f" | Misc/DefaultValueHelper.h | |
static bool IsStringValidVector
(
const FString& Source |
Accepted form: " %f, %f, %f" | Misc/DefaultValueHelper.h | |
static bool IsWhitespace
(
TCHAR Char |
Misc/DefaultValueHelper.h | ||
static bool ParseBool
(
const FString& Source, |
Converts a string into a bool. Accepted form: "true" or "false" or "1" or "0" | Misc/DefaultValueHelper.h | |
static bool ParseColor
(
const FString& Source, |
Converts a string into a FLinearColor. | Misc/DefaultValueHelper.h | |
static bool ParseDouble
(
const FString& Source, |
Converts a string into a double. | Misc/DefaultValueHelper.h | |
static bool ParseFloat
(
const FString& Source, |
Converts a string into a float. | Misc/DefaultValueHelper.h | |
static bool ParseInt
(
const FString& Source, |
Converts a string into a int32. | Misc/DefaultValueHelper.h | |
static bool ParseInt64
(
const FString& Source, |
Converts a string into a int64. | Misc/DefaultValueHelper.h | |
static bool ParseLinearColor
(
const FString& Source, |
Converts a string into a FLinearColor. | Misc/DefaultValueHelper.h | |
static bool ParseRotator
(
const FString& Source, |
Converts a string into a FRotator. Accepted form: " %f, %f, %f " | Misc/DefaultValueHelper.h | |
static bool ParseRotator
(
const FString& Source, |
Misc/DefaultValueHelper.h | ||
static bool ParseVector
(
const FString& Source, |
Misc/DefaultValueHelper.h | ||
static bool ParseVector
(
const FString& Source, |
Converts a string into a FVector. Accepted form: " %f, %f, %f " | Misc/DefaultValueHelper.h | |
static bool ParseVector2D
(
const FString& Source, |
Misc/DefaultValueHelper.h | ||
static bool ParseVector2D
(
const FString& Source, |
Converts a string into a FVector. Accepted form: " %f, %f " | Misc/DefaultValueHelper.h | |
static bool ParseVector4
(
const FString& Source, |
Converts a string into a FVector4. Accepted form: " %f, %f, %f, %f " | Misc/DefaultValueHelper.h | |
static bool ParseVector4
(
const FString& Source, |
Misc/DefaultValueHelper.h | ||
| Misc/DefaultValueHelper.h | |||
static const TCHAR * StartOf
(
const FString& Source |
Returns address of the first char in the string | Misc/DefaultValueHelper.h | |
| Source forms: TypeName( TEXT ("ABC") ), TEXT("ABC"), TypeName("ABC"), "ABC" output form: ABC | Misc/DefaultValueHelper.h | ||
| Advances Pos to first non-whitespace symbol returns if some non-Whitespace sign remains in string | Misc/DefaultValueHelper.h | ||
static bool Trim
(
const TCHAR*& Start, |
Advances Pos to first non-whitespace symbol returns if some non-Whitespace sign remains in string | Misc/DefaultValueHelper.h | |
static TCHAR TS
(
const TCHAR* Sign |
Something like TEXT macro for chars is needed | Misc/DefaultValueHelper.h |