OpenMW
Public Member Functions
CSVWorld::CreatorFactoryBase Class Reference

Base class for Creator factory. More...

#include <creator.hpp>

List of all members.

Public Member Functions

virtual ~CreatorFactoryBase ()
virtual CreatormakeCreator (CSMWorld::Data &data, QUndoStack &undoStack, const CSMWorld::UniversalId &id) const =0

Detailed Description

Base class for Creator factory.


Constructor & Destructor Documentation


Member Function Documentation

virtual Creator* CSVWorld::CreatorFactoryBase::makeCreator ( CSMWorld::Data data,
QUndoStack &  undoStack,
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 >, CSVWorld::NullCreatorFactory, CSVWorld::JournalCreatorFactory, and CSVWorld::TopicCreatorFactory.


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