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