OGRE
13.6
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 () |
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... | |
Public Member Functions inherited from Ogre::FactoryObj< Archive > | |
virtual | ~FactoryObj () |
virtual void | destroyInstance (Archive *ptr) |
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::ZipArchiveFactory, Ogre::APKFileSystemArchiveFactory, and Ogre::FileSystemArchiveFactory.
Creates a new object.
name | Name of the object to create |
Implements Ogre::FactoryObj< Archive >.
References createInstance().
Referenced by createInstance().