Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CrossSectionFactoryRegistry.cc File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &msg, const G4CrossSectionFactoryRegistry &rhs)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & msg,
const G4CrossSectionFactoryRegistry & rhs )

Definition at line 88 of file G4CrossSectionFactoryRegistry.cc.

88 {
89 msg<<"Factory Registry "<<&rhs<<" has factories: [";
90 for ( std::map<G4String,G4VBaseXSFactory*>::const_iterator it =rhs.factories.begin();
91 it != rhs.factories.end() ; ++it )
92 {
93 msg<<(*it).first<<":"<<(*it).second<<",";
94 }
95 msg<<"]";
96 return msg;
97}