#include <SO3ScolFileSystem.h>
|
| SO3ScolFileSystemArchive (const Ogre::String &name, const Ogre::String &archType, bool readOnly) |
|
| ~SO3ScolFileSystemArchive () |
|
virtual bool | isCaseSensitive (void) const |
|
bool | isApk (void) const |
|
virtual void | load () |
|
virtual void | unload () |
|
virtual Ogre::DataStreamPtr | open (const Ogre::String &filename, bool readOnly=true) const |
|
virtual Ogre::DataStreamPtr | create (const Ogre::String &filename) |
|
virtual void | remove (const Ogre::String &filename) |
|
virtual Ogre::StringVectorPtr | list (bool recursive=true, bool dirs=false) const |
|
virtual Ogre::FileInfoListPtr | listFileInfo (bool recursive=true, bool dirs=false) const |
|
virtual Ogre::StringVectorPtr | find (const Ogre::String &pattern, bool recursive=true, bool dirs=false) const |
|
virtual Ogre::FileInfoListPtr | findFileInfo (const Ogre::String &pattern, bool recursive=true, bool dirs=false) const |
|
virtual bool | exists (const Ogre::String &filename) const |
|
virtual time_t | getModifiedTime (const Ogre::String &filename) const |
|
|
void | findFiles (const Ogre::String &pattern, bool recursive, bool dirs, Ogre::StringVector *simpleList, Ogre::FileInfoList *detailList) const |
|
Definition at line 37 of file SO3ScolFileSystem.h.
◆ SO3ScolFileSystemArchive()
SO3::SO3ScolFileSystemArchive::SO3ScolFileSystemArchive |
( |
const Ogre::String & |
name, |
|
|
const Ogre::String & |
archType, |
|
|
bool |
readOnly |
|
) |
| |
◆ ~SO3ScolFileSystemArchive()
SO3::SO3ScolFileSystemArchive::~SO3ScolFileSystemArchive |
( |
| ) |
|
◆ concatenate_path()
boost::filesystem::path SO3::SO3ScolFileSystemArchive::concatenate_path |
( |
const Ogre::String |
base, |
|
|
const Ogre::String |
name |
|
) |
| |
|
staticprotected |
◆ create()
Ogre::DataStreamPtr SO3::SO3ScolFileSystemArchive::create |
( |
const Ogre::String & |
filename | ) |
|
|
virtual |
◆ exists()
bool SO3::SO3ScolFileSystemArchive::exists |
( |
const Ogre::String & |
filename | ) |
const |
|
virtual |
◆ find()
Ogre::StringVectorPtr SO3::SO3ScolFileSystemArchive::find |
( |
const Ogre::String & |
pattern, |
|
|
bool |
recursive = true , |
|
|
bool |
dirs = false |
|
) |
| const |
|
virtual |
◆ findFileInfo()
Ogre::FileInfoListPtr SO3::SO3ScolFileSystemArchive::findFileInfo |
( |
const Ogre::String & |
pattern, |
|
|
bool |
recursive = true , |
|
|
bool |
dirs = false |
|
) |
| const |
|
virtual |
◆ findFiles()
void SO3::SO3ScolFileSystemArchive::findFiles |
( |
const Ogre::String & |
pattern, |
|
|
bool |
recursive, |
|
|
bool |
dirs, |
|
|
Ogre::StringVector * |
simpleList, |
|
|
Ogre::FileInfoList * |
detailList |
|
) |
| const |
|
protected |
Utility method to retrieve all files in a directory matching pattern.
- Parameters
-
pattern | File pattern. |
recursive | Whether to cascade down directories. |
dirs | Set to true if you want the directories to be listed instead of files. |
simpleList | Populated if retrieving a simple list. |
detailList | Populated if retrieving a detailed list. |
Definition at line 174 of file SO3ScolFileSystem.cpp.
◆ getIgnoreHidden()
static bool SO3::SO3ScolFileSystemArchive::getIgnoreHidden |
( |
| ) |
|
|
inlinestatic |
Get whether hidden files are ignored during filesystem enumeration.
Definition at line 115 of file SO3ScolFileSystem.h.
◆ getModifiedTime()
time_t SO3::SO3ScolFileSystemArchive::getModifiedTime |
( |
const Ogre::String & |
filename | ) |
const |
|
virtual |
◆ is_reserved_dir()
bool SO3::SO3ScolFileSystemArchive::is_reserved_dir |
( |
const char * |
fn | ) |
|
|
staticprotected |
◆ isApk()
bool SO3::SO3ScolFileSystemArchive::isApk |
( |
void |
| ) |
const |
◆ isCaseSensitive()
bool SO3::SO3ScolFileSystemArchive::isCaseSensitive |
( |
void |
| ) |
const |
|
virtual |
◆ list()
Ogre::StringVectorPtr SO3::SO3ScolFileSystemArchive::list |
( |
bool |
recursive = true , |
|
|
bool |
dirs = false |
|
) |
| const |
|
virtual |
◆ listFileInfo()
Ogre::FileInfoListPtr SO3::SO3ScolFileSystemArchive::listFileInfo |
( |
bool |
recursive = true , |
|
|
bool |
dirs = false |
|
) |
| const |
|
virtual |
◆ load()
void SO3::SO3ScolFileSystemArchive::load |
( |
| ) |
|
|
virtual |
◆ open()
Ogre::DataStreamPtr SO3::SO3ScolFileSystemArchive::open |
( |
const Ogre::String & |
filename, |
|
|
bool |
readOnly = true |
|
) |
| const |
|
virtual |
◆ remove()
void SO3::SO3ScolFileSystemArchive::remove |
( |
const Ogre::String & |
filename | ) |
|
|
virtual |
◆ setIgnoreHidden()
static void SO3::SO3ScolFileSystemArchive::setIgnoreHidden |
( |
bool |
ignore | ) |
|
|
inlinestatic |
Set whether filesystem enumeration will include hidden files or not. This should be called prior to declaring and/or initializing filesystem resource locations. The default is true (ignore hidden files).
Definition at line 109 of file SO3ScolFileSystem.h.
◆ unload()
void SO3::SO3ScolFileSystemArchive::unload |
( |
| ) |
|
|
virtual |
◆ mApk
bool SO3::SO3ScolFileSystemArchive::mApk |
|
protected |
◆ mAssetManager
AAssetManager* SO3::SO3ScolFileSystemArchive::mAssetManager |
|
protected |
◆ mPathPreFix
Ogre::String SO3::SO3ScolFileSystemArchive::mPathPreFix |
|
protected |
◆ msIgnoreHidden
bool SO3::SO3ScolFileSystemArchive::msIgnoreHidden = true |
|
static |
◆ OGRE_AUTO_MUTEX
SO3::SO3ScolFileSystemArchive::OGRE_AUTO_MUTEX |
|
protected |
The documentation for this class was generated from the following files: