52 #ifndef G4UnitsTable_HH
53 #define G4UnitsTable_HH
63 #ifdef G4MULTITHREADED
64 class G4UnitsTable :
public std::vector<G4UnitsCategory*>
127 #ifdef G4MULTITHREADED
131 {
return *pUnitsTableShadow;}
static G4ThreadLocal G4bool unitsTableDestroyed
G4int GetNameMxLen() const
G4UnitsCategory & operator=(const G4UnitsCategory &)
static void BuildUnitsTable()
G4int operator==(const G4UnitsCategory &) const
CLHEP::Hep3Vector G4ThreeVector
const G4String & GetCategory() const
G4UnitDefinition & operator=(const G4UnitDefinition &)
G4BestUnit(G4double internalValue, const G4String &category)
std::vector< G4UnitsCategory * > G4UnitsTable
G4int GetSymbMxLen() const
const char * name(G4int ptype)
const G4String & GetSymbol() const
static G4ThreadLocal G4UnitsTable * pUnitsTable
G4UnitsContainer & GetUnitsList()
G4UnitsCategory(const G4String &name)
static G4double GetValueOf(const G4String &)
void UpdateSymbMxLen(G4int len)
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 &)
G4UnitsContainer UnitsList
size_t GetIndexOfCategory() const