31 #ifndef FILE_UTILITIES_HH
32 #define FILE_UTILITIES_HH 1
36 #include <sys/types.h>
62 std::string
StrErrNo()
const { return ::strerror(errno); };
68 G4int CopyFile(
const std::string srcFile,
const std::string dstFile);
74 std::string
GetEnv(
const std::string env) { return ::getenv(env.c_str()); };
system("rm -rf microbeam.root")
G4int Shell(std::string str)
G4bool FileExists(const std::string file)
std::string GetEnv(const std::string env)
G4int CopyFile(const std::string srcFile, const std::string dstFile)
G4int DeleteFile(const std::string file, const std::string option)
std::string StrErrNo() const