[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project

KLFFactoryBase Class Reference

Base class for factories. More...

#include <klffactory.h>

Collaboration diagram for KLFFactoryBase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KLFFactoryBase (KLFFactoryManager *factoryManager)
virtual ~KLFFactoryBase ()
virtual QStringList supportedTypes () const =0
 A list of object types that this factory supports instantiating.


Detailed Description

Base class for factories.

See KLFFactoryManager.

This class automatically registers to the factory manager given to the constructor; it also automatically unregisters itself in the destructor.

Definition at line 40 of file klffactory.h.


Constructor & Destructor Documentation

KLFFactoryBase::KLFFactoryBase ( KLFFactoryManager *  factoryManager  ) 

Definition at line 30 of file klffactory.cpp.

References KLFFactoryManager::registerFactory().

KLFFactoryBase::~KLFFactoryBase (  )  [virtual]

Definition at line 35 of file klffactory.cpp.

References KLFFactoryManager::unRegisterFactory().


Member Function Documentation

virtual QStringList KLFFactoryBase::supportedTypes (  )  const [pure virtual]

A list of object types that this factory supports instantiating.

Referenced by KLFFactoryManager::findFactoryFor().


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

Generated by doxygen 1.5.6