OGRE
1.9.0
|
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 | operator delete (void *ptr) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void | unload (Archive *arch) |
Unloads an archive. | |
void | unload (const String &filename) |
Unloads an archive by name. | |
Static Public Member Functions | |
static ArchiveManager & | getSingleton (void) |
Override standard Singleton retrieval. | |
static ArchiveManager * | getSingletonPtr (void) |
Override standard Singleton retrieval. | |
Protected Types | |
typedef map< String, ArchiveFactory * >::type | ArchiveFactoryMap |
typedef map< String, Archive * >::type | ArchiveMap |
Currently loaded archives. | |
Protected Attributes | |
ArchiveFactoryMap | mArchFactories |
Factories available to create archives, indexed by archive type (String identifier e.g. 'Zip') | |
ArchiveMap | mArchives |
Static Protected Attributes | |
static ArchiveManager * | msSingleton |
This class manages the available ArchiveFactory plugins.
Definition at line 47 of file OgreArchiveManager.h.
|
protected |
Definition at line 50 of file OgreArchiveManager.h.
|
protected |
Currently loaded archives.
Definition at line 54 of file OgreArchiveManager.h.
Definition at line 91 of file OgreArchiveManager.h.
Ogre::ArchiveManager::ArchiveManager | ( | ) |
Default constructor - should never get called by a client app.
Referenced by getSingleton(), and getSingletonPtr().
|
virtual |
Default destructor.
void Ogre::ArchiveManager::addArchiveFactory | ( | ArchiveFactory * | factory | ) |
Adds a new ArchiveFactory to the list of available factories.
ArchiveMapIterator Ogre::ArchiveManager::getArchiveIterator | ( | void | ) |
Get an iterator over the Archives in this Manager.
|
static |
Override standard Singleton retrieval.
References ArchiveManager().
|
static |
Override standard Singleton retrieval.
References ArchiveManager().
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". |
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
void Ogre::ArchiveManager::unload | ( | Archive * | arch | ) |
Unloads an archive.
void Ogre::ArchiveManager::unload | ( | const String & | filename | ) |
Unloads an archive by name.
|
protected |
Factories available to create archives, indexed by archive type (String identifier e.g. 'Zip')
Definition at line 52 of file OgreArchiveManager.h.
|
protected |
Definition at line 55 of file OgreArchiveManager.h.
|
staticprotectedinherited |
Definition at line 75 of file OgreSingleton.h.