36 #ifndef TF_FS_H_VERSION 38 #define TF_FS_H_VERSION \ 42 #include<tfxx/error.h> 85 virtual void report()
const;
113 std::string
dirname(
const std::string& path);
120 void mkdir(
const std::string& path);
127 void mkdirp(
const std::string& path);
133 #endif // TF_FS_H_VERSION (includeguard) bool iserrno(const int &en) const
true, if exception reports error en
std::string dirname(const std::string &path)
return path with its last non-slash component removed
virtual ~FSException()
provide explicit virtual destructor
exception class for file system utilities
virtual void report() const
Screen report.
FSException(const char *message, const char *file, const int &line, const int &en)
Create with message, failed assertion, and code position.
void fs_report() const
my report
tfxx::error::Exception TBase
base class
Base class for exceptions.
void mkdirp(const std::string &path)
create a directory with all parents
void mkdir(const std::string &path)
create a directory
Namespace containing all code of library libtfxx.