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. | |
Archive * | load (const String &filename, const String &archiveType) |
Opens an archive for file reading. | |
void | unload (Archive *arch) |
Unloads an archive. | |
void | unload (const String &filename) |
Unloads an archive by name. | |
ArchiveMapIterator | getArchiveIterator (void) |
Get an iterator over the Archives in this Manager. | |
void | addArchiveFactory (ArchiveFactory *factory) |
Adds a new ArchiveFactory to the list of available factories. | |
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 * | operator new (size_t sz, void *ptr) |
placement operator new | |
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) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
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 46 of file OgreArchiveManager.h.
typedef map<String, ArchiveFactory*>::type Ogre::ArchiveManager::ArchiveFactoryMap [protected] |
Definition at line 49 of file OgreArchiveManager.h.
typedef map<String, Archive*>::type Ogre::ArchiveManager::ArchiveMap [protected] |
Currently loaded archives.
Definition at line 53 of file OgreArchiveManager.h.
Definition at line 90 of file OgreArchiveManager.h.
Ogre::ArchiveManager::ArchiveManager | ( | ) |
Default constructor - should never get called by a client app.
virtual Ogre::ArchiveManager::~ArchiveManager | ( | ) | [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 ArchiveManager& Ogre::ArchiveManager::getSingleton | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< ArchiveManager >.
static ArchiveManager* Ogre::ArchiveManager::getSingletonPtr | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< ArchiveManager >.
Opens an archive for file reading.
filename | The filename that will be opened | |
refLibrary | The library that contains the data-handling code |
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
void Ogre::ArchiveManager::unload | ( | const String & | filename | ) |
Unloads an archive by name.
void Ogre::ArchiveManager::unload | ( | Archive * | arch | ) |
Unloads an archive.
Factories available to create archives, indexed by archive type (String identifier e.g. 'Zip').
Definition at line 51 of file OgreArchiveManager.h.
ArchiveMap Ogre::ArchiveManager::mArchives [protected] |
Definition at line 54 of file OgreArchiveManager.h.
ArchiveManager * Ogre::Singleton< ArchiveManager >::msSingleton [static, protected, inherited] |
Definition at line 75 of file OgreSingleton.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:37:07 2012