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.
|
#include <nativevfs.h>
Public Member Functions | |
NativeDirectory (NativeFileSystem *_nfs, const std::string &_root) | |
uint64_t | GetSize () override |
Get number of files in directory More... | |
const std::string & | GetRoot () override |
The root directory, relative to the filesystem. More... | |
std::shared_ptr< IVirtualFile > | GetFile (int index, FileModes modes) override |
Opens file of index. More... | |
const std::string & | GetFilename (int index) override |
Get file name relative to this directory More... | |
IVirtualFileSystem * | GetFileSystem () override |
Get the filesystem this refers to. More... | |
Public Member Functions inherited from cqsp::asset::IVirtualDirectory | |
IVirtualDirectory () | |
virtual | ~IVirtualDirectory () |
Private Attributes | |
friend | NativeFileSystem |
std::vector< std::string > | paths |
std::string | root |
NativeFileSystem *const | nfs |
|
inline |
|
overridevirtual |
Opens file of index.
Implements cqsp::asset::IVirtualDirectory.
|
overridevirtual |
Get file name relative to this directory
Implements cqsp::asset::IVirtualDirectory.
|
overridevirtual |
Get the filesystem this refers to.
Implements cqsp::asset::IVirtualDirectory.
|
overridevirtual |
|
overridevirtual |
Get number of files in directory
Implements cqsp::asset::IVirtualDirectory.
|
private |
|
private |
|
private |
|
private |