![]() |
OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
|
This class manages the available ArchiveFactory plugins. More...
#include <OgreArchiveManager.h>
Public Types | |
typedef MapIterator< ArchiveMap > | ArchiveMapIterator |
Public Member Functions | |
ArchiveManager () | |
Default constructor - should never get called by a client app. | |
virtual | ~ArchiveManager () |
Default destructor. | |
void | addArchiveFactory (ArchiveFactory *factory) |
Adds a new ArchiveFactory to the list of available factories. | |
ArchiveMapIterator | getArchiveIterator (void) |
Get an iterator over the Archives in this Manager. | |
Archive * | load (const String &filename, const String &archiveType, bool readOnly) |
Opens an archive for file reading. | |
void | unload (Archive *arch) |
Unloads an archive. | |
void | unload (const String &filename) |
Unloads an archive by name. | |
![]() | |
Singleton (void) | |
~Singleton (void) | |
Static Public Member Functions | |
static ArchiveManager & | getSingleton (void) |
Get the singleton instance. | |
static ArchiveManager * | getSingletonPtr (void) |
Get the singleton instance. | |
![]() | |
static ArchiveManager & | getSingleton (void) |
Get the singleton instance. | |
static ArchiveManager * | getSingletonPtr (void) |
Get the singleton instance. | |
This class manages the available ArchiveFactory plugins.
Ogre::ArchiveManager::ArchiveManager | ( | ) |
Default constructor - should never get called by a client app.
|
virtual |
Default destructor.
Archive * Ogre::ArchiveManager::load | ( | const String & | filename, |
const String & | archiveType, | ||
bool | readOnly | ||
) |
Opens an archive for file reading.
filename | The filename that will be opened |
archiveType | The type of archive that this is. For example: "Zip". |
readOnly | Whether the Archive is read only |
Unloads an archive.
Unloads an archive by name.
ArchiveMapIterator Ogre::ArchiveManager::getArchiveIterator | ( | void | ) |
Get an iterator over the Archives in this Manager.
void Ogre::ArchiveManager::addArchiveFactory | ( | ArchiveFactory * | factory | ) |
Adds a new ArchiveFactory to the list of available factories.
|
static |
Get the singleton instance.
|
static |
Get the singleton instance.