Registry which manages open files.
More...
#include <Registry.h>
|
void | add (FileSystemBase &fileSystem) |
| Registers the file system.
|
|
RegEntry & | openFile (const char *path) |
| opens a new file and provides the corresponding file descriptor
|
|
RegEntry & | openFile (const char *path, FileSystemBase &fs) |
| opens a new file and provides the corresponding file descriptor
|
|
FileSystemBase & | fileSystem (const char *path) |
| Determines the file system for a file path.
|
|
FileSystemBase & | fileSystem (int id) |
| Determines the file system for the fileID.
|
|
void | closeFile (RegEntry &entry) |
| closes the file at the indicated idx
|
|
void | closeFile (int fileID) |
| closes the file at the indicated idx
|
|
RegEntry & | getEntry (int fileID) |
| Returns the File by fd.
|
|
size_t | size () |
| Reurns the number of file entries.
|
|
void | setFileSystemForSearch (FileSystemBase *fs) |
| Defines the actual file system that is used for directory searches.
|
|
FileSystemBase & | fileSystemForSearch () |
| Provides the actual file system that is used for directory searches.
|
|
FileSystemBase & | fileSystemByName (const char *path) |
| Determines the file system by name.
|
|
Registry which manages open files.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
The documentation for this class was generated from the following file: