OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::FileSystemArchiveFactory Class Referencefinal

Specialisation of ArchiveFactory for FileSystem files. More...

#include <OgreFileSystem.h>

+ Inheritance diagram for Ogre::FileSystemArchiveFactory:

Public Member Functions

 ~FileSystemArchiveFactory () 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 FileSystem files.

Constructor & Destructor Documentation

◆ ~FileSystemArchiveFactory()

Ogre::FileSystemArchiveFactory::~FileSystemArchiveFactory ( )
inlineoverride

Member Function Documentation

◆ createInstance()

Archive* Ogre::FileSystemArchiveFactory::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.

References OGRE_NEW.

◆ destroyInstance()

void Ogre::FileSystemArchiveFactory::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::FileSystemArchiveFactory::getType ( ) const
overridevirtual

Returns the factory type.

Returns
The factory type.

Implements Ogre::FactoryObj< Archive >.


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