16 #ifndef _UNIT_SYSTEM_H_
17 #define _UNIT_SYSTEM_H_
39 virtual const std::string
classname() {
return "a_unit_system";};
40 static const std::string
help();
57 std::string
dim1(
const double v);
58 std::string
dim1_det(
const double v);
59 std::string
dim2(
const double v);
60 std::string
dim2_det(
const double v);
64 virtual void read(std::istream &i);
65 virtual void write(std::ostream &o)
const;
virtual void write(std::ostream &o) const
std::string dim2_det(const double v)
void addlevel2(a_unit &u)
void decimals1(const int val)
a_unit * level1(int n) const
std::deque< a_unit * > levels1_
static const std::string help()
std::string dim1_det(const double v)
std::string dim1(const double v)
void addlevel1(a_unit &u)
std::deque< a_unit * > levels2_
void name(const std::string name)
virtual void read(std::istream &i)
void decimals2(const int val)
std::string dim2(const double v)
virtual const std::string classname()
a_unit * level2(int n) const