Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CrossSectionFactoryRegistry.hh File Reference
#include <ostream>
#include <G4String.hh>
#include <map>
Include dependency graph for G4CrossSectionFactoryRegistry.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G4CrossSectionFactoryRegistry
 

Functions

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

Function Documentation

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

Definition at line 98 of file G4CrossSectionFactoryRegistry.cc.

98  {
99  msg<<"Factory Registry "<<&rhs<<" has factories: [";
100  for ( std::map<G4String,G4VBaseXSFactory*>::const_iterator it =rhs.factories.begin() ;
101  it != rhs.factories.end() ; ++it )
102  {
103  msg<<(*it).first<<":"<<(*it).second<<",";
104  }
105  msg<<"]";
106  return msg;
107 }