Debian Codegraph @

Source/Control/Interface/JNI/CJNIEntityExpressionMappedObjectSetOfSetVisitingCallback.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_CJNIENTITYEXPRESSIONMAPPEDOBJECTSETOFSETVISITINGCALLBACK_H
22 #define KONCLUDE_CONTROL_INTERFACE_JNI_CJNIENTITYEXPRESSIONMAPPEDOBJECTSETOFSETVISITINGCALLBACK_H
23
24 // Libraries includes
25 #ifdef KONCLUDE_COMPILE_JNI_INTERFACE
26 #include <jni.h>
27 #endif
28
29 // Namespace includes
30 #include "JNISettings.h"
31 #include "CJNIOntologyRevisionData.h"
32 #include "CJNICommandProcessor.h"
33 #include "CJNIInstanceManager.h"
34
35 // Other includes
36 #include "Reasoner/Query/CEntityExpressionSetResultVisitingCallback.h"
37 #include "Reasoner/Query/CSetOfEntityExpressionSetResultVisitingCallback.h"
38
39 #include "Parser/Expressions/CBuildExpression.h"
40
41
42 // Logger includes
43 #include "Logger/CLogger.h"
44
45
46 namespace Konclude {
47
48 using namespace Reasoner::Query;
49 using namespace Parser::Expression;
50
51 namespace Control {
52
53 namespace Interface {
54
55 namespace JNI {
56
57
58 /*!
59 *
60 * \class CJNIAxiomLoader
61 * \author Andreas Steigmiller
62 * \version 0.1
63 * \brief TODO
64 *
65 */
66 class CJNIEntityExpressionMappedObjectSetOfSetVisitingCallback : public CSetOfEntityExpressionSetResultVisitingCallback {
67
68 #ifdef KONCLUDE_COMPILE_JNI_INTERFACE
69
70 // public methods
71 public:
72 //! Constructor
73 CJNIEntityExpressionMappedObjectSetOfSetVisitingCallback(CJNIOntologyRevisionData* ontRevData, JNIEnv* jenv, jobject jvisitor, jmethodID jvisitObjectMethod, jmethodID jstartVisit, jmethodID jendVisit);
74
75 //! Destructor
76 virtual ~CJNIEntityExpressionMappedObjectSetOfSetVisitingCallback();
77
78
79 virtual CEntityExpressionSetResultVisitingCallback* visitEntityExpression(CBuildExpression* entityExp, CConcreteOntology* ontology);
80
81 virtual CSetOfEntityExpressionSetResultVisitingCallback* startEntityExpressionSet(CConcreteOntology* ontology);
82 virtual CSetOfEntityExpressionSetResultVisitingCallback* endEntityExpressionSet(CConcreteOntology* ontology);
83
84
85 // protected methods
86 protected:
87
88 // protected variables
89 protected:
90 CJNIOntologyRevisionData* mOntRevData;
91 CJNIEntityMappingHash* mEntityMappingHash;
92 JNIEnv* mJenv;
93 jobject mJVisitor;
94 jmethodID mJVisitObjectMethod;
95 jmethodID mJStartVisitingMethod;
96 jmethodID mJEndVisitingMethod;
97
98
99
100 // private methods
101 private:
102
103 // private variables
104 private:
105 #endif
106
107 };
108
109 }; // end namespace JNI
110
111 }; // end namespace Interface
112
113 }; // end namespace Control
114
115 }; // end namespace Konclude
116
117 #endif // KONCLUDE_CONTROL_INTERFACE_JNI_CJNIENTITYEXPRESSIONMAPPEDOBJECTSETOFSETVISITINGCALLBACK_H