35 std::ostream&
operator<<
36 (std::ostream& os,
const std::map<G4String,G4AttDef>* definitions)
38 os <<
"Deprecated output function. Use const reference equivalent." << endl;
42 os <<
"G4AttCheck: ERROR: zero definitions pointer." << endl;
47 std::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 <<
")";