1 #ifndef CSV_DOC_SUBVIEWFACTORYIMP_H
2 #define CSV_DOC_SUBVIEWFACTORYIMP_H
4 #include "../../model/doc/document.hpp"
10 template<
class SubViewT>
18 template<
class SubViewT>
22 return new SubViewT (
id, document);
26 template<
class SubViewT,
class CreatorFactoryT>
38 template<
class SubViewT,
class CreatorFactoryT>
43 template<
class SubViewT,
class CreatorFactoryT>
47 return new SubViewT (
id, document, CreatorFactoryT(), mSorting);
bool mSorting
Definition: subviewfactoryimp.hpp:29
virtual CSVDoc::SubView * makeSubView(const CSMWorld::UniversalId &id, CSMDoc::Document &document)
The ownership of the returned sub view is not transferred.
Definition: subviewfactoryimp.hpp:19
Definition: subview.hpp:23
Definition: subviewfactoryimp.hpp:27
Definition: document.hpp:57
virtual CSVDoc::SubView * makeSubView(const CSMWorld::UniversalId &id, CSMDoc::Document &document)
The ownership of the returned sub view is not transferred.
Definition: subviewfactoryimp.hpp:44
Definition: subviewfactory.hpp:17
SubViewFactoryWithCreator(bool sorting=true)
Definition: subviewfactoryimp.hpp:39
Definition: subviewfactoryimp.hpp:11
Definition: universalid.hpp:12