This class manages the available ArchiveFactory plugins.
More...
#include <OgreArchiveManager.h>
This class manages the available ArchiveFactory plugins.
◆ ArchiveMapIterator
◆ ArchiveManager()
Ogre::ArchiveManager::ArchiveManager |
( |
| ) |
|
Default constructor - should never get called by a client app.
◆ ~ArchiveManager()
virtual Ogre::ArchiveManager::~ArchiveManager |
( |
| ) |
|
|
virtual |
◆ addArchiveFactory()
void Ogre::ArchiveManager::addArchiveFactory |
( |
ArchiveFactory * |
factory | ) |
|
◆ getArchiveIterator()
Get an iterator over the Archives in this Manager.
◆ getSingleton()
Override standard Singleton retrieval.
- This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors.
◆ getSingletonPtr()
Override standard Singleton retrieval.
- This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors.
◆ load()
Archive* Ogre::ArchiveManager::load |
( |
const String & |
filename, |
|
|
const String & |
archiveType, |
|
|
bool |
readOnly |
|
) |
| |
Opens an archive for file reading.
- Parameters
-
filename | The filename that will be opened |
archiveType | The type of archive that this is. For example: "Zip". |
- Returns
- If the function succeeds, a valid pointer to an Archive object is returned.
- If the function fails, an exception is thrown.
◆ unload() [1/2]
void Ogre::ArchiveManager::unload |
( |
Archive * |
arch | ) |
|
◆ unload() [2/2]
void Ogre::ArchiveManager::unload |
( |
const String & |
filename | ) |
|
Unloads an archive by name.
The documentation for this class was generated from the following file: