![]() |
OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
|
Abstract factory class, archive codec plugins can register concrete subclasses of this. More...
#include <OgreArchiveFactory.h>
Inheritance diagram for Ogre::ArchiveFactory:Public Member Functions | |
| ~ArchiveFactory () override | |
| virtual void | convertPath (String &inOutPath) const |
| Some implementations (i.e. | |
| Archive * | createInstance (const String &name) override |
| 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.
|
inlineoverride |
|
inlinevirtual |
Some implementations (i.e.
APKFileSystemArchive) usually modify the filename. For example in APKFileSystemArchive, "/path/to/localfile.mesh" gets internally stored as "path/to/localfile.mesh" (no leading slash), but across the platform the leading slash is required. The ArchiveManager needs to be aware of this.
| inOutPath | Given the input path, converts it to the final path. |
Reimplemented in Ogre::APKFileSystemArchiveFactory, and Ogre::APKZipArchiveFactory.
Creates a new object.
| name | Name of the object to create |
Implements Ogre::FactoryObj< Archive >.
References createInstance().
Referenced by createInstance().
|
pure virtual |
Creates a new object.
| name | Name of the object to create |
Implemented in Ogre::APKFileSystemArchiveFactory, Ogre::APKZipArchiveFactory, Ogre::EmbeddedZipArchiveFactory, Ogre::FileSystemArchiveFactory, and Ogre::ZipArchiveFactory.