unit
More...
#include <a_unit.h>
|
static const std::string | help () |
|
static const std::string | help () |
|
static const std::string | help () |
|
unit
Definition at line 28 of file a_unit.h.
◆ a_unit() [1/3]
◆ a_unit() [2/3]
a_unit::a_unit |
( |
const a_unit & |
u | ) |
|
◆ a_unit() [3/3]
a_unit::a_unit |
( |
const std::string |
n, |
|
|
const std::string |
ns, |
|
|
double |
r |
|
) |
| |
◆ classname()
virtual const std::string a_unit::classname |
( |
| ) |
|
|
inlinevirtual |
return class name: should be overridden by children classes
Reimplemented from a_unit_base.
Definition at line 34 of file a_unit.h.
◆ help()
const std::string a_unit::help |
( |
| ) |
|
|
static |
◆ name() [1/2]
std::string a_unit::name |
( |
| ) |
const |
|
inline |
◆ name() [2/2]
void a_unit::name |
( |
const std::string |
name | ) |
|
|
inline |
◆ ratio() [1/2]
double a_unit::ratio |
( |
| ) |
const |
|
inline |
◆ ratio() [2/2]
void a_unit::ratio |
( |
const double |
ratio | ) |
|
|
inline |
◆ read()
void a_unit::read |
( |
std::istream & |
i | ) |
|
|
virtual |
read object from stream: should be overridden by children classes
Reimplemented from a_base.
Definition at line 31 of file a_unit.cxx.
◆ short_name() [1/2]
std::string a_unit::short_name |
( |
| ) |
const |
|
inline |
◆ short_name() [2/2]
void a_unit::short_name |
( |
const std::string |
name | ) |
|
|
inline |
◆ write()
void a_unit::write |
( |
std::ostream & |
o | ) |
const |
|
virtual |
write object to stream: should be overridden by children classes
Reimplemented from a_base.
Definition at line 102 of file a_unit.cxx.
◆ name_
std::string a_unit::name_ |
|
protected |
◆ ratio_
◆ short_name_
std::string a_unit::short_name_ |
|
protected |
The documentation for this class was generated from the following files: