#include <OgreArchiveFactory.h>
Inheritance diagram for Ogre::ArchiveFactory:
Public Methods | |
virtual ArchiveEx * | createObj (const String &name)=0 |
'Produces' a new object. | |
virtual String | getType () const=0 |
Returns the factory type. |
So archive plugins create a subclass of ArchiveEx AND a subclass of ArchiveFactory which creates instances of the ArchiveEx subclass. See the 'Zip' and 'FileSystem' plugins for examples. Each ArchiveEx and ArchiveFactory subclass pair deal with a single archive type (identified by a string).
Definition at line 50 of file OgreArchiveFactory.h.
|
'Produces' a new object.
Implements Ogre::FactoryObj< ArchiveEx >. Implemented in Ogre::ZipArchiveFactory. |
|
Returns the factory type.
Implements Ogre::FactoryObj< ArchiveEx >. Implemented in Ogre::ZipArchiveFactory. Referenced by Ogre::ArchiveManager::addArchiveFactory(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:50:47 2004