Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
G4tgrSolidBoolean.cc File Reference
#include "G4tgrSolidBoolean.hh"
#include "G4tgrUtils.hh"
#include "G4tgrVolume.hh"
#include "G4tgrVolumeMgr.hh"
#include "G4tgrMessenger.hh"
#include "G4tgrFileReader.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4tgrSolidBoolean &sol)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4tgrSolidBoolean sol 
)

Definition at line 117 of file G4tgrSolidBoolean.cc.

References G4endl, G4tgrSolid::theName, and G4tgrSolid::theType.

118 {
119  os << "G4tgrSolidBoolean= " << sol.theName << " of type " << sol.theType
120  << " PARAMS: ";
121  if( sol.theSolidParams.size() != 0 )
122  {
123  std::vector<G4double> solpar = *(sol.theSolidParams[0]);
124  for( size_t ii = 0; ii < solpar.size(); ii++)
125  {
126  os << solpar[ii] << " " ;
127  }
128  }
129  os << G4endl;
130 
131  return os;
132 }
G4String theType
Definition: G4tgrSolid.hh:75
G4String theName
Definition: G4tgrSolid.hh:73
#define G4endl
Definition: G4ios.hh:61