A factory for LGP archives.
More...
#include <VGearsLGPArchiveFactory.h>
A factory for LGP archives.
◆ LGPArchiveFactory()
VGears::LGPArchiveFactory::LGPArchiveFactory |
( |
| ) |
|
◆ ~LGPArchiveFactory()
VGears::LGPArchiveFactory::~LGPArchiveFactory |
( |
| ) |
|
|
virtual |
◆ createInstance()
Ogre::Archive * VGears::LGPArchiveFactory::createInstance |
( |
const String & |
name, |
|
|
bool |
readOnly |
|
) |
| |
|
inlinefinaloverride |
Creates a new LGP archive.
- Parameters
-
[in] | name | Name of the archive to create. |
[in] | readOnly | True to make the archive read-only, false to enable writting. |
- Returns
- A new LGP archive.
◆ destroyInstance()
void VGears::LGPArchiveFactory::destroyInstance |
( |
Ogre::Archive * |
arch | ) |
|
|
inlinefinaloverride |
Destroys a LGP archive created by this factory.
- Parameters
-
[in] | arch | The archive to destroy. |
◆ getType()
const String & VGears::LGPArchiveFactory::getType |
( |
void |
| ) |
const |
|
inline |
Retrieves the factory type.
- Returns
- The factory type.
◆ ARCHIVE_TYPE
const String VGears::LGPArchiveFactory::ARCHIVE_TYPE |
|
static |
The documentation for this class was generated from the following files: