38 std::ostringstream os;
39 os << str << i <<
'\0';
46 std::ostringstream os;
47 os << str << i <<
'\0';
55 if ( name !=
"*ENDDO" ) {
56 while ( name.find(
"#.") != G4String::npos ) {
60 while ( name.rfind(
'\"') != name.length()-1 ) {
76 while (dowhat != str && is) {
78 while (firstwd !=
"*DO" && is) {
89 std::ostream&
tab(std::ostream& os) {
95 std::istream&
jump(std::istream& is) {
102 if (first ==
'#' && second ==
'.') {
105 else if (first ==
'\n');
118 G4String fullname = pathname+
"/"+filename;
119 is.open( fullname.c_str() );
121 G4cerr <<
"ERROR: Could not open file " << filename <<
G4endl;
static constexpr double second
std::ifstream & readName(std::ifstream &, G4String &)
BasicVector3D< float > operator+(const BasicVector3D< float > &v)
bool openGeomFile(std::ifstream &is, const G4String &pathname, const G4String &filename)
G4String strip(G4int strip_Type=trailing, char c=' ')
std::ifstream & findDO(std::ifstream &, const G4String &)
G4GLOB_DLL std::ostream G4cerr
std::ostream & tab(std::ostream &)
std::istream & jump(std::istream &)