OGRE
1.11.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 () |
virtual Archive * | createInstance (const String &name, bool readOnly) OGRE_NODISCARD=0 |
Creates a new object. More... | |
virtual Archive * | createInstance (const String &name) OGRE_NODISCARD |
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... | |
Abstract factory class, archive codec plugins can register concrete subclasses of this.
|
inlinevirtual |
References OGRE_NODISCARD.
|
pure virtual |
Creates a new object.
name | Name of the object to create |
readOnly | whether the Archive is read only |
Implemented in Ogre::APKFileSystemArchiveFactory, Ogre::EmbeddedZipArchiveFactory, Ogre::ZipArchiveFactory, and Ogre::FileSystemArchiveFactory.
Referenced by Ogre::ZipArchiveFactory::~ZipArchiveFactory().
Creates a new object.
name | Name of the object to create |
Implements Ogre::FactoryObj< Archive >.
References createInstance().
Referenced by createInstance().
|
pure virtualinherited |
Returns the factory type.
Implemented in Ogre::APKFileSystemArchiveFactory, Ogre::EmbeddedZipArchiveFactory, Ogre::ZipArchiveFactory, and Ogre::FileSystemArchiveFactory.
|
pure virtualinherited |
Destroys an object which was created by this factory.
ptr | Pointer to the object to destroy |
Implemented in Ogre::APKFileSystemArchiveFactory, Ogre::ZipArchiveFactory, and Ogre::FileSystemArchiveFactory.