OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CSVDoc::SubViewFactoryManager Class Reference

#include <subviewfactory.hpp>

Collaboration diagram for CSVDoc::SubViewFactoryManager:

Public Member Functions

 SubViewFactoryManager ()
 
 ~SubViewFactoryManager ()
 
void add (const CSMWorld::UniversalId::Type &id, SubViewFactoryBase *factory)
 The ownership of factory is transferred to this. More...
 
SubViewmakeSubView (const CSMWorld::UniversalId &id, CSMDoc::Document &document)
 The ownership of the returned sub view is not transferred. More...
 

Private Member Functions

 SubViewFactoryManager (const SubViewFactoryManager &)
 
SubViewFactoryManageroperator= (const SubViewFactoryManager &)
 

Private Attributes

std::map
< CSMWorld::UniversalId::Type,
SubViewFactoryBase * > 
mSubViewFactories
 

Constructor & Destructor Documentation

CSVDoc::SubViewFactoryManager::SubViewFactoryManager ( const SubViewFactoryManager )
private
CSVDoc::SubViewFactoryManager::SubViewFactoryManager ( )
CSVDoc::SubViewFactoryManager::~SubViewFactoryManager ( )

Member Function Documentation

void CSVDoc::SubViewFactoryManager::add ( const CSMWorld::UniversalId::Type id,
SubViewFactoryBase factory 
)

The ownership of factory is transferred to this.

Here is the caller graph for this function:

CSVDoc::SubView * CSVDoc::SubViewFactoryManager::makeSubView ( const CSMWorld::UniversalId id,
CSMDoc::Document document 
)

The ownership of the returned sub view is not transferred.

Here is the call graph for this function:

SubViewFactoryManager& CSVDoc::SubViewFactoryManager::operator= ( const SubViewFactoryManager )
private

Member Data Documentation

std::map<CSMWorld::UniversalId::Type, SubViewFactoryBase *> CSVDoc::SubViewFactoryManager::mSubViewFactories
private

The documentation for this class was generated from the following files: