hydrobricks
Loading...
Searching...
No Matches
HydroUnitProperty.h
1#ifndef HYDROBRICKS_HYDRO_UNIT_PROPERTY_H
2#define HYDROBRICKS_HYDRO_UNIT_PROPERTY_H
3
4#include "Includes.h"
5
6class HydroUnitProperty : public wxObject {
7 public:
9
10 HydroUnitProperty(string name, double value, string unit = "");
11
12 HydroUnitProperty(string name, string valueString, string unit = "");
13
14 ~HydroUnitProperty() override = default;
15
16 double GetValue(const string& unit = "") const;
17
18 string GetValueString() const;
19
20 string GetName() {
21 return m_name;
22 }
23
24 protected:
25 private:
26 string m_name;
27 string m_unit;
28 double m_value;
29 string m_valueString;
30};
31
32#endif // HYDROBRICKS_HYDRO_UNIT_PROPERTY_H
Definition HydroUnitProperty.h:6