6 #ifndef _UDUnitsClass_h_
7 #define _UDUnitsClass_h_
44 bool IsPressureUnit(std::string unitstr)
const;
49 bool IsTimeUnit(std::string unitstr)
const;
54 bool IsLatUnit(std::string unitstr)
const;
59 bool IsLonUnit(std::string unitstr)
const;
64 bool IsLengthUnit(std::string unitstr)
const;
70 bool AreUnitsConvertible(
const ut_unit *unit, std::string unitstr)
const;
75 bool ValidUnit(std::string unitstr)
const;
98 const std::string from,
106 const std::string from,
107 const std::string to,
120 double seconds,
int* year,
int* month,
int* day,
121 int* hour,
int* minute,
int* second
131 int year,
int month,
int day,
int hour,
int minute,
int second
139 std::string GetErrMsg()
const;
142 std::map <int, std::string> _statmsg;
144 ut_unit *_pressureUnit;
148 ut_unit *_lengthUnit;
149 ut_system *_unitSystem;