This class manages the available ArchiveFactory plugins.
More...
#include <OgreArchiveManager.h>
|
| ArchiveManager () |
| Default constructor - should never get called by a client app. More...
|
|
virtual | ~ArchiveManager () |
| Default destructor. More...
|
|
void | addArchiveFactory (ArchiveFactory *factory) |
| Adds a new ArchiveFactory to the list of available factories. More...
|
|
ArchiveMapIterator | getArchiveIterator (void) |
| Get an iterator over the Archives in this Manager. More...
|
|
Archive * | load (const String &filename, const String &archiveType) |
| Opens an archive for file reading. More...
|
|
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 *) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
void * | operator new[] (size_t sz) |
|
void | unload (Archive *arch) |
| Unloads an archive. More...
|
|
void | unload (const String &filename) |
| Unloads an archive by name. More...
|
|
This class manages the available ArchiveFactory plugins.
Definition at line 46 of file OgreArchiveManager.h.
Ogre::ArchiveManager::ArchiveManager |
( |
| ) |
|
Default constructor - should never get called by a client app.
virtual Ogre::ArchiveManager::~ArchiveManager |
( |
| ) |
|
|
virtual |
void Ogre::ArchiveManager::addArchiveFactory |
( |
ArchiveFactory * |
factory | ) |
|
Get an iterator over the Archives in this Manager.
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.
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.
Opens an archive for file reading.
- Parameters
-
filename | The filename that will be opened |
refLibrary | The library that contains the data-handling code |
- Returns
- If the function succeeds, a valid pointer to an Archive object is returned.
- If the function fails, an exception is thrown.
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
void Ogre::ArchiveManager::unload |
( |
Archive * |
arch | ) |
|
void Ogre::ArchiveManager::unload |
( |
const String & |
filename | ) |
|
Unloads an archive by name.
Factories available to create archives, indexed by archive type (String identifier e.g. 'Zip')
Definition at line 51 of file OgreArchiveManager.h.
The documentation for this class was generated from the following file: