Debian Codegraph @

Source/Control/Interface/JNI/CJNIHandlingClassData.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_CJNIHANDLINGCLASSDATA_H
22 #define KONCLUDE_CONTROL_INTERFACE_JNI_CJNIHANDLINGCLASSDATA_H
23
24 // Libraries includes
25 #ifdef KONCLUDE_COMPILE_JNI_INTERFACE
26 #include <jni.h>
27 #endif
28
29
30 // Namespace includes
31 #include "JNISettings.h"
32
33 // Other includes
34
35
36 // Logger includes
37 #include "Logger/CLogger.h"
38
39
40 namespace Konclude {
41
42 namespace Control {
43
44 namespace Interface {
45
46 namespace JNI {
47
48 /*!
49 *
50 * \class CJNIHandlingClassData
51 * \author Andreas Steigmiller
52 * \version 0.1
53 * \brief TODO
54 *
55 */
56 class CJNIHandlingClassData {
57
58 #ifdef KONCLUDE_COMPILE_JNI_INTERFACE
59
60 // public methods
61 public:
62 //! Constructor
63 CJNIHandlingClassData(JNIEnv* jenv, const char* arrayClassName);
64
65 //! Destructor
66 virtual ~CJNIHandlingClassData();
67
68
69 jclass getClassID();
70 jclass getArrayClassID();
71
72 jfieldID getNativeDataFieldID();
73
74 jmethodID getConstrutorMethodID();
75 jmethodID getVisitObjectMethodID();
76 jmethodID getStartVisitObjectSetMethodID();
77 jmethodID getEndVisitObjectSetMethodID();
78
79
80 // protected methods
81 protected:
82
83 // protected variables
84 protected:
85
86 jclass mClassID;
87 jclass mArrayClassID;
88 jfieldID mNativeDataFieldID;
89 jmethodID mConstructorMethodID;
90 jmethodID mVisitingMethodID;
91 jmethodID mStartVisitObjectSetMethodID;
92 jmethodID mEndVisitObjectSetMethodID;
93
94 const char* mArrayClassName;
95 const char* mClassName;
96
97 JNIEnv* mJenv;
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_CJNIHANDLINGCLASSDATA_H