![]() |
OGRE 1.12.10
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. | |
| virtual Archive * | createInstance (const String &name, bool readOnly)=0 |
| Creates a new object. | |
| 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. | |
| virtual const String & | getType () const=0 |
| Returns the factory type. | |
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::APKFileSystemArchiveFactory, Ogre::EmbeddedZipArchiveFactory, Ogre::FileSystemArchiveFactory, and Ogre::ZipArchiveFactory.
References OGRE_NODISCARD.
Referenced by Ogre::EmbeddedZipArchiveFactory::getType(), Ogre::FileSystemArchiveFactory::getType(), and Ogre::ZipArchiveFactory::getType().
Creates a new object.
| name | Name of the object to create |
Implements Ogre::FactoryObj< Archive >.
Reimplemented in Ogre::EmbeddedZipArchiveFactory, Ogre::FileSystemArchiveFactory, and Ogre::ZipArchiveFactory.
References createInstance(), and OGRE_NODISCARD.
Referenced by createInstance().