OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
CSVWorld::CreatorFactoryBase Class Referenceabstract

Base class for Creator factory. More...

#include <creator.hpp>

Inheritance diagram for CSVWorld::CreatorFactoryBase:
Collaboration diagram for CSVWorld::CreatorFactoryBase:

Public Member Functions

virtual ~CreatorFactoryBase ()
 
virtual CreatormakeCreator (CSMDoc::Document &document, const CSMWorld::UniversalId &id) const =0
 

Detailed Description

Base class for Creator factory.

Constructor & Destructor Documentation

CSVWorld::CreatorFactoryBase::~CreatorFactoryBase ( )
virtual

Member Function Documentation

virtual Creator* CSVWorld::CreatorFactoryBase::makeCreator ( CSMDoc::Document document,
const CSMWorld::UniversalId id 
) const
pure virtual

The ownership of the returned Creator is transferred to the caller.

Note
The function can return a 0-pointer, which means no UI for creating/deleting records should be provided.

Implemented in CSVWorld::CreatorFactory< CreatorT, scope >, CSVWorld::NullCreatorFactory, CSVWorld::StartScriptCreatorFactory, CSVWorld::ReferenceCreatorFactory, CSVWorld::InfoCreatorFactory, CSVWorld::JournalCreatorFactory, and CSVWorld::TopicCreatorFactory.

Here is the caller graph for this function:


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