#include <DefaultValueHelper.h>
|
static FString | GetUnqualifiedEnumValue (const FString &Source) |
|
static bool | HasWhitespaces (const FString &Source) |
|
static FString | RemoveWhitespaces (const FString &Source) |
|
static bool | GetParameters (const FString &Source, const FString &TypeName, FString &OutForm) |
|
static bool | Is (const FString &Source, const TCHAR *CompareStr) |
|
static bool | StringFromCppString (const FString &Source, const FString &TypeName, FString &OutForm) |
|
static bool | IsStringValidInteger (const FString &Source) |
|
static bool | IsStringValidFloat (const FString &Source) |
|
static bool | IsStringValidVector (const FString &Source) |
|
static bool | IsStringValidRotator (const FString &Source) |
|
static bool | IsStringValidLinearColor (const FString &Source) |
|
static bool | ParseInt (const FString &Source, int32 &OutVal) |
|
static bool | ParseInt64 (const FString &Source, int64 &OutVal) |
|
static bool | ParseFloat (const FString &Source, float &OutVal) |
|
static bool | ParseDouble (const FString &Source, double &OutVal) |
|
static bool | ParseVector (const FString &Source, FVector3f &OutVal) |
|
static bool | ParseVector (const FString &Source, FVector3d &OutVal) |
|
static bool | ParseVector2D (const FString &Source, FVector2f &OutVal) |
|
static bool | ParseVector2D (const FString &Source, FVector2d &OutVal) |
|
static bool | ParseVector4 (const FString &Source, FVector4f &OutVal) |
|
static bool | ParseVector4 (const FString &Source, FVector4d &OutVal) |
|
static bool | ParseRotator (const FString &Source, FRotator3f &OutVal) |
|
static bool | ParseRotator (const FString &Source, FRotator3d &OutVal) |
|
static bool | ParseLinearColor (const FString &Source, FLinearColor &OutVal) |
|
static bool | ParseColor (const FString &Source, FColor &OutVal) |
|
Definition at line 17 of file DefaultValueHelper.h.
◆ EndOf()
returns address of the last (empty) char in the string
◆ GetParameters()
Shell parameters list: " TypeName ( A a, B b ) " -> "A a, B b"
◆ GetUnqualifiedEnumValue()
◆ HasWhitespaces()
◆ Is()
returns if given strings are equal, ignores initial and final white spaces in Source
◆ IsStringValidFloat() [1/2]
◆ IsStringValidFloat() [2/2]
- Parameters
-
Start | - address of the first symbol of the checked string |
End | - address of the first symbol after of the checked string (also address of the terminating empty symbol) |
◆ IsStringValidInteger() [1/3]
◆ IsStringValidInteger() [2/3]
◆ IsStringValidInteger() [3/3]
return if the string can be parse to an int. OutBase is the base of the integer (8, 10, 16)
◆ IsStringValidLinearColor()
accepted form: " %f, %f, %f " or " %f, %f, %f, %f " (alpha is optional)
◆ IsStringValidRotator()
accepted form: " %f, %f, %f"
◆ IsStringValidVector()
accepted form: " %f, %f, %f"
◆ IsWhitespace()
static bool FDefaultValueHelper::IsWhitespace |
( |
TCHAR | Char | ) |
|
|
staticprivate |
◆ ParseColor()
Converts a string into a FLinearColor. Accepted forms: " %d, %d, %d " or " %d, %d, %d, %d " (alpha is optional).
- Parameters
-
Source | the input string to try to convert |
OutVal | the output color |
- Returns
- true if the conversion happened, false otherwise
◆ ParseDouble()
Converts a string into a double.
- Parameters
-
Source | the input string to try to convert |
OutVal | the output double |
- Returns
- true if the conversion happened, false otherwise
◆ ParseFloat()
Converts a string into a float.
- Parameters
-
Source | the input string to try to convert |
OutVal | the output float |
- Returns
- true if the conversion happened, false otherwise
◆ ParseInt()
Converts a string into a int32.
- Parameters
-
Source | the input string to try to convert |
OutVal | the output integer |
- Returns
- true if the conversion happened, false otherwise
◆ ParseInt64()
Converts a string into a int64.
- Parameters
-
Source | the input string to try to convert |
OutVal | the output integer |
- Returns
- true if the conversion happened, false otherwise
◆ ParseLinearColor()
Converts a string into a FLinearColor. Accepted forms: " %f, %f, %f " or " %f, %f, %f, %f " (alpha is optional).
- Parameters
-
Source | the input string to try to convert |
OutVal | the output color |
- Returns
- true if the conversion happened, false otherwise
◆ ParseRotator() [1/2]
◆ ParseRotator() [2/2]
Converts a string into a FRotator. Accepted form: " %f, %f, %f "
- Parameters
-
Source | the input string to try to convert |
OutVal | the output rotator |
- Returns
- true if the conversion happened, false otherwise
◆ ParseVector() [1/2]
◆ ParseVector() [2/2]
Converts a string into a FVector. Accepted form: " %f, %f, %f "
- Parameters
-
Source | the input string to try to convert |
OutVal | the output vector |
- Returns
- true if the conversion happened, false otherwise
◆ ParseVector2D() [1/2]
◆ ParseVector2D() [2/2]
Converts a string into a FVector. Accepted form: " %f, %f "
- Parameters
-
Source | the input string to try to convert |
OutVal | the output vector2D |
- Returns
- true if the conversion happened, false otherwise
◆ ParseVector4() [1/2]
◆ ParseVector4() [2/2]
Converts a string into a FVector4. Accepted form: " %f, %f, %f, %f "
- Parameters
-
Source | the input string to try to convert |
OutVal | the output vector4 |
- Returns
- true if the conversion happened, false otherwise
◆ RemoveWhitespaces()
◆ StartOf()
returns address of the first char in the string
◆ StringFromCppString()
source forms: TypeName( TEXT ("ABC") ), TEXT("ABC"), TypeName("ABC"), "ABC" output form: ABC
◆ Trim() [1/2]
advances Pos to first non-whitespace symbol returns if some non-Whitespace sign remains in string
◆ Trim() [2/2]
advances Pos to first non-whitespace symbol returns if some non-Whitespace sign remains in string
◆ TS()
static TCHAR FDefaultValueHelper::TS |
( |
const TCHAR * | Sign | ) |
|
|
staticprivate |
Something like TEXT macro for chars is needed
The documentation for this class was generated from the following file:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASA/AsaApi/AsaApi/Core/Public/API/UE/Misc/DefaultValueHelper.h