32 namespace G4DimensionedTypeUtils
55 G4UnitsTable::const_iterator iterTable = unitTable.begin();
60 while (!gotUnit && (iterTable != unitTable.end())) {
63 G4UnitsContainer::const_iterator iterUnits =
64 std::find_if(unitContainer.begin(), unitContainer.end(), myUnit);
66 if (iterUnits != unitContainer.end()) {
67 value = (*iterUnits)->GetValue();
G4bool GetUnitValue(const G4String &unit, G4double &value)
bool operator()(const G4UnitDefinition *value) const
std::vector< G4UnitsCategory * > G4UnitsTable
const G4String & GetSymbol() const
const XML_Char int const XML_Char * value
const G4String & GetName() const
static G4UnitsTable & GetUnitsTable()
HasName(const G4String &name)
std::vector< G4UnitDefinition * > G4UnitsContainer
static void BuildUnitsTable()