|
Classes |
class | FdStreambuf |
class | FdStreamBase |
class | IFdStream |
class | OFdStream |
class | FdStream |
class | Error |
class | EndOfFile |
class | DoesNotExist |
class | AlreadyExists |
class | Failure |
Functions |
void | Close (AtomicFile &vaf) throw (FS::Failure) |
void | OpenReadOnly (const Text &fname, std::ifstream &ifs) throw (DoesNotExist, Failure) |
void | OpenForWriting (const Text &fname, std::ofstream &ofs) throw (Failure) |
void | Seek (std::istream &ifs, std::streamoff offset, std::ios::seekdir orig=std::ios::beg) throw (Failure) |
void | Seek (std::ostream &ofs, std::streamoff offset, std::ios::seekdir orig=std::ios::beg) throw (Failure) |
std::streampos | Posn (std::istream &ifs) throw (Failure) |
std::streampos | Posn (std::ostream &ofs) throw (Failure) |
void | Read (std::istream &ifs, char *buff, int n) throw (EndOfFile, Failure) |
void | Write (std::ostream &ofs, char *buff, int n) throw (Failure) |
void | Copy (std::istream &ifs, std::ostream &ofs, int len) throw (EndOfFile, Failure) |
bool | AtEOF (std::istream &is) throw () |
void | Flush (std::ostream &ofs) throw (Failure) |
void | Close (std::ifstream &ifs) throw (Failure) |
void | Close (std::ofstream &ofs) throw (Failure) |
void | Close (std::fstream &fs) throw (Failure) |
void | Delete (const Text &fname) throw (Failure) |
bool | DeleteDir (const Text &dirname) throw (Failure) |
bool | Exists (const Text &fname) throw () |
bool | IsFile (const Text &fname) throw () |
bool | IsDirectory (const Text &fname) throw () |
void | Touch (const Text &fname, mode_t mode=(S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH), bool allowOverwrite=true) throw (AlreadyExists, Failure) |
Text | TempFname (Text prefix, Text(*suffix_func)(), mode_t mode=(S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) throw (Failure) |
Text | GetAbsolutePath (const Text &fname) throw (Failure) |
Text | RemoveSpecialArcs (const Text &fname) throw () |
void | SplitPath (const Text &fname, Text &name, Text &parent) throw (Failure) |
Text | ParentDir (const Text &fname) throw (Failure) |