#include <CocoaUnitsTable.h>
Public Member Functions | |
CocoaUnitDefinition (const ALIstring &name, const ALIstring &symbol, const ALIstring &category, ALIdouble value) | |
const ALIstring & | GetName () const |
const ALIstring & | GetSymbol () const |
ALIdouble | GetValue () const |
ALIint | operator!= (const CocoaUnitDefinition &) const |
ALIint | operator== (const CocoaUnitDefinition &) const |
void | PrintDefinition () |
~CocoaUnitDefinition () | |
Static Public Member Functions | |
static void | BuildUnitsTable () |
static ALIstring | GetCategory (const ALIstring &) |
static CocoaUnitsTable & | GetUnitsTable () |
static ALIdouble | GetValueOf (const ALIstring &) |
static void | PrintUnitsTable () |
Private Member Functions | |
CocoaUnitDefinition (const CocoaUnitDefinition &) | |
CocoaUnitDefinition & | operator= (const CocoaUnitDefinition &) |
Private Attributes | |
size_t | CategoryIndex |
ALIstring | Name |
ALIstring | SymbolName |
ALIdouble | Value |
Static Private Attributes | |
static CocoaUnitsTable | theUnitsTable |
Definition at line 18 of file CocoaUnitsTable.h.
CocoaUnitDefinition::CocoaUnitDefinition | ( | const ALIstring & | name, |
const ALIstring & | symbol, | ||
const ALIstring & | category, | ||
ALIdouble | value | ||
) |
Definition at line 12 of file CocoaUnitsTable.cc.
References CategoryIndex, GetName(), i, and theUnitsTable.
Referenced by BuildUnitsTable().
CocoaUnitDefinition::~CocoaUnitDefinition | ( | ) |
Definition at line 34 of file CocoaUnitsTable.cc.
References i, and theUnitsTable.
|
private |
Definition at line 44 of file CocoaUnitsTable.cc.
|
static |
Definition at line 137 of file CocoaUnitsTable.cc.
References CocoaUnitDefinition(), fermi, g, and edm::second().
Referenced by CocoaBestUnit::CocoaBestUnit(), GetCategory(), GetValue(), and GetValueOf().
Definition at line 106 of file CocoaUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, i, j, dataset::name, theUnitsTable, and units().
Referenced by GetValue().
|
inline |
Definition at line 38 of file CocoaUnitsTable.h.
References Name.
Referenced by CocoaUnitDefinition().
|
inline |
|
static |
Definition at line 79 of file CocoaUnitsTable.cc.
References theUnitsTable.
Referenced by CocoaBestUnit::CocoaBestUnit(), GetValue(), and operator<<().
|
inline |
Definition at line 40 of file CocoaUnitsTable.h.
References BuildUnitsTable(), GetCategory(), GetUnitsTable(), GetValueOf(), PrintDefinition(), PrintUnitsTable(), and Value.
Definition at line 86 of file CocoaUnitsTable.cc.
References BuildUnitsTable(), gather_cfg::cout, i, j, dataset::name, theUnitsTable, and units().
Referenced by GetValue().
ALIint CocoaUnitDefinition::operator!= | ( | const CocoaUnitDefinition & | right | ) | const |
Definition at line 72 of file CocoaUnitsTable.cc.
|
private |
Definition at line 51 of file CocoaUnitsTable.cc.
References CategoryIndex, Name, SymbolName, and Value.
ALIint CocoaUnitDefinition::operator== | ( | const CocoaUnitDefinition & | right | ) | const |
Definition at line 65 of file CocoaUnitsTable.cc.
void CocoaUnitDefinition::PrintDefinition | ( | ) |
Definition at line 127 of file CocoaUnitsTable.cc.
References CategoryIndex, gather_cfg::cout, Name, SymbolName, theUnitsTable, and Value.
Referenced by GetValue().
|
static |
Definition at line 253 of file CocoaUnitsTable.cc.
References gather_cfg::cout, i, and theUnitsTable.
Referenced by GetValue().
|
private |
Definition at line 62 of file CocoaUnitsTable.h.
Referenced by CocoaUnitDefinition(), operator=(), and PrintDefinition().
|
private |
Definition at line 54 of file CocoaUnitsTable.h.
Referenced by GetName(), CocoaUnitsCategory::GetName(), operator=(), and PrintDefinition().
|
private |
Definition at line 55 of file CocoaUnitsTable.h.
Referenced by GetSymbol(), operator=(), and PrintDefinition().
|
staticprivate |
Definition at line 59 of file CocoaUnitsTable.h.
Referenced by CocoaUnitDefinition(), GetCategory(), GetUnitsTable(), GetValueOf(), PrintDefinition(), PrintUnitsTable(), and ~CocoaUnitDefinition().
|
private |
Definition at line 56 of file CocoaUnitsTable.h.
Referenced by GetValue(), CocoaBestUnit::GetValue(), operator=(), and PrintDefinition().