Role Playing Database (API Documentation)
3.1.3
|
The filesystem class. This is the class that implements a simple Virtual Filesystem for internal use by the Roleplaying Database program. It stores the working version of the RPG DB bundle which is normally stored as a ZIP file. It is a basic and simple file system, using a backing file as temporary file system storage. More...
Public Member Functions | |
RPGFileSystem (backingfile,...) | |
~RPGFileSystem () | |
The filesystem class. This is the class that implements a simple Virtual Filesystem for internal use by the Roleplaying Database program. It stores the working version of the RPG DB bundle which is normally stored as a ZIP file. It is a basic and simple file system, using a backing file as temporary file system storage.
vfs::rpg::RPGFileSystem::RPGFileSystem | ( | backingfile | , |
... | |||
) |
Constructor – takes care of mounting the file system. The root directory is set up. If the backing file already exists, the root directory is read in from the backing file.
mountpoint | The name of the mount point. |
backingfile | The name of the backing file. It is created if it does not exist. |
vfs::rpg::RPGFileSystem::~RPGFileSystem | ( | ) |
Destructor – unmount the filesystem and free up all allocated memory. Flush the directory tree to the backing file if it is "dirty".