Specialisation of ZipArchiveFactory for embedded Zip files.
More...
#include <OgreZip.h>
|
| | EmbeddedZipArchiveFactory () |
| virtual | ~EmbeddedZipArchiveFactory () |
| virtual Archive * | createInstance (const String &name) |
| | Creates a new object.
|
| Archive * | createInstance (const String &name, bool readOnly) |
| | Creates a new object.
|
| void | destroyInstance (Archive *ptr) |
| | Destroys an object which was created by this factory.
|
| const String & | getType (void) const |
| | Returns the factory type.
|
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| | operator new, with debug line info
|
| void * | operator new (size_t sz, void *ptr) |
| | placement operator new
|
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| | array operator new, with debug line info
|
Specialisation of ZipArchiveFactory for embedded Zip files.
Definition at line 133 of file OgreZip.h.
◆ 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
Definition at line 156 of file OgreZip.h.
◆ EmbeddedZipArchiveFactory()
| Ogre::EmbeddedZipArchiveFactory::EmbeddedZipArchiveFactory |
( |
| ) |
|
◆ ~EmbeddedZipArchiveFactory()
| virtual Ogre::EmbeddedZipArchiveFactory::~EmbeddedZipArchiveFactory |
( |
| ) |
|
|
virtual |
◆ addEmbbeddedFile()
◆ createInstance() [1/2]
| virtual Archive * Ogre::ArchiveFactory::createInstance |
( |
const String & | name | ) |
|
|
virtualinherited |
◆ createInstance() [2/2]
| Archive * Ogre::EmbeddedZipArchiveFactory::createInstance |
( |
const String & | name, |
|
|
bool | readOnly ) |
|
virtual |
Creates a new object.
- Parameters
-
| name | Name of the object to create |
- Returns
- An object created by the factory. The type of the object depends on the factory.
Implements Ogre::ArchiveFactory.
Definition at line 144 of file OgreZip.h.
References mPluginIo, and OGRE_NEW.
◆ destroyInstance()
| void Ogre::ZipArchiveFactory::destroyInstance |
( |
Archive * | ptr | ) |
|
|
virtualinherited |
◆ getType()
| const String & Ogre::EmbeddedZipArchiveFactory::getType |
( |
void | | ) |
const |
|
virtual |
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
◆ removeEmbbeddedFile()
| void Ogre::EmbeddedZipArchiveFactory::removeEmbbeddedFile |
( |
const String & | name | ) |
|
|
static |
Remove an embedded file to the embedded file list.
◆ mPluginIo
The documentation for this class was generated from the following file: