[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Member Functions | List of all members
KLFFactoryBase Class Referenceabstract

Base class for factories. More...

#include <klffactory.h>

Inheritance diagram for KLFFactoryBase:
Inheritance graph
[legend]

Public Member Functions

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

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::KLFFactoryBase ( KLFFactoryManager factoryManager)

Definition at line 31 of file klffactory.cpp.

References KLF_ASSERT_NOT_NULL.

◆ ~KLFFactoryBase()

KLFFactoryBase::~KLFFactoryBase ( )
virtual

Definition at line 37 of file klffactory.cpp.

References KLF_ASSERT_NOT_NULL.

Member Function Documentation

◆ supportedTypes()

virtual QStringList KLFFactoryBase::supportedTypes ( ) const
pure virtual

A list of object types that this factory supports instantiating.

Implemented in KLFSideWidgetManagerFactory, and KLFAbstractPropertizedObjectSaver.

Referenced by KLFFactoryManager::findFactoryFor().


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

Generated by doxygen 1.8.13