#include <OgreArchiveManager.h>
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. | |
| void | addArchiveFactory (ArchiveFactory *factory) |
| Adds a new ArchiveFactory to the list of available factories. | |
Static Public Member Functions | |
| static ArchiveManager & | getSingleton (void) |
| Override standard Singleton retrieval. | |
| static ArchiveManager * | getSingletonPtr (void) |
| Override standard Singleton retrieval. | |
Protected Types | |
| typedef std::map < String, ArchiveFactory * > | ArchiveFactoryMap |
| typedef std::map < String, Archive * > | 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 T * | ms_Singleton |
Definition at line 41 of file OgreArchiveManager.h.
typedef std::map<String, ArchiveFactory*> Ogre::ArchiveManager::ArchiveFactoryMap [protected] |
Definition at line 44 of file OgreArchiveManager.h.
typedef std::map<String, Archive*> Ogre::ArchiveManager::ArchiveMap [protected] |
| Ogre::ArchiveManager::ArchiveManager | ( | ) |
Default constructor - should never get called by a client app.
Definition at line 54 of file OgreArchiveManager.h.
| virtual Ogre::ArchiveManager::~ArchiveManager | ( | ) | [virtual] |
Default destructor.
Opens an archive for file reading.
| filename | The filename that will be opened | |
| refLibrary | The library that contains the data-handling code |
| void Ogre::ArchiveManager::unload | ( | Archive * | arch | ) |
Unloads an archive.
| void Ogre::ArchiveManager::unload | ( | const String & | filename | ) |
Unloads an archive by name.
| void Ogre::ArchiveManager::addArchiveFactory | ( | ArchiveFactory * | factory | ) |
Adds a new ArchiveFactory to the list of available factories.
| static ArchiveManager& Ogre::ArchiveManager::getSingleton | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< T >.
| static ArchiveManager* Ogre::ArchiveManager::getSingletonPtr | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< T >.
Factories available to create archives, indexed by archive type (String identifier e.g. 'Zip').
Definition at line 46 of file OgreArchiveManager.h.
ArchiveMap Ogre::ArchiveManager::mArchives [protected] |
Definition at line 49 of file OgreArchiveManager.h.
T* Ogre::Singleton< T >::ms_Singleton [static, protected, inherited] |
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:49:08 2008