Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/DefaultValueHelper.h |
| Include | #include "Misc/DefaultValueHelper.h" |
Syntax
class FDefaultValueHelper
Remarks
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetParameters
(
const FString& Source, |
Shell parameters list: " TypeName ( A a, B b ) " -> "A a, B b" | |
| FString | GetUnqualifiedEnumValue
(
const FString& Source |
||
| bool | HasWhitespaces
(
const FString& Source |
||
| bool | Returns if given strings are equal, ignores initial and final white spaces in Source | ||
| bool | IsStringValidFloat
(
const FString& Source |
||
| bool | IsStringValidInteger
(
const FString& Source |
Following functions accept c++ style representations of numbers. | |
| bool | IsStringValidLinearColor
(
const FString& Source |
Accepted form: " %f, %f, %f " or " %f, %f, %f, %f " (alpha is optional) | |
| bool | IsStringValidRotator
(
const FString& Source |
Accepted form: " %f, %f, %f" | |
| bool | IsStringValidVector
(
const FString& Source |
Accepted form: " %f, %f, %f" | |
| bool | ParseColor
(
const FString& Source, |
Converts a string into a FLinearColor. | |
| bool | ParseDouble
(
const FString& Source, |
Converts a string into a double. | |
| bool | ParseFloat
(
const FString& Source, |
Converts a string into a float. | |
| bool | Converts a string into a int32. | ||
| bool | ParseInt64
(
const FString& Source, |
Converts a string into a int64. | |
| bool | ParseLinearColor
(
const FString& Source, |
Converts a string into a FLinearColor. | |
| bool | ParseRotator
(
const FString& Source, |
Converts a string into a FRotator. Accepted form: " %f, %f, %f " | |
| bool | ParseRotator
(
const FString& Source, |
||
| bool | ParseVector
(
const FString& Source, |
Converts a string into a FVector. Accepted form: " %f, %f, %f " | |
| bool | ParseVector
(
const FString& Source, |
||
| bool | ParseVector2D
(
const FString& Source, |
Converts a string into a FVector. Accepted form: " %f, %f " | |
| bool | ParseVector2D
(
const FString& Source, |
||
| bool | ParseVector4
(
const FString& Source, |
Converts a string into a FVector4. Accepted form: " %f, %f, %f, %f " | |
| bool | ParseVector4
(
const FString& Source, |
||
| FString | RemoveWhitespaces
(
const FString& Source |
||
| bool | StringFromCppString
(
const FString& Source, |
Source forms: TypeName( TEXT ("ABC") ), TEXT("ABC"), TypeName("ABC"), "ABC" output form: ABC |