Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
ExpressionParserInterface.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// File: ExpressionParserInterface.h
3//-----------------------------------------------------------------------------
4// Project: Kactus 2
5// Author: Anton Hagqvist
6// Date: 26.09.2024
7//
8// Description:
9// Base class for parser interfaces for creating and handling expression parsers.
10//-----------------------------------------------------------------------------
11
12#ifndef EXPRESSIONPARSERINTERFACE_H
13#define EXPRESSIONPARSERINTERFACE_H
14
15#include <IPXACTmodels/Component/PortSlice.h>
16#include <IPXACTmodels/Component/FieldSlice.h>
17
19
21{
22public:
23
25 virtual ~ExpressionParserInterface() = default;
26
29
35 virtual QSharedPointer<ExpressionParser> createParser() = 0;
36
37};
38
39#endif // EXPRESSIONPARSERINTERFACE_H
ExpressionParserInterface & operator=(const ExpressionParserInterface &other)=delete
ExpressionParserInterface(const ExpressionParserInterface &other)=delete
ExpressionParserInterface()=default
virtual QSharedPointer< ExpressionParser > createParser()=0
virtual ~ExpressionParserInterface()=default