Abstract factory class, archive codec plugins can register concrete subclasses of this.
More...
|
| virtual | ~ArchiveFactory () |
| |
| virtual void | convertPath (String &inOutPath) const |
| | Some implementations (i.e.
|
| |
| virtual Archive * | createInstance (const String &name) |
| | Creates a new object.
|
| |
| virtual Archive * | createInstance (const String &name, bool readOnly)=0 |
| | Creates a new object.
|
| |
| virtual void | destroyInstance (Archive *ptr)=0 |
| | Destroys an object which was created by this factory.
|
| |
| virtual const String & | getType () const=0 |
| | 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
|
| |
Abstract factory class, archive codec plugins can register concrete subclasses of this.
- So archive plugins create a subclass of Archive AND a subclass of ArchiveFactory which creates instances of the Archive subclass. See the 'Zip' and 'FileSystem' plugins for examples. Each Archive and ArchiveFactory subclass pair deal with a single archive type (identified by a string).