Specialisation of ZipArchiveFactory for embedded Zip files.
More...
#include <OgreZip.h>
Specialisation of ZipArchiveFactory for embedded Zip files.
◆ DecryptEmbeddedZipFileFunc
typedef 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 |
|
virtual |
◆ createInstance() [1/2]
Archive* Ogre::EmbeddedZipArchiveFactory::createInstance |
( |
const String & |
name, |
|
|
bool |
readOnly |
|
) |
| |
|
virtual |
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.
Reimplemented from Ogre::ZipArchiveFactory.
◆ 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.
◆ createInstance() [2/2]
virtual Archive* Ogre::ArchiveFactory::createInstance |
( |
const String & |
name | ) |
|
|
inlinevirtualinherited |
◆ destroyInstance()
void Ogre::ZipArchiveFactory::destroyInstance |
( |
Archive * |
ptr | ) |
|
|
inlinevirtualinherited |
The documentation for this class was generated from the following file: