#include <AugerUnitParser.h>
Public Types | |
typedef UnitEvaluator::SymbolTable | SymbolTable |
Public Member Functions | |
std::string | GetFormattedError () const |
const SymbolTable & | GetUnitTable () const |
double | Parse (const std::string &parsExp) const |
UnitGrammar::EErrors | Status () const |
Public Attributes | |
static AugerUnitParser &return | instance |
Private Member Functions | |
AugerUnitParser () | |
SymbolTable | MakeSymbolTable () |
~AugerUnitParser ()=default | |
Private Attributes | |
const UnitEvaluator | fEvaluator |
const SymbolTable | fSymbolTable |
Friends | |
class | utl::Singleton< AugerUnitParser > |
Definition at line 22 of file AugerUnitParser.h.
typedef UnitEvaluator::SymbolTable utl::AugerUnitParser::SymbolTable |
Definition at line 25 of file AugerUnitParser.h.
|
private |
Definition at line 105 of file AugerUnitParser.cc.
|
privatedefault |
|
inline |
Definition at line 33 of file AugerUnitParser.h.
References fEvaluator, and utl::UnitEvaluator::GetError().
|
inline |
Definition at line 36 of file AugerUnitParser.h.
References fEvaluator, and utl::UnitEvaluator::GetSymbolTable().
|
private |
Definition at line 10 of file AugerUnitParser.cc.
References utl::ampere, utl::atto, utl::becquerel, utl::candela, utl::centi, utl::centimeter, utl::centimeter2, utl::centimeter3, utl::coulomb, utl::curie, utl::deci, utl::degree, utl::deka, utl::electronvolt, utl::exa, utl::exaelectronvolt, utl::femto, utl::fraction, utl::giga, utl::gigaelectronvolt, utl::gram, utl::gray, utl::hecto, utl::hertz, utl::hour, utl::hPa, utl::Hz, utl::joule, utl::kelvin, utl::kHz, utl::kilo, utl::kiloelectronvolt, utl::kilogram, utl::kilohertz, utl::kilometer, utl::kilometer2, utl::kilometer3, utl::lumen, utl::lux, utl::mega, utl::megaelectronvolt, utl::megahertz, utl::meter, utl::meter2, utl::meter3, utl::MHz, utl::micro, utl::microsecond, utl::microtesla, utl::microvolt, utl::milli, utl::milliampere, utl::milligram, utl::millimeter, utl::millimeter2, utl::millimeter3, utl::milliradian, utl::millisecond, utl::millivolt, utl::minute, utl::nano, utl::nanometer, utl::nanosecond, utl::newton, utl::ohm, utl::pascal, utl::perCent, utl::permil, utl::peta, utl::petaelectronvolt, utl::pico, utl::radian, utl::second, utl::steradian, utl::tera, utl::teraelectronvolt, utl::tesla, utl::V, utl::volt, utl::watt, utl::yocto, utl::yotta, utl::zepto, utl::zetta, and utl::zettaelectronvolt.
|
inline |
Definition at line 27 of file AugerUnitParser.h.
References utl::UnitEvaluator::Evaluate(), and fEvaluator.
|
inline |
Definition at line 30 of file AugerUnitParser.h.
References fEvaluator, and utl::UnitEvaluator::GetStatus().
|
friend |
Definition at line 48 of file AugerUnitParser.h.
|
private |
Definition at line 46 of file AugerUnitParser.h.
Referenced by GetFormattedError(), GetUnitTable(), Parse(), and Status().
|
private |
Definition at line 45 of file AugerUnitParser.h.
|
inherited |
Definition at line 44 of file Singleton.h.