Debian Codegraph @

Source/Control/Interface/JNI/CJNIAxiomExpressionVisitingLoader.h

raw
1 /*
2 * Copyright (C) 2013-2015, 2019 by the Konclude Developer Team.
3 *
4 * This file is part of the reasoning system Konclude.
5 * For details and support, see <http://konclude.com/>.
6 *
7 * Konclude is free software: you can redistribute it and/or modify
8 * it under the terms of version 3 of the GNU Lesser General Public
9 * License (LGPLv3) as published by the Free Software Foundation.
10 *
11 * Konclude is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU (Lesser) General Public License for more details.
15 *
16 * You should have received a copy of the GNU (Lesser) General Public
17 * License along with Konclude. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21 #ifndef KONCLUDE_CONTROL_INTERFACE_JNI_CJNIAXIOMEXPRESSIONVISITINGLOADER_H
22 #define KONCLUDE_CONTROL_INTERFACE_JNI_CJNIAXIOMEXPRESSIONVISITINGLOADER_H
23
24 // Libraries includes
25 #include <QStack>
26
27 // Namespace includes
28 #include "JNISettings.h"
29 #include "CJNIOntologyRevisionData.h"
30
31 // Other includes
32 #include "Reasoner/Generator/CConcreteOntologyUpdateCollectorBuilder.h"
33
34 #include "Parser/Expressions/CBuildExpression.h"
35
36
37 // Logger includes
38 #include "Logger/CLogger.h"
39
40
41 namespace Konclude {
42
43 using namespace Reasoner::Generator;
44 using namespace Parser::Expression;
45
46 namespace Control {
47
48 namespace Interface {
49
50 namespace JNI {
51
52 /*!
53 *
54 * \class CJNIAxiomLoader
55 * \author Andreas Steigmiller
56 * \version 0.1
57 * \brief TODO
58 *
59 */
60 class CJNIAxiomExpressionVisitingLoader : public CConcreteOntologyUpdateCollectorBuilder {
61
62 // public methods
63 public:
64 //! Constructor
65 CJNIAxiomExpressionVisitingLoader(CJNIInstanceManager* jniInstanceManager, CJNIOntologyRevisionData* ontRevData);
66
67 //! Destructor
68 virtual ~CJNIAxiomExpressionVisitingLoader();
69
70
71
72 CJNIAxiomExpressionVisitingLoader* initArgumentExpressionList();
73 CJNIAxiomExpressionVisitingLoader* closeArgumentExpressionList();
74 CEXPRESSIONLIST<CBuildExpression*>* popArgumentExpressionList();
75 CJNIAxiomExpressionVisitingLoader* addArgumentExpression(CBuildExpression* expression);
76
77 CJNIOntologyRevisionData* getOntologyRevisionData();
78
79 // protected methods
80 protected:
81
82 // protected variables
83 protected:
84 CJNIInstanceManager* mJNIInstanceManager;
85 CJNIOntologyRevisionData* mOntRevData;
86
87 QStack< CEXPRESSIONLIST<CBuildExpression*>* > mArgumentExpressionListStack;
88
89
90 // private methods
91 private:
92
93 // private variables
94 private:
95
96 };
97
98 }; // end namespace JNI
99
100 }; // end namespace Interface
101
102 }; // end namespace Control
103
104 }; // end namespace Konclude
105
106 #endif // KONCLUDE_CONTROL_INTERFACE_JNI_CJNIAXIOMEXPRESSIONVISITINGLOADER_H