Manages the different units.
More...
#include <physics/tkunit.h>
|
| enum | units_keys {
Undef_unit
, eV
, keV
, MeV
,
GeV
, TeV
, as
, fs
,
ps
, ns
, us
, ms
,
s
, min
, h
, d
,
y
, am
, fm
, pm
,
nm
, um
, mm
, cm
,
m
} |
| | units identifiers More...
|
| |
| enum | units_type {
kUndef_type
, kEnergy
, kTime
, kLenght
,
kNoConvUnits
} |
| | flags that qualify the unit type More...
|
| |
Manages the different units.
See the measures and units user guide.
Definition at line 31 of file tkunit.h.
◆ units_keys
units identifiers
| Enumerator |
|---|
| Undef_unit | |
| eV | |
| keV | |
| MeV | |
| GeV | |
| TeV | |
| as | |
| fs | |
| ps | |
| ns | |
| us | |
| ms | |
| s | |
| min | |
| h | |
| d | |
| y | |
| am | |
| fm | |
| pm | |
| nm | |
| um | |
| mm | |
| cm | |
| m | |
Definition at line 46 of file tkunit.h.
◆ units_type
flags that qualify the unit type
| Enumerator |
|---|
| kUndef_type | |
| kEnergy | |
| kTime | |
| kLenght | |
| kNoConvUnits | |
Definition at line 38 of file tkunit.h.
◆ tkunit_manager()
◆ ~tkunit_manager()
◆ get_key()
retuns unit key
Definition at line 79 of file tkunit.h.
◆ get_name()
retuns unit name
Definition at line 73 of file tkunit.h.
◆ get_type()
retuns unit type
Definition at line 95 of file tkunit.h.
◆ the_unit_manager()
db_manager is a singleton
Definition at line 82 of file tkunit.cpp.
◆ tkunit
◆ funits_properties
The documentation for this class was generated from the following files: