OpenMW
|
An OGRE Archive wrapping a BSAFile archive. More...
Public Member Functions | |
DirArchive (const String &name) | |
bool | isCaseSensitive () const |
void | load () |
void | unload () |
DataStreamPtr | open (const String &filename, bool readonly=true) const |
StringVectorPtr | list (bool recursive=true, bool dirs=false) |
FileInfoListPtr | listFileInfo (bool recursive=true, bool dirs=false) |
StringVectorPtr | find (const String &pattern, bool recursive=true, bool dirs=false) |
bool | exists (const String &filename) |
time_t | getModifiedTime (const String &) |
FileInfoListPtr | findFileInfo (const String &pattern, bool recursive=true, bool dirs=false) const |
Private Types | |
typedef std::map< std::string, std::string > | index |
Private Member Functions | |
index::const_iterator | lookup_filename (std::string const &filename) const |
Private Attributes | |
index | mIndex |
An OGRE Archive wrapping a BSAFile archive.
typedef std::map<std::string, std::string> DirArchive::index [private] |
DirArchive::DirArchive | ( | const String & | name | ) | [inline] |
bool DirArchive::exists | ( | const String & | filename | ) | [inline] |
StringVectorPtr DirArchive::find | ( | const String & | pattern, |
bool | recursive = true , |
||
bool | dirs = false |
||
) | [inline] |
FileInfoListPtr DirArchive::findFileInfo | ( | const String & | pattern, |
bool | recursive = true , |
||
bool | dirs = false |
||
) | const [inline] |
time_t DirArchive::getModifiedTime | ( | const String & | ) | [inline] |
bool DirArchive::isCaseSensitive | ( | ) | const [inline] |
StringVectorPtr DirArchive::list | ( | bool | recursive = true , |
bool | dirs = false |
||
) | [inline] |
FileInfoListPtr DirArchive::listFileInfo | ( | bool | recursive = true , |
bool | dirs = false |
||
) | [inline] |
void DirArchive::load | ( | ) | [inline] |
index::const_iterator DirArchive::lookup_filename | ( | std::string const & | filename | ) | const [inline, private] |
DataStreamPtr DirArchive::open | ( | const String & | filename, |
bool | readonly = true |
||
) | const [inline] |
void DirArchive::unload | ( | ) | [inline] |
index DirArchive::mIndex [private] |