OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
Abstract factory class, archive codec plugins can register concrete subclasses of this. More...
#include <OgreArchiveFactory.h>
Public Member Functions | |
virtual | ~ArchiveFactory () |
virtual Archive * | createInstance (const String &name) |
Creates a new object. More... | |
virtual Archive * | createInstance (const String &name, bool readOnly)=0 |
Creates a new object. More... | |
Public Member Functions inherited from Ogre::FactoryObj< Archive > | |
virtual | ~FactoryObj () |
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... | |
Abstract factory class, archive codec plugins can register concrete subclasses of this.
|
inlinevirtual |
|
pure virtual |
Creates a new object.
name | Name of the object to create |
readOnly | whether the Archive is read only |
Implemented in Ogre::EmbeddedZipArchiveFactory, Ogre::APKFileSystemArchiveFactory, Ogre::ZipArchiveFactory, and Ogre::FileSystemArchiveFactory.
Creates a new object.
name | Name of the object to create |
Implements Ogre::FactoryObj< Archive >.
References createInstance().
Referenced by createInstance().