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