Abstract factory class, archive codec plugins can register concrete subclasses of this.
More...
#include <OgreArchiveFactory.h>
|
virtual | ~ArchiveFactory () |
|
virtual void | convertPath (String &inOutPath) const |
| Some implementations (i.e. More...
|
|
Archive * | createInstance (const String &name) override |
| Creates a new object. More...
|
|
virtual Archive * | createInstance (const String &name, bool readOnly)=0 |
| 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, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
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 *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
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).
◆ ~ArchiveFactory()
virtual Ogre::ArchiveFactory::~ArchiveFactory |
( |
| ) |
|
|
inlinevirtual |
◆ convertPath()
virtual void Ogre::ArchiveFactory::convertPath |
( |
String & |
inOutPath | ) |
const |
|
inlinevirtual |
◆ createInstance() [1/2]
Archive* Ogre::ArchiveFactory::createInstance |
( |
const String & |
name | ) |
|
|
inlineoverridevirtual |
◆ createInstance() [2/2]
virtual Archive* Ogre::ArchiveFactory::createInstance |
( |
const String & |
name, |
|
|
bool |
readOnly |
|
) |
| |
|
pure virtual |
◆ destroyInstance()
◆ getType()
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/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() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/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
The documentation for this class was generated from the following file: