Abstract factory class, archive codec plugins can register concrete subclasses of this.
More...
#include <OgreArchiveFactory.h>
|
virtual | ~ArchiveFactory () |
|
virtual Archive * | createInstance (const String &name, bool readOnly)=0 |
| Creates a new object. More...
|
|
virtual Archive * | createInstance (const String &name) |
| Creates a new object. More...
|
|
virtual void | destroyInstance (Archive *ptr)=0 |
| Destroys an object which was created by this factory. More...
|
|
virtual const String & | getType () const =0 |
| Returns the factory type. 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) |
|
Abstract factory class, archive codec plugins can register concrete subclasses of this.
- So archive plugins create a subclass of Archive AND a subclass of ArchiveFactory which creates instances of the Archive subclass. See the 'Zip' and 'FileSystem' plugins for examples. Each Archive and ArchiveFactory subclass pair deal with a single archive type (identified by a string).
Definition at line 59 of file OgreArchiveFactory.h.
virtual Ogre::ArchiveFactory::~ArchiveFactory |
( |
| ) |
|
|
inlinevirtual |
virtual Archive* Ogre::ArchiveFactory::createInstance |
( |
const String & |
name, |
|
|
bool |
readOnly |
|
) |
| |
|
pure virtual |
virtual Archive* Ogre::ArchiveFactory::createInstance |
( |
const String & |
name | ) |
|
|
inlinevirtual |
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 |
The documentation for this class was generated from the following file: