Specialisation of ZipArchiveFactory for embedded Zip files.
More...
#include <OgreZip.h>
Specialisation of ZipArchiveFactory for embedded Zip files.
◆ DecryptEmbeddedZipFileFunc
bool(*) Ogre::EmbeddedZipArchiveFactory::DecryptEmbeddedZipFileFunc(size_t pos, void *buf, size_t len) |
a function type to decrypt embedded zip file
- Parameters
-
pos | pos in file |
buf | current buffer to decrypt |
len | - length of buffer |
- Returns
- success
◆ EmbeddedZipArchiveFactory()
Ogre::EmbeddedZipArchiveFactory::EmbeddedZipArchiveFactory |
( |
| ) |
|
◆ ~EmbeddedZipArchiveFactory()
virtual Ogre::EmbeddedZipArchiveFactory::~EmbeddedZipArchiveFactory |
( |
| ) |
|
|
virtual |
◆ getType()
const String & Ogre::EmbeddedZipArchiveFactory::getType |
( |
void | | ) |
const |
|
overridevirtual |
◆ createInstance()
Archive * Ogre::EmbeddedZipArchiveFactory::createInstance |
( |
const String & | name, |
|
|
bool | readOnly ) |
|
overridevirtual |
Creates a new object.
- Parameters
-
name | Name of the object to create |
readOnly | whether the Archive is read only |
- Returns
- An object created by the factory. The type of the object depends on the factory.
Implements Ogre::ArchiveFactory.
◆ destroyInstance()
void Ogre::EmbeddedZipArchiveFactory::destroyInstance |
( |
Archive * | ptr | ) |
|
|
overridevirtual |
Destroys an object which was created by this factory.
- Parameters
-
ptr | Pointer to the object to destroy |
Reimplemented from Ogre::FactoryObj< Archive >.
◆ addEmbbeddedFile()
Add an embedded file to the embedded file list.
◆ removeEmbbeddedFile()
static void Ogre::EmbeddedZipArchiveFactory::removeEmbbeddedFile |
( |
const String & | name | ) |
|
|
static |
Remove an embedded file to the embedded file list.
The documentation for this class was generated from the following file: