Debian Codegraph @

Source/Control/Interface/JNI/CJNIEntityExpressionMappedObjectSetVisitingCallback.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_CJNIENTITYEXPRESSIONMAPPEDOBJECTSETVISITINGCALLBACK_H
22 #define KONCLUDE_CONTROL_INTERFACE_JNI_CJNIENTITYEXPRESSIONMAPPEDOBJECTSETVISITINGCALLBACK_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
38 #include "Parser/Expressions/CBuildExpression.h"
39
40
41 // Logger includes
42 #include "Logger/CLogger.h"
43
44
45 namespace Konclude {
46
47 using namespace Reasoner::Query;
48 using namespace Parser::Expression;
49
50 namespace Control {
51
52 namespace Interface {
53
54 namespace JNI {
55
56 /*!
57 *
58 * \class CJNIAxiomLoader
59 * \author Andreas Steigmiller
60 * \version 0.1
61 * \brief TODO
62 *
63 */
64 class CJNIEntityExpressionMappedObjectSetVisitingCallback : public CEntityExpressionSetResultVisitingCallback {
65
66 #ifdef KONCLUDE_COMPILE_JNI_INTERFACE
67
68 // public methods
69 public:
70 //! Constructor
71 CJNIEntityExpressionMappedObjectSetVisitingCallback(CJNIOntologyRevisionData* ontRevData, JNIEnv* jenv, jobject jvisitor, jmethodID jvisitObjectMethod);
72
73 //! Destructor
74 virtual ~CJNIEntityExpressionMappedObjectSetVisitingCallback();
75
76
77 virtual CEntityExpressionSetResultVisitingCallback* visitEntityExpression(CBuildExpression* entityExp, CConcreteOntology* ontology);
78
79
80
81 // protected methods
82 protected:
83
84 // protected variables
85 protected:
86 CJNIOntologyRevisionData* mOntRevData;
87 CJNIEntityMappingHash* mEntityMappingHash;
88 JNIEnv* mJenv;
89 jobject mJVisitor;
90 jmethodID mJVisitObjectMethod;
91
92
93
94 // private methods
95 private:
96
97 // private variables
98 private:
99 #endif
100
101 };
102
103
104 }; // end namespace JNI
105
106 }; // end namespace Interface
107
108 }; // end namespace Control
109
110 }; // end namespace Konclude
111
112 #endif // KONCLUDE_CONTROL_INTERFACE_JNI_CJNIENTITYEXPRESSIONMAPPEDOBJECTSETVISITINGCALLBACK_H