55 auto iterTable = unitTable.begin();
60 while (!gotUnit && (iterTable != unitTable.end())) {
64 std::find_if(unitContainer.begin(), unitContainer.end(), myUnit);
66 if (iterUnits != unitContainer.end()) {
67 value = (*iterUnits)->GetValue();
std::vector< G4UnitDefinition * > G4UnitsContainer
std::vector< G4UnitsCategory * > G4UnitsTable
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)