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;
std::ostream & tab(std::ostream &os)
bool openGeomFile(std::ifstream &is, const G4String &pathname, const G4String &filename)
std::ifstream & findDO(std::ifstream &is, const G4String &str)
G4String strip(G4int strip_Type=trailing, char c=' ')
G4String operator+(const G4String &str, const int i)
std::istream & jump(std::istream &is)
std::ifstream & readName(std::ifstream &is, G4String &name)
static const double second
G4GLOB_DLL std::ostream G4cerr