Agrarsense
EnumUtilities.cpp
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#include "EnumUtilities.h"
7
9{
10 return ConvertStringToEnum<EFoliageTypes>(String, TEXT("/Script/Agrarsense.EFoliageTypes"));
11}
12
14{
15 return UEnum::GetDisplayValueAsText(FoliageType).ToString();
16}
17
19{
20 return ConvertStringToEnum<EPropTypes>(String, TEXT("/Script/Agrarsense.EPropTypes"));
21}
22
24{
25 return UEnum::GetDisplayValueAsText(PropType).ToString();
26}
27
29{
30 return ConvertStringToEnum<ESensorTypes>(String, TEXT("/Script/Agrarsense.ESensorTypes"));
31}
32
34{
35 return UEnum::GetDisplayValueAsText(Sensortype).ToString();
36}
37
39{
40 return ConvertStringToEnum<EVehicleTypes>(String, TEXT("/Script/Agrarsense.EVehicleTypes"));
41}
42
44{
45 return UEnum::GetDisplayValueAsText(VehicleType).ToString();
46}
47
49{
50 return ConvertStringToEnum<EWalkerType>(String, TEXT("/Script/Agrarsense.EWalkerType"));
51}
52
54{
55 return UEnum::GetDisplayValueAsText(WalkerType).ToString();
56}
57
59{
60 return ConvertStringToEnum<EWalkerAction>(String, TEXT("/Script/Agrarsense.EWalkerAction"));
61}
62
64{
65 return UEnum::GetDisplayValueAsText(WalkerAction).ToString();
66}
67
69{
70 return ConvertStringToEnum<EWalkerEndAction>(String, TEXT("/Script/Agrarsense.EWalkerEndAction"));
71}
72
74{
75 return UEnum::GetDisplayValueAsText(WalkerEndAction).ToString();
76}
77
79{
80 return ConvertStringToEnum<EQualityLevel>(String, TEXT("/Script/Agrarsense.EQualityLevel"));
81}
82
84{
85 return UEnum::GetDisplayValueAsText(QualityLevel).ToString();
86}
87
89{
90 return ConvertStringToEnum<EAntiAliasing>(String, TEXT("/Script/Agrarsense.EAntiAliasing"));
91}
92
94{
95 return UEnum::GetDisplayValueAsText(AntiAliasingMethod).ToString();
96}
EAntiAliasing
Definition: AntiAliasing.h:15
EFoliageTypes
Definition: FoliageTypes.h:15
EPropTypes
Definition: PropTypes.h:15
EQualityLevel
Definition: QualityLevel.h:16
ESensorTypes
Definition: SensorTypes.h:15
EVehicleTypes
Definition: VehicleTypes.h:15
EWalkerAction
Definition: WalkerAction.h:15
EWalkerEndAction
EWalkerType
Definition: WalkerType.h:16
static EWalkerEndAction ConvertStringToWalkerEndActionType(const FString &String)
static FString ConvertWalkerEndActionTypeToString(EWalkerEndAction WalkerEndAction)
static FString ConvertSensorTypeToString(ESensorTypes Sensortype)
static ESensorTypes ConvertStringToSensorType(const FString &String)
static EWalkerAction ConvertStringToWalkerActionType(const FString &String)
static FString ConvertQualityLevelToString(EQualityLevel QualityLevel)
static FString ConvertAntiAliasingMethodToString(EAntiAliasing AntiAliasingMethod)
static EVehicleTypes ConvertStringToVehicleType(const FString &String)
static EWalkerType ConvertStringToWalkerType(const FString &String)
static FString ConvertPropTypeToString(EPropTypes PropType)
static EPropTypes ConvertStringToPropType(const FString &String)
static EFoliageTypes ConvertStringToFoliageType(const FString &String)
static FString ConvertVehicleTypeToString(EVehicleTypes VehicleType)
static FString ConvertWalkerTypeToString(EWalkerType WalkerType)
static EQualityLevel ConvertStringToQualityLevel(const FString &String)
static FString ConvertWalkerActionTypeToString(EWalkerAction WalkerAction)
static EAntiAliasing ConvertStringToAntiAliasingMethod(const FString &String)
static FString ConvertFoliageTypeToString(EFoliageTypes FoliageType)