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, bool readOnly) |
| 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.
◆ 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.
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
operator new, with debug line info
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
array operator new, with debug line info
◆ operator new[]() [2/2]
◆ 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: