|
| HydroUnitProperty (string name, double value, string unit="") |
|
| HydroUnitProperty (string name, string valueString, string unit="") |
|
double | GetValue (const string &unit="") const |
|
string | GetValueString () const |
|
string | GetName () |
|
◆ GetName()
string HydroUnitProperty::GetName |
( |
| ) |
|
|
inline |
Get the name of the property.
- Returns
- The name of the property.
◆ GetValue()
double HydroUnitProperty::GetValue |
( |
const string & | unit = "" | ) |
const |
Get the value of the property.
- Parameters
-
unit | The unit to convert the value to. If empty, the original unit is used. |
- Returns
- The value of the property.
◆ GetValueString()
string HydroUnitProperty::GetValueString |
( |
| ) |
const |
Get the value of the property as a string.
- Returns
- The value of the property as a string.
The documentation for this class was generated from the following files:
- /github/workspace/core/src/spatial/HydroUnitProperty.h
- /github/workspace/core/src/spatial/HydroUnitProperty.cpp