OGRE-Next  3.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::ZipArchiveFactory Class Reference

Specialisation of ArchiveFactory for Zip files. More...

#include <OgreZip.h>

+ Inheritance diagram for Ogre::ZipArchiveFactory:

Public Member Functions

 ~ZipArchiveFactory () override
 
ArchivecreateInstance (const String &name, bool readOnly) override
 Creates a new object. More...
 
void destroyInstance (Archive *ptr) override
 Destroys an object which was created by this factory. More...
 
const StringgetType () const override
 Returns the factory type. More...
 
- Public Member Functions inherited from Ogre::ArchiveFactory
 ~ArchiveFactory () override
 
virtual void convertPath (String &inOutPath) const
 Some implementations (i.e. More...
 
ArchivecreateInstance (const String &name) override
 Creates a new object. More...
 
- Public Member Functions inherited from Ogre::FactoryObj< Archive >
virtual ~FactoryObj ()
 

Detailed Description

Specialisation of ArchiveFactory for Zip files.

Constructor & Destructor Documentation

◆ ~ZipArchiveFactory()

Ogre::ZipArchiveFactory::~ZipArchiveFactory ( )
inlineoverride

Member Function Documentation

◆ createInstance()

Archive* Ogre::ZipArchiveFactory::createInstance ( const String name,
bool  readOnly 
)
inlineoverridevirtual

Creates a new object.

Parameters
nameName of the object to create
Returns
An object created by the factory. The type of the object depends on the factory.

Implements Ogre::ArchiveFactory.

Reimplemented in Ogre::EmbeddedZipArchiveFactory.

References OGRE_NEW.

◆ destroyInstance()

void Ogre::ZipArchiveFactory::destroyInstance ( Archive ptr)
inlineoverridevirtual

Destroys an object which was created by this factory.

Parameters
ptrPointer to the object to destroy

Implements Ogre::FactoryObj< Archive >.

References OGRE_DELETE.

◆ getType()

const String& Ogre::ZipArchiveFactory::getType ( ) const
overridevirtual

Returns the factory type.

Returns
The factory type.

Implements Ogre::FactoryObj< Archive >.

Reimplemented in Ogre::EmbeddedZipArchiveFactory.


The documentation for this class was generated from the following file: