4 ///////////////////////////////////////////////////////////////////
6 // Some utility methods used for several wrapped functions
8 ///////////////////////////////////////////////////////////////////
11 #define WrapUtils_hh 1
13 //#include <iostream.h>
15 #include "G4NavigationHistory.hh"
16 #include "G4ThreeVector.hh"
18 //Forward declarations
20 //StepAndLocation declaration. Used in:
23 G4int StepAndLocation(G4ThreeVector &, const G4ThreeVector &,
24 const G4double &, G4double &, G4double &, G4bool &,
25 G4bool &, const G4int &);
27 //EqualHistories declaration: true if histories are identical, otherwise false.
30 bool EqualHistories(const G4NavigationHistory*,
31 const G4NavigationHistory*);
33 // Common print utilities used in FGeometryInit.cc
34 inline G4std::ostream& setw10(G4std::ostream& os) { return os << G4std::setw(10);}
35 inline G4std::ostream& setscientific(G4std::ostream& os) { return os << G4std::setiosflags(G4std::ios::scientific);}
36 inline G4std::ostream& setfixed(G4std::ostream& os) { return os << G4std::setiosflags(G4std::ios::fixed);}
37 G4std::ostream& PrintHeader(G4std::ostream& os, const char* title);
38 G4String ToFlukaString(G4String str);