Agrarsense
|
#include <EnumUtilities.h>
Static Public Member Functions | |
static EFoliageTypes | ConvertStringToFoliageType (const FString &String) |
static FString | ConvertFoliageTypeToString (EFoliageTypes FoliageType) |
static EPropTypes | ConvertStringToPropType (const FString &String) |
static FString | ConvertPropTypeToString (EPropTypes PropType) |
static ESensorTypes | ConvertStringToSensorType (const FString &String) |
static FString | ConvertSensorTypeToString (ESensorTypes Sensortype) |
static EVehicleTypes | ConvertStringToVehicleType (const FString &String) |
static FString | ConvertVehicleTypeToString (EVehicleTypes VehicleType) |
static EWalkerType | ConvertStringToWalkerType (const FString &String) |
static FString | ConvertWalkerTypeToString (EWalkerType WalkerType) |
static EWalkerAction | ConvertStringToWalkerActionType (const FString &String) |
static FString | ConvertWalkerActionTypeToString (EWalkerAction WalkerAction) |
static EWalkerEndAction | ConvertStringToWalkerEndActionType (const FString &String) |
static FString | ConvertWalkerEndActionTypeToString (EWalkerEndAction WalkerEndAction) |
static EQualityLevel | ConvertStringToQualityLevel (const FString &String) |
static FString | ConvertQualityLevelToString (EQualityLevel QualityLevel) |
static EAntiAliasing | ConvertStringToAntiAliasingMethod (const FString &String) |
static FString | ConvertAntiAliasingMethodToString (EAntiAliasing AntiAliasingMethod) |
template<typename TEnum > | |
static TMap< TEnum, FString > | CreateEnumStringMap (const FString &EnumTypeName) |
template<typename TEnum > | |
static TMap< FString, TEnum > | CreateStringEnumMap (const FString &EnumTypeName) |
Static Private Member Functions | |
template<typename TEnum > | |
static TEnum | ConvertStringToEnum (const FString &EnumString, const FString &EnumTypeName) |
EnumUtilities is a Blueprint Function Library for converting things.
Definition at line 26 of file EnumUtilities.h.
|
static |
Definition at line 93 of file EnumUtilities.cpp.
|
static |
Definition at line 13 of file EnumUtilities.cpp.
|
static |
Definition at line 23 of file EnumUtilities.cpp.
|
static |
Definition at line 83 of file EnumUtilities.cpp.
Referenced by UAgrarsenseSettings::SetQualityLevel().
|
static |
Definition at line 33 of file EnumUtilities.cpp.
Referenced by ASensor::CreateROSTopic(), USimulatorJsonExporter::ExportSensorToJSON(), ASensor::GetActorInformation_Implementation(), and USensorFactory::SetSensorIdentifierAndNameWithFallbacks().
|
static |
Definition at line 88 of file EnumUtilities.cpp.
Referenced by UAgrarsenseSettings::SetAntiAliasingMethodFromString().
|
inlinestaticprivate |
Convert an FString to an enum value of type TEnum.
EnumString | - The string representation of the enum value. |
EnumTypeName | - The full type name of the enum in the format "/Script/[ProjectName].[ClassName]" |
Definition at line 141 of file EnumUtilities.h.
|
static |
Definition at line 8 of file EnumUtilities.cpp.
Referenced by USimulatorJsonParser::ParsePropOrFoliage().
|
static |
Definition at line 18 of file EnumUtilities.cpp.
Referenced by USimulatorJsonParser::ParsePropOrFoliage().
|
static |
Definition at line 78 of file EnumUtilities.cpp.
Referenced by UAgrarsenseSettings::ParseLaunchArguments(), and UAgrarsenseSettings::SetQualityLevelFromString().
|
static |
Definition at line 28 of file EnumUtilities.cpp.
Referenced by USimulatorJsonParser::SpawnSensorToVehicle(), and USimulatorJsonParser::SpawnSensorWorld().
|
static |
Definition at line 38 of file EnumUtilities.cpp.
Referenced by USimulatorJsonParser::ParseVehicle().
|
static |
Definition at line 58 of file EnumUtilities.cpp.
Referenced by USimulatorJsonParser::SpawnWalker().
|
static |
Definition at line 68 of file EnumUtilities.cpp.
Referenced by USimulatorJsonParser::SpawnWalker().
|
static |
Definition at line 48 of file EnumUtilities.cpp.
Referenced by USimulatorJsonParser::SpawnWalker().
|
static |
Definition at line 43 of file EnumUtilities.cpp.
Referenced by AVehicle::GetActorInformation_Implementation(), and UAssetLibrary::SpawnVehicle().
|
static |
Definition at line 63 of file EnumUtilities.cpp.
|
static |
Definition at line 73 of file EnumUtilities.cpp.
|
static |
Definition at line 53 of file EnumUtilities.cpp.
Referenced by USimulatorJsonExporter::ExportWalkerToJSON(), AWalker::GetActorInformation_Implementation(), and UAssetLibrary::SpawnWalker().
|
inlinestatic |
Convert an enum type to a TMap<FString, TEnum>.
Definition at line 90 of file EnumUtilities.h.
|
inlinestatic |
Definition at line 111 of file EnumUtilities.h.