antioch-0.4.0
|
wrapper for unit storage More...
#include <unit_base.h>
Public Member Functions | |
UnitBase (const std::string &sym, const std::string &nam, const T &fac, const T &trans, int mi, int kgi=0, int si=0, int Ai=0, int Ki=0, int moli=0, int cdi=0, int radi=0) | |
~UnitBase () | |
template<typename P = T> | |
const P | factor () const |
template<typename P = T> | |
const P | translator () const |
template<typename P = T> | |
const Converter< P > | converter () const |
const std::string | name () const |
const std::string | symbol () const |
const InSI | power_array () const |
Private Member Functions | |
UnitBase () | |
no default possible More... | |
Private Attributes | |
Converter< T > | _conversion |
InSI | _power_base |
std::string | _symbol |
std::string | _name |
wrapper for unit storage
Definition at line 42 of file unit_base.h.
|
inline |
Definition at line 44 of file unit_base.h.
|
inline |
Definition at line 51 of file unit_base.h.
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 68 of file unit_base.h.
Referenced by Antioch::UnitBase< T >::converter(), Antioch::UnitBase< T >::factor(), and Antioch::UnitBase< T >::translator().
|
private |
Definition at line 71 of file unit_base.h.
Referenced by Antioch::UnitBase< T >::name().
|
private |
Definition at line 69 of file unit_base.h.
Referenced by Antioch::UnitBase< T >::power_array().
|
private |
Definition at line 70 of file unit_base.h.
Referenced by Antioch::UnitBase< T >::symbol().