Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4OrderedTable.cc File Reference
#include "G4DataVector.hh"
#include "G4OrderedTable.hh"
#include <iostream>
#include <fstream>
#include <iomanip>
Include dependency graph for G4OrderedTable.cc:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, G4OrderedTable &right)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
G4OrderedTable right 
)

Definition at line 199 of file G4OrderedTable.cc.

201 {
202  // Printout Data Vector
203  size_t i=0;
204  for (G4OrderedTableIterator itr=right.begin(); itr!=right.end(); ++itr)
205  {
206  out << std::setw(8) << i << "-th Vector ";
207  out << ": Type " << G4DataVector::T_G4DataVector << G4endl;
208  out << *(*itr);
209  i +=1;
210  }
211  out << G4endl;
212  return out;
213 }
G4OrderedTable::iterator G4OrderedTableIterator
#define G4endl
Definition: G4ios.hh:61