typedef list < string > StringList

List of strings

DirList directory(const string& dirName) throw(VIoException&)
Returns list of files in directory, relative to the root directory
bool dirExists(const string& dirName)
Checks if a directory exists
void mkDir(const string& dirPath) throw(VIoException&)
Makes a directory defined by the path, NOP when dir exits
void remove(const string& filePath) throw(VIoException&)
Remove a file
void removeAll(const string& filePath) throw(VIoException&)
Remove a file/directory and anything under it
void rename(const string& oldPath, const string& newPath) throw(VIoException&)
Rename a file
VFile(const string& path, const string& fileName)
Constructor
VFile(const string& fullFilePath)
Constructor
VFileBrowser(const string& root)
Constructor initialises to the root directory
VFileBrowser()
Constructor initialises to the root directory
void writeFile(const string& filePath, const string& contents) throw(VIoException)
Writes a file in the given path, relative to _root
void writeFile(const string& filePath, const string& contents, time_t timestamp) throw(VIoException)
Writes a file in the given path, relative to _root
void writeFile(const string& filePath, const string& contents, time_t *timestamp) throw(VIoException)
Writes a file in the given path, relative to _root

Documentation

List of strings
VFile(const string& path, const string& fileName)
Constructor

VFile(const string& fullFilePath)
Constructor

VFileBrowser(const string& root)
Constructor initialises to the root directory

VFileBrowser()
Constructor initialises to the root directory

DirList directory(const string& dirName) throw(VIoException&)
Returns list of files in directory, relative to the root directory

void mkDir(const string& dirPath) throw(VIoException&)
Makes a directory defined by the path, NOP when dir exits

void writeFile(const string& filePath, const string& contents) throw(VIoException)
Writes a file in the given path, relative to _root

void writeFile(const string& filePath, const string& contents, time_t timestamp) throw(VIoException)
Writes a file in the given path, relative to _root

void writeFile(const string& filePath, const string& contents, time_t *timestamp) throw(VIoException)
Writes a file in the given path, relative to _root

bool dirExists(const string& dirName)
Checks if a directory exists

void rename(const string& oldPath, const string& newPath) throw(VIoException&)
Rename a file

void remove(const string& filePath) throw(VIoException&)
Remove a file

void removeAll(const string& filePath) throw(VIoException&)
Remove a file/directory and anything under it

alphabetic index hierarchy of classes


generated by doc++