Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
ExpressionFormatterFactory.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// File: ExpressionFormatterFactory.h
3//-----------------------------------------------------------------------------
4// Project: Kactus2
5// Author: Mikko Teuho
6// Date: 16.02.2015
7//
8// Description:
9// Interface for expression formatter factory.
10//-----------------------------------------------------------------------------
11
12#ifndef EXPRESSIONFORMATTERFACTORY_H
13#define EXPRESSIONFORMATTERFACTORY_H
14
16
17#include <IPXACTmodels/Component/Component.h>
18#include <IPXACTmodels/Design/Design.h>
19
20//-----------------------------------------------------------------------------
22//-----------------------------------------------------------------------------
24{
25
26public:
27
32
38 virtual ExpressionFormatter* makeExpressionFormatter(QSharedPointer<Component> component) = 0;
39
46 virtual ExpressionFormatter* createDesignInstanceFormatter(QSharedPointer<Component> component,
47 QSharedPointer<Design> design) = 0;
48};
49
50#endif // EXPRESSIONFORMATTERFACTORY_H
Interface for constructing design widgets.
virtual ExpressionFormatter * createDesignInstanceFormatter(QSharedPointer< Component > component, QSharedPointer< Design > design)=0
virtual ExpressionFormatter * makeExpressionFormatter(QSharedPointer< Component > component)=0
Expression formatter.