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

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.

138 {
139  out << pv.size() << std::setprecision(12) << G4endl;
140  for(size_t i = 0; i < pv.size(); i++)
141  {
142  out << pv[i] << G4endl;
143  }
144  out << std::setprecision(6);
145 
146  return out;
147 }
#define G4endl
Definition: G4ios.hh:61