#include <DefaultValueHelper.h>
|
| static CORE_API FString | GetUnqualifiedEnumValue (const FString &Source) |
| |
| static CORE_API bool | HasWhitespaces (const FString &Source) |
| |
| static CORE_API FString | RemoveWhitespaces (const FString &Source) |
| |
| static CORE_API bool | GetParameters (const FString &Source, const FString &TypeName, FString &OutForm) |
| |
| static CORE_API bool | Is (const FString &Source, const TCHAR *CompareStr) |
| |
| static CORE_API bool | StringFromCppString (const FString &Source, const FString &TypeName, FString &OutForm) |
| |
| static CORE_API bool | IsStringValidInteger (const FString &Source) |
| |
| static CORE_API bool | IsStringValidFloat (const FString &Source) |
| |
| static CORE_API bool | IsStringValidVector (const FString &Source) |
| |
| static CORE_API bool | IsStringValidRotator (const FString &Source) |
| |
| static CORE_API bool | IsStringValidLinearColor (const FString &Source) |
| |
| static CORE_API bool | ParseInt (const FString &Source, int32 &OutVal) |
| |
| static CORE_API bool | ParseBool (const FString &Source, bool &OutVal) |
| |
| static CORE_API bool | ParseInt64 (const FString &Source, int64 &OutVal) |
| |
| static CORE_API bool | ParseFloat (const FString &Source, float &OutVal) |
| |
| static CORE_API bool | ParseDouble (const FString &Source, double &OutVal) |
| |
| static CORE_API bool | ParseVector (const FString &Source, FVector3f &OutVal) |
| |
| static CORE_API bool | ParseVector (const FString &Source, FVector3d &OutVal) |
| |
| static CORE_API bool | ParseVector2D (const FString &Source, FVector2f &OutVal) |
| |
| static CORE_API bool | ParseVector2D (const FString &Source, FVector2d &OutVal) |
| |
| static CORE_API bool | ParseVector4 (const FString &Source, FVector4f &OutVal) |
| |
| static CORE_API bool | ParseVector4 (const FString &Source, FVector4d &OutVal) |
| |
| static CORE_API bool | ParseRotator (const FString &Source, FRotator3f &OutVal) |
| |
| static CORE_API bool | ParseRotator (const FString &Source, FRotator3d &OutVal) |
| |
| static CORE_API bool | ParseLinearColor (const FString &Source, FLinearColor &OutVal) |
| |
| static CORE_API bool | ParseColor (const FString &Source, FColor &OutVal) |
| |
◆ GetParameters()
| bool FDefaultValueHelper::GetParameters |
( |
const FString & |
Source, |
|
|
const FString & |
TypeName, |
|
|
FString & |
OutForm |
|
) |
| |
|
static |
Shell parameters list: " TypeName ( A a, B b ) " -> "A a, B b"
◆ GetUnqualifiedEnumValue()
| FString FDefaultValueHelper::GetUnqualifiedEnumValue |
( |
const FString & |
Source | ) |
|
|
static |
◆ HasWhitespaces()
| bool FDefaultValueHelper::HasWhitespaces |
( |
const FString & |
Source | ) |
|
|
static |
◆ Is()
| bool FDefaultValueHelper::Is |
( |
const FString & |
Source, |
|
|
const TCHAR * |
CompareStr |
|
) |
| |
|
static |
returns if given strings are equal, ignores initial and final white spaces in Source
◆ IsStringValidFloat()
| bool FDefaultValueHelper::IsStringValidFloat |
( |
const FString & |
Source | ) |
|
|
static |
◆ IsStringValidInteger()
| bool FDefaultValueHelper::IsStringValidInteger |
( |
const FString & |
Source | ) |
|
|
static |
◆ IsStringValidLinearColor()
| bool FDefaultValueHelper::IsStringValidLinearColor |
( |
const FString & |
Source | ) |
|
|
static |
accepted form: " %f, %f, %f " or " %f, %f, %f, %f " (alpha is optional)
◆ IsStringValidRotator()
| bool FDefaultValueHelper::IsStringValidRotator |
( |
const FString & |
Source | ) |
|
|
static |
accepted form: " %f, %f, %f"
◆ IsStringValidVector()
| bool FDefaultValueHelper::IsStringValidVector |
( |
const FString & |
Source | ) |
|
|
static |
accepted form: " %f, %f, %f"
◆ ParseBool()
| bool FDefaultValueHelper::ParseBool |
( |
const FString & |
Source, |
|
|
bool & |
OutVal |
|
) |
| |
|
static |
Converts a string into a bool. Accepted form: "true" or "false" or "1" or "0"
- Parameters
-
| Source | the input string to try to convert |
| OutVal | the output boolean |
- Returns
- true if the conversion happened, false otherwise
◆ ParseColor()
| bool FDefaultValueHelper::ParseColor |
( |
const FString & |
Source, |
|
|
FColor & |
OutVal |
|
) |
| |
|
static |
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()
| bool FDefaultValueHelper::ParseDouble |
( |
const FString & |
Source, |
|
|
double & |
OutVal |
|
) |
| |
|
static |
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()
| bool FDefaultValueHelper::ParseFloat |
( |
const FString & |
Source, |
|
|
float & |
OutVal |
|
) |
| |
|
static |
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()
| bool FDefaultValueHelper::ParseInt |
( |
const FString & |
Source, |
|
|
int32 & |
OutVal |
|
) |
| |
|
static |
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()
| bool FDefaultValueHelper::ParseInt64 |
( |
const FString & |
Source, |
|
|
int64 & |
OutVal |
|
) |
| |
|
static |
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()
| bool FDefaultValueHelper::ParseLinearColor |
( |
const FString & |
Source, |
|
|
FLinearColor & |
OutVal |
|
) |
| |
|
static |
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]
| bool FDefaultValueHelper::ParseRotator |
( |
const FString & |
Source, |
|
|
FRotator3d & |
OutVal |
|
) |
| |
|
static |
◆ ParseRotator() [2/2]
| bool FDefaultValueHelper::ParseRotator |
( |
const FString & |
Source, |
|
|
FRotator3f & |
OutVal |
|
) |
| |
|
static |
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]
| bool FDefaultValueHelper::ParseVector |
( |
const FString & |
Source, |
|
|
FVector3d & |
OutVal |
|
) |
| |
|
static |
◆ ParseVector() [2/2]
| bool FDefaultValueHelper::ParseVector |
( |
const FString & |
Source, |
|
|
FVector3f & |
OutVal |
|
) |
| |
|
static |
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]
| bool FDefaultValueHelper::ParseVector2D |
( |
const FString & |
Source, |
|
|
FVector2d & |
OutVal |
|
) |
| |
|
static |
◆ ParseVector2D() [2/2]
| bool FDefaultValueHelper::ParseVector2D |
( |
const FString & |
Source, |
|
|
FVector2f & |
OutVal |
|
) |
| |
|
static |
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]
| bool FDefaultValueHelper::ParseVector4 |
( |
const FString & |
Source, |
|
|
FVector4d & |
OutVal |
|
) |
| |
|
static |
◆ ParseVector4() [2/2]
| bool FDefaultValueHelper::ParseVector4 |
( |
const FString & |
Source, |
|
|
FVector4f & |
OutVal |
|
) |
| |
|
static |
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()
| FString FDefaultValueHelper::RemoveWhitespaces |
( |
const FString & |
Source | ) |
|
|
static |
◆ StringFromCppString()
| bool FDefaultValueHelper::StringFromCppString |
( |
const FString & |
Source, |
|
|
const FString & |
TypeName, |
|
|
FString & |
OutForm |
|
) |
| |
|
static |
source forms: TypeName( TEXT ("ABC") ), TEXT("ABC"), TypeName("ABC"), "ABC" output form: ABC
The documentation for this class was generated from the following files: