Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
G4CrossSectionFactoryRegistry.cc File Reference
#include "G4CrossSectionFactoryRegistry.hh"
#include "G4CrossSectionFactory.hh"
#include "G4AutoLock.hh"
#include "globals.hh"

Go to the source code of this file.

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 }