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 |
|
overridevirtual |
◆ createInstance() [1/3]
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.
Reimplemented from Ogre::ZipArchiveFactory.
◆ 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::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/3]
virtual Archive* Ogre::ArchiveFactory::createInstance |
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.
◆ createInstance() [3/3]
virtual Archive* Ogre::ArchiveFactory::createInstance |
|
inline |
The documentation for this class was generated from the following file: