1 #ifndef CSV_DOC_SUBVIEWFACTORY_H
2 #define CSV_DOC_SUBVIEWFACTORY_H
6 #include "../../model/world/universalid.hpp"
virtual SubView * makeSubView(const CSMWorld::UniversalId &id, CSMDoc::Document &document)=0
The ownership of the returned sub view is not transferred.
Definition: subviewfactory.hpp:33
SubViewFactoryBase()
Definition: subviewfactory.cpp:7
~SubViewFactoryManager()
Definition: subviewfactory.cpp:14
Type
Definition: universalid.hpp:40
std::map< CSMWorld::UniversalId::Type, SubViewFactoryBase * > mSubViewFactories
Definition: subviewfactory.hpp:35
SubViewFactoryManager()
Definition: subviewfactory.cpp:12
Definition: subview.hpp:23
virtual ~SubViewFactoryBase()
Definition: subviewfactory.cpp:9
Definition: document.hpp:57
SubViewFactoryBase & operator=(const SubViewFactoryBase &)
SubViewFactoryManager & operator=(const SubViewFactoryManager &)
void add(const CSMWorld::UniversalId::Type &id, SubViewFactoryBase *factory)
The ownership of factory is transferred to this.
Definition: subviewfactory.cpp:21
Definition: subviewfactory.hpp:17
SubView * makeSubView(const CSMWorld::UniversalId &id, CSMDoc::Document &document)
The ownership of the returned sub view is not transferred.
Definition: subviewfactory.cpp:28
Definition: universalid.hpp:12