|
Points&Forces (core)
Software tools facilitating the task of surveying architecture
|
unit system More...
#include <a_unit_system.h>
Inheritance diagram for a_unit_system:
Collaboration diagram for a_unit_system:Public Member Functions | |
| a_unit_system () | |
| a_unit_system (const a_unit_system &) | |
| ~a_unit_system () | |
| virtual const std::string | classname () |
| void | name (const std::string name) |
| std::string | name () const |
| void | decimals1 (const int val) |
| int | decimals1 () const |
| void | decimals2 (const int val) |
| int | decimals2 () const |
| int | levels1 () const |
| int | levels2 () const |
| void | addlevel1 (a_unit &u) |
| void | addlevel2 (a_unit &u) |
| a_unit * | level1 (int n) const |
| a_unit * | level2 (int n) const |
| std::string | dim1 (const double v) |
| std::string | dim1_det (const double v) |
| std::string | dim2 (const double v) |
| std::string | dim2_det (const double v) |
| std::string | dim1 (const a_point &) |
| virtual void | read (std::istream &i) |
| virtual void | write (std::ostream &o) const |
Public Member Functions inherited from a_base | |
| a_base () | |
| void | read (const std::string &file_in) |
| void | write (const std::string &file_out) const |
| void | small (double tol) |
| double | small () const |
Static Public Member Functions | |
| static const std::string | help () |
Static Public Member Functions inherited from a_unit_base | |
| static const std::string | help () |
Static Public Member Functions inherited from a_base | |
| static const std::string | help () |
Protected Member Functions | |
| void | reset () |
Protected Attributes | |
| std::string | name_ |
| std::deque< a_unit * > | levels1_ |
| std::deque< a_unit * > | levels2_ |
| int | decimals1_ |
| int | decimals2_ |
Protected Attributes inherited from a_base | |
| double | verysmall_ |
unit system
| a_unit_system::file_error |
Definition at line 33 of file a_unit_system.h.
|
inline |
Definition at line 36 of file a_unit_system.h.
| a_unit_system::a_unit_system | ( | const a_unit_system & | u | ) |
| a_unit_system::~a_unit_system | ( | ) |
| void a_unit_system::addlevel1 | ( | a_unit & | u | ) |
Definition at line 139 of file a_unit_system.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| void a_unit_system::addlevel2 | ( | a_unit & | u | ) |
Definition at line 153 of file a_unit_system.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
return class name: should be overridden by children classes
Reimplemented from a_unit_base.
Definition at line 39 of file a_unit_system.h.
|
inline |
Definition at line 45 of file a_unit_system.h.
|
inline |
|
inline |
Definition at line 47 of file a_unit_system.h.
|
inline |
| std::string a_unit_system::dim1 | ( | const a_point & | p | ) |
| std::string a_unit_system::dim1 | ( | const double | v | ) |
Definition at line 167 of file a_unit_system.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string a_unit_system::dim1_det | ( | const double | v | ) |
| std::string a_unit_system::dim2 | ( | const double | v | ) |
Definition at line 211 of file a_unit_system.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string a_unit_system::dim2_det | ( | const double | v | ) |
|
static |
Definition at line 23 of file a_unit_system.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| a_unit * a_unit_system::level1 | ( | int | n | ) | const |
| a_unit * a_unit_system::level2 | ( | int | n | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 42 of file a_unit_system.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
read object from stream: should be overridden by children classes
Reimplemented from a_base.
Definition at line 59 of file a_unit_system.cxx.
Here is the call graph for this function:
|
protected |
|
virtual |
write object to stream: should be overridden by children classes
Reimplemented from a_base.
Definition at line 81 of file a_unit_system.cxx.
Here is the call graph for this function:
|
protected |
Definition at line 71 of file a_unit_system.h.
|
protected |
Definition at line 72 of file a_unit_system.h.
|
protected |
Definition at line 69 of file a_unit_system.h.
|
protected |
Definition at line 70 of file a_unit_system.h.
|
protected |
Definition at line 68 of file a_unit_system.h.