1 | // Copyright (C) 2016 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef QSCXMLTABLEDATA_H |
5 | #define QSCXMLTABLEDATA_H |
6 | |
7 | #include <QtScxml/qscxmlexecutablecontent.h> |
8 | #include <QtCore/qstring.h> |
9 | |
10 | #ifndef Q_QSCXMLC_OUTPUT_REVISION |
11 | #define Q_QSCXMLC_OUTPUT_REVISION 2 |
12 | #endif |
13 | |
14 | QT_BEGIN_NAMESPACE |
15 | |
16 | class QScxmlInvokableServiceFactory; |
17 | |
18 | class Q_SCXML_EXPORT QScxmlTableData |
19 | { |
20 | public: |
21 | virtual ~QScxmlTableData(); |
22 | |
23 | virtual QString string(QScxmlExecutableContent::StringId id) const = 0; |
24 | virtual QScxmlExecutableContent::InstructionId *instructions() const = 0; |
25 | virtual QScxmlExecutableContent::EvaluatorInfo evaluatorInfo(QScxmlExecutableContent::EvaluatorId evaluatorId) const = 0; |
26 | virtual QScxmlExecutableContent::AssignmentInfo assignmentInfo(QScxmlExecutableContent::EvaluatorId assignmentId) const = 0; |
27 | virtual QScxmlExecutableContent::ForeachInfo foreachInfo(QScxmlExecutableContent::EvaluatorId foreachId) const = 0; |
28 | virtual QScxmlExecutableContent::StringId *dataNames(int *count) const = 0; |
29 | |
30 | virtual QScxmlExecutableContent::ContainerId initialSetup() const = 0; |
31 | virtual QString name() const = 0; |
32 | |
33 | virtual const qint32 *stateMachineTable() const = 0; |
34 | virtual QScxmlInvokableServiceFactory *serviceFactory(int id) const = 0; |
35 | }; |
36 | |
37 | QT_END_NAMESPACE |
38 | |
39 | #endif // QSCXMLTABLEDATA_H |
40 | |