Go to the documentation of this file.
28 #ifndef _ArchiveManager_H__
29 #define _ArchiveManager_H__
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
virtual ~ArchiveManager()
Default destructor.
ArchiveManager()
Default constructor - should never get called by a client app.
ArchiveFactoryMap mArchFactories
Factories available to create archives, indexed by archive type (String identifier e....
map< String, ArchiveFactory * >::type ArchiveFactoryMap
void unload(Archive *arch)
Unloads an archive.
Abstract factory class, archive codec plugins can register concrete subclasses of this.
MapIterator< ArchiveMap > ArchiveMapIterator
void unload(const String &filename)
Unloads an archive by name.
Template class for creating single-instance global classes.
Archive * load(const String &filename, const String &archiveType, bool readOnly)
Opens an archive for file reading.
void addArchiveFactory(ArchiveFactory *factory)
Adds a new ArchiveFactory to the list of available factories.
map< String, Archive * >::type ArchiveMap
Currently loaded archives.
static ArchiveManager & getSingleton(void)
Override standard Singleton retrieval.
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
ArchiveMapIterator getArchiveIterator(void)
Get an iterator over the Archives in this Manager.
This class manages the available ArchiveFactory plugins.
static ArchiveManager * getSingletonPtr(void)
Override standard Singleton retrieval.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.