OpenMW
|
#include <subviewfactory.hpp>
Public Member Functions | |
SubViewFactoryManager () | |
~SubViewFactoryManager () | |
void | add (const CSMWorld::UniversalId::Type &id, SubViewFactoryBase *factory) |
The ownership of factory is transferred to this. | |
SubView * | makeSubView (const CSMWorld::UniversalId &id, CSMDoc::Document &document) |
The ownership of the returned sub view is not transferred. | |
Private Member Functions | |
SubViewFactoryManager (const SubViewFactoryManager &) | |
SubViewFactoryManager & | operator= (const SubViewFactoryManager &) |
Private Attributes | |
std::map < CSMWorld::UniversalId::Type, SubViewFactoryBase * > | mSubViewFactories |
CSVDoc::SubViewFactoryManager::SubViewFactoryManager | ( | const SubViewFactoryManager & | ) | [private] |
void CSVDoc::SubViewFactoryManager::add | ( | const CSMWorld::UniversalId::Type & | id, |
SubViewFactoryBase * | factory | ||
) |
The ownership of factory is transferred to this.
CSVDoc::SubView * CSVDoc::SubViewFactoryManager::makeSubView | ( | const CSMWorld::UniversalId & | id, |
CSMDoc::Document & | document | ||
) |
The ownership of the returned sub view is not transferred.
SubViewFactoryManager& CSVDoc::SubViewFactoryManager::operator= | ( | const SubViewFactoryManager & | ) | [private] |
std::map<CSMWorld::UniversalId::Type, SubViewFactoryBase *> CSVDoc::SubViewFactoryManager::mSubViewFactories [private] |