Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
@@ -62,13 +62,13 @@ class G4FileUtilities
std::string StrErrNo() const { return ::strerror(errno); };
// returns the error message of the last system call as string.
int Shell(std::string s) { return ::system(s.c_str()); };
G4int Shell(std::string str) { return ::system(str.c_str()); };
// execute the shell command. returns zero if success.
int CopyFile(const std::string srcFile, const std::string dstFile);
G4int CopyFile(const std::string srcFile, const std::string dstFile);
// copies the "srcFile" to "dstFile". returns zero if success.
int DeleteFile(const std::string file, const std::string option);
G4int DeleteFile(const std::string file, const std::string option);
// deletes the "file" with the "option". returns zero if success.
std::string GetEnv(const std::string env) { return ::getenv(env.c_str()); };