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();
std::vector< G4UnitsCategory * > G4UnitsTable
std::vector< G4UnitDefinition * > G4UnitsContainer
bool operator()(const G4UnitDefinition *value) const
HasName(const G4String &name)
static void BuildUnitsTable()
const G4String & GetName() const
static G4UnitsTable & GetUnitsTable()
const G4String & GetSymbol() const
G4bool GetUnitValue(const G4String &unit, G4double &value)