35std::ostream&
operator<<
36(std::ostream& os,
const std::map<G4String,G4AttDef>* definitions)
38 os <<
"G4AttDef: Deprecated output function. Use const reference instead." << endl;
39 if (definitions !=
nullptr) {
42 os <<
"G4AttCheck: ERROR: zero definitions pointer." << endl;
47std::ostream&
operator<<
48(std::ostream& os,
const std::map<G4String,G4AttDef>& definitions)
52 os << storeKey <<
":";
54 std::map<G4String,G4AttDef>::const_iterator i;
55 for (i = definitions.begin(); i != definitions.end(); ++i) {
60 <<
" (" << name <<
"): ";
62 if (attDef.
GetExtra() !=
"G4BestUnit") os <<
"unit: ";
66 if (!attDef.
GetExtra().empty()) os <<
")";
const G4String & GetCategory() const
const G4String & GetExtra() const
const G4String & GetDesc() const
const G4String & GetValueType() const
G4bool GetStoreKey(const std::map< G4String, G4AttDef > *definitions, G4String &key)