Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Teem::VFS Class Reference

#include <VFS.h>

List of all members.

Detailed Description

Very simple and lightweight virtual filesystem.

Public Member Functions

 VFS ()
 VFS constructor, takes applicationName in parameter, to search in ~/.applicationName.
virtual ~VFS ()
 VFS destructor.
void addDir (const std::string &dir)
 Add a directory to the search list.
void addWriteSubdir (const std::string &subdir)
 Add a new subdir (create it if needed) which will be used to open file in write mode in it.
std::string getFullPath (const std::string &name, const std::string &mode="r")
 Return the first valid full path for file name. Returns "" if no such path exist.

Private Attributes

std::vector< std::string > dirList
 List of directory where to search for requested file.

The documentation for this class was generated from the following files:
Generated on Mon Oct 24 17:38:29 2005 for Teem by  doxygen 1.4.2