50 const std::string& name = std::string(
""),
51 float minimum = 0.0,
float maximum = 0.0);
58 static std::string convertIndexToName(
unsigned int index);
59 static unsigned int convertNameToIndex(
const std::string& name);
65 static float convertIndexToWindSpeed(
unsigned int index);
66 static unsigned int convertWindSpeedToIndex(
float speed);
The DtBeaufortWindScale is a utility class for converting wind speeds.
Definition: DtBeaufortWindScale.h:25
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
float myMinimum
Definition: DtBeaufortWindScale.h:74
float myMaximum
Definition: DtBeaufortWindScale.h:75
Definition: DtBeaufortWindScale.h:33
Definition: DtBeaufortWindScale.h:41
Definition: DtBeaufortWindScale.h:35
Contains DLL export macros.
Definition: DtBeaufortWindScale.h:34
Definition: DtBeaufortWindScale.h:37
Definition: DtBeaufortWindScale.h:36
Definition: DtBeaufortWindScale.h:39
std::vector< DtBeaufortWindScale > WindSpeedList
Definition: DtBeaufortWindScale.h:77
Definition: DtBeaufortWindScale.h:38
Definition: DtBeaufortWindScale.h:43
Definition: DtBeaufortWindScale.h:40
std::string myName
Definition: DtBeaufortWindScale.h:73
Definition: DtBeaufortWindScale.h:44
static WindSpeedList myStates
Definition: DtBeaufortWindScale.h:78
Definition: DtBeaufortWindScale.h:42
unsigned int myIndex
Definition: DtBeaufortWindScale.h:72