#include "G4DataVector.hh"
#include "G4OrderedTable.hh"
#include <iostream>
#include <fstream>
#include <iomanip>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &out, G4OrderedTable &right) |
std::ostream& operator<< | ( | std::ostream & | out, | |
G4OrderedTable & | right | |||
) |
Definition at line 199 of file G4OrderedTable.cc.
References G4endl, and G4DataVector::T_G4DataVector.
00201 { 00202 // Printout Data Vector 00203 size_t i=0; 00204 for (G4OrderedTableIterator itr=right.begin(); itr!=right.end(); ++itr) 00205 { 00206 out << std::setw(8) << i << "-th Vector "; 00207 out << ": Type " << G4DataVector::T_G4DataVector << G4endl; 00208 out << *(*itr); 00209 i +=1; 00210 } 00211 out << G4endl; 00212 return out; 00213 }