52 #ifndef G4UnitsTable_HH
53 #define G4UnitsTable_HH
63 #ifdef G4MULTITHREADED
64 class G4UnitsTable :
public std::vector<G4UnitsCategory*>
127 #ifdef G4MULTITHREADED
131 {
return *pUnitsTableShadow;}
205 #include "G4UnitsTable.icc"
const G4String & GetCategory() const
G4int operator==(const G4UnitsCategory &) const
G4int GetNameMxLen() const
void UpdateNameMxLen(G4int len)
G4BestUnit(G4double internalValue, const G4String &category)
static G4ThreadLocal G4UnitsTable * pUnitsTable
G4UnitsContainer UnitsList
static G4bool IsUnitDefined(const G4String &)
G4int operator!=(const G4UnitDefinition &) const
std::vector< G4UnitsCategory * > G4UnitsTable
const G4String & GetSymbol() const
static void PrintUnitsTable()
const XML_Char int const XML_Char * value
friend std::ostream & operator<<(std::ostream &, G4BestUnit VU)
static void ClearUnitsTable()
const G4String & GetName() const
G4UnitsCategory(const G4String &name)
G4int GetSymbMxLen() const
static G4double GetValueOf(const G4String &)
G4UnitDefinition(const G4String &name, const G4String &symbol, const G4String &category, G4double value)
static G4UnitsTable & GetUnitsTable()
G4UnitDefinition & operator=(const G4UnitDefinition &)
G4int operator==(const G4UnitDefinition &) const
std::vector< G4UnitDefinition * > G4UnitsContainer
G4UnitsContainer & GetUnitsList()
size_t GetIndexOfCategory() const
G4int operator!=(const G4UnitsCategory &) const
G4double GetValue() const
static G4ThreadLocal G4bool unitsTableDestroyed
static G4String GetCategory(const G4String &)
void UpdateSymbMxLen(G4int len)
G4UnitsCategory & operator=(const G4UnitsCategory &)
const G4String & GetName() const
static void BuildUnitsTable()