G4DataVector.cc File Reference

#include "G4DataVector.hh"
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const G4DataVector &pv)


Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const G4DataVector pv 
)

Definition at line 137 of file G4DataVector.cc.

References G4endl.

00138 {
00139   out << pv.size() << std::setprecision(12) << G4endl; 
00140   for(size_t i = 0; i < pv.size(); i++)
00141   {
00142     out << pv[i] << G4endl;
00143   }
00144   out << std::setprecision(6);
00145 
00146   return out;
00147 }


Generated on Mon May 27 17:50:40 2013 for Geant4 by  doxygen 1.4.7