/vesta/vestasys.org/basics/os/31/src/FS.C File Reference

#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <limits.h>
#include <Basics.H>
#include <BufStream.H>
#include "FS.H"

Include dependency graph for FS.C:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const FS::Failure &f) throw ()
void FS::OpenReadOnly (const Text &fname, std::ifstream &ifs) throw (FS::DoesNotExist, FS::Failure)
void FS::OpenForWriting (const Text &fname, std::ofstream &ofs) throw (FS::Failure)
void FS::Seek (std::istream &ifs, std::streamoff offset, ios::seekdir orig) throw (FS::Failure)
void FS::Seek (std::ostream &ofs, std::streamoff offset, ios::seekdir orig) throw (FS::Failure)
std::streampos FS::Posn (std::istream &ifs) throw (FS::Failure)
std::streampos FS::Posn (std::ostream &ofs) throw (FS::Failure)
void FS::Read (std::istream &ifs, char *buff, int n) throw (FS::EndOfFile, FS::Failure)
void FS::Write (std::ostream &ofs, char *buff, int n) throw (FS::Failure)
void FS::Copy (std::istream &ifs, std::ostream &ofs, int len) throw (FS::EndOfFile, FS::Failure)
bool FS::AtEOF (std::istream &is) throw ()
void FS::Flush (std::ostream &ofs) throw (FS::Failure)
void FS::Close (std::ifstream &ifs) throw (FS::Failure)
void FS::Close (std::ofstream &ofs) throw (FS::Failure)
void FS::Close (std::fstream &fs) throw (FS::Failure)
void FS::Delete (const Text &fname) throw (FS::Failure)
bool FS::DeleteDir (const Text &dirname) throw (FS::Failure)
bool FS::Exists (const Text &fname) throw ()
bool FS::IsFile (const Text &fname) throw ()
bool FS::IsDirectory (const Text &fname) throw ()
void FS::Touch (const Text &fname, mode_t mode, bool allowOverwrite) throw (FS::AlreadyExists, FS::Failure)
Text FS::ParentDir (const Text &fname) throw (FS::Failure)
Text FS::GetAbsolutePath (const Text &name) throw (FS::Failure)
Text FS::RemoveSpecialArcs (const Text &name) throw ()
void FS::SplitPath (const Text &fname, Text &name, Text &parent) throw (FS::Failure)
Text FS::TempFname (Text prefix, Text(*suffix_func)(), mode_t mode) throw (FS::Failure)
Text FS::CommonParent (const Text &fname1, const Text &fname2, Text *rest1, Text *rest2)
Text FS::GetFirstArc (const Text &name, Text *rest)
Text FS::getcwd () throw (FS::Failure)


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const FS::Failure f 
) throw ()

Definition at line 39 of file FS.C.


Generated on Thu May 24 23:22:51 2007 for Vesta by  doxygen 1.5.1