![]() |
OGRE
1.11.6
Object-Oriented Graphics Rendering Engine
|
Specialisation of the ArchiveFactory to allow reading of files from filesystem folders / directories. More...
#include <OgreFileSystem.h>
Inheritance diagram for Ogre::FileSystemArchiveFactory:Public Member Functions | |
| Archive * | createInstance (const String &name, bool readOnly) |
| Creates a new object. More... | |
| virtual Archive * | createInstance (const String &name) OGRE_NODISCARD |
| Creates a new object. More... | |
| void | destroyInstance (Archive *ptr) |
| Destroys an object which was created by this factory. More... | |
| const String & | getType (void) const |
| Returns the factory type. More... | |
Static Public Member Functions | |
| static bool | getIgnoreHidden () |
| Get whether hidden files are ignored during filesystem enumeration. More... | |
| static void | setIgnoreHidden (bool ignore) |
| Set whether filesystem enumeration will include hidden files or not. More... | |
Specialisation of the ArchiveFactory to allow reading of files from filesystem folders / directories.
|
virtual |
|
virtual |
Creates a new object.
| name | Name of the object to create |
| readOnly | whether the Archive is read only |
Implements Ogre::ArchiveFactory.
|
inlinevirtual |
Destroys an object which was created by this factory.
| ptr | Pointer to the object to destroy |
Implements Ogre::FactoryObj< Archive >.
References OGRE_DELETE.
|
static |
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).
|
static |
Get whether hidden files are ignored during filesystem enumeration.
Creates a new object.
| name | Name of the object to create |
Implements Ogre::FactoryObj< Archive >.
References Ogre::ArchiveFactory::createInstance().
Referenced by Ogre::ArchiveFactory::createInstance().