5#ifndef _UDUnitsClass_h_
6#define _UDUnitsClass_h_
103 bool Convert(
const std::string from,
const std::string to,
const float *src,
float *dst,
size_t n)
const;
105 bool Convert(
const std::string from,
const std::string to,
const double *src,
double *dst,
size_t n)
const;
113 void DecodeTime(
double seconds,
int *year,
int *month,
int *day,
int *hour,
int *minute,
int *second)
const;
121 double EncodeTime(
int year,
int month,
int day,
int hour,
int minute,
int second)
const;
131 std::map<int, std::string> _statmsg;
bool IsLengthUnit(std::string unitstr) const
bool AreUnitsConvertible(const ut_unit *unit, std::string unitstr) const
bool IsPressureUnit(std::string unitstr) const
void DecodeTime(double seconds, int *year, int *month, int *day, int *hour, int *minute, int *second) const
double EncodeTime(int year, int month, int day, int hour, int minute, int second) const
std::string GetErrMsg() const
bool IsLonUnit(std::string unitstr) const
bool ValidUnit(std::string unitstr) const
bool Convert(const std::string from, const std::string to, const double *src, double *dst, size_t n) const
bool IsLatUnit(std::string unitstr) const
bool Convert(const std::string from, const std::string to, const float *src, float *dst, size_t n) const
bool IsLatOrLonUnit(std::string unitstr) const
static std::string GetDatabasePath()
bool IsTimeUnit(std::string unitstr) const
struct ut_system ut_system