![]() |
OGRE
1.10.11
Object-Oriented Graphics Rendering Engine
|
#include <OgreAPKZipArchive.h>
Public Types | |
typedef bool(* | DecryptEmbeddedZipFileFunc) (size_t pos, void *buf, size_t len) |
a function type to decrypt embedded zip file More... | |
Public Member Functions | |
APKZipArchiveFactory (AAssetManager *assetMgr) | |
virtual | ~APKZipArchiveFactory () |
Archive * | createInstance (const String &name, bool readOnly) |
Creates a new object. More... | |
virtual Archive * | createInstance (const String &name) |
Creates a new object. More... | |
void | destroyInstance (Archive *ptr) |
Destroys an object which was created by this factory. More... | |
const String & | getType (void) const |
Returns the factory type. More... | |
Static Public Member Functions | |
static void | addEmbbeddedFile (const String &name, const uint8 *fileData, size_t fileSize, DecryptEmbeddedZipFileFunc decryptFunc) |
Add an embedded file to the embedded file list. More... | |
static void | removeEmbbeddedFile (const String &name) |
Remove an embedded file to the embedded file list. More... | |
|
inherited |
a function type to decrypt embedded zip file
pos | pos in file |
buf | current buffer to decrypt |
len | - length of buffer |
|
inline |
|
inlinevirtual |
References getType().
|
virtual |
Returns the factory type.
Implements Ogre::FactoryObj< Archive >.
Referenced by ~APKZipArchiveFactory().
|
inlinevirtual |
Creates a new object.
name | Name of the object to create |
readOnly | whether the Archive is read only |
Implements Ogre::ArchiveFactory.
References Ogre::EmbeddedZipArchiveFactory::addEmbbeddedFile(), and OGRE_NEW.
Creates a new object.
name | Name of the object to create |
Implements Ogre::FactoryObj< Archive >.
References Ogre::ArchiveFactory::createInstance().
Referenced by Ogre::ArchiveFactory::createInstance().
|
staticinherited |
Add an embedded file to the embedded file list.
Referenced by createInstance().
|
staticinherited |
Remove an embedded file to the embedded file list.
|
inlinevirtualinherited |
Destroys an object which was created by this factory.
ptr | Pointer to the object to destroy |
Implements Ogre::FactoryObj< Archive >.
References OGRE_DELETE.