#include <Quantity.h>
| Public Types | |
| typedef UL | Units | 
| the list of Units | |
| Public Member Functions | |
| static::unit::Unit< UT > * | unit (const std::string &unitstring) | 
| return a unit which has unitstring as the symbol; | |
| Static Public Member Functions | |
| std::vector< std::string > | allsymbols (void) | 
| return a vector of the strings of all unit symbols | |
| Private Types | |
| typedef unit::CheckUnits< unit::Unit< UT >, UL >::Check | Check | 
| check that all units in UL are subclassed from Unit<UT> | |
Definition at line 172 of file Quantity.h.
| 
 | |||||
| check that all units in UL are subclassed from Unit<UT> Check is a dummy type. Definition at line 179 of file Quantity.h. | 
| 
 | |||||
| the list of Units 
 Definition at line 183 of file Quantity.h. | 
| 
 | ||||||||||
| return a vector of the strings of all unit symbols uses ListUnitSymbols to extract all symbol strings from the typelist UL as a vector of std::strings Definition at line 201 of file Quantity.h. | 
| 
 | ||||||||||
| return a unit which has unitstring as the symbol; uses UnitPointerBySymbol to scan the Typelist UL and returns the object created by this process; the object returned must be delete'd by the calling program if no longer needed; important: the returned object is the base unit class, in order to allow the use of its virtual functions polymorphically; however, you can not make decisions based on its type! Definition at line 194 of file Quantity.h. | 
 1.3.6
 1.3.6