36 std::ostream&
operator<<
37 (std::ostream& os,
const std::map<G4String,G4AttDef>* definitions)
39 os <<
"Deprecated output function. Use const reference equivalent." << endl;
43 os <<
"G4AttCheck: ERROR: zero definitions pointer." << endl;
48 std::ostream&
operator<<
49 (std::ostream& os,
const std::map<G4String,G4AttDef>& definitions)
53 os << storeKey <<
":";
55 std::map<G4String,G4AttDef>::const_iterator i;
56 for (i = definitions.begin(); i != definitions.end(); ++i) {
61 <<
" (" << name <<
"): ";
63 if (attDef.
GetExtra() !=
"G4BestUnit") os <<
"unit: ";
67 if (!attDef.
GetExtra().empty()) os <<
")";
G4bool GetStoreKey(const std::map< G4String, G4AttDef > *definitions, G4String &key)
const G4String & GetExtra() const
const G4String & GetValueType() const
const G4String & GetDesc() const
const G4String & GetCategory() const