|
Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
Meant to list all the files and sub files in the directory. This is sort of a replacement for directory iterator. If you want to cd a directory, just access it from the initial file system, I guess. More...
#include <vfs.h>
Public Member Functions | |
| IVirtualDirectory () | |
| virtual | ~IVirtualDirectory () |
| virtual uint64_t | GetSize ()=0 |
| Get number of files in directory More... | |
| virtual const std::string & | GetRoot ()=0 |
| The root directory, relative to the filesystem. More... | |
| virtual IVirtualFilePtr | GetFile (int index, FileModes modes=Text)=0 |
| Opens file of index. More... | |
| virtual const std::string & | GetFilename (int index)=0 |
| Get file name relative to this directory More... | |
| virtual IVirtualFileSystem * | GetFileSystem ()=0 |
| Get the filesystem this refers to. More... | |
Meant to list all the files and sub files in the directory. This is sort of a replacement for directory iterator. If you want to cd a directory, just access it from the initial file system, I guess.
|
inline |
|
inlinevirtual |
|
pure virtual |
Opens file of index.
Implemented in cqsp::asset::NativeDirectory.
|
pure virtual |
Get file name relative to this directory
Implemented in cqsp::asset::NativeDirectory.
|
pure virtual |
Get the filesystem this refers to.
Implemented in cqsp::asset::NativeDirectory.
|
pure virtual |
The root directory, relative to the filesystem.
Implemented in cqsp::asset::NativeDirectory.
|
pure virtual |
Get number of files in directory
Implemented in cqsp::asset::NativeDirectory.