Debian Codegraph @

Source/Reasoner/Ontology/COntologyDataBoxes.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_REASONER_ONTOLOGY_CONTOLOGYDATABOXES_H
22 #define KONCLUDE_REASONER_ONTOLOGY_CONTOLOGYDATABOXES_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "OntologySettings.h"
29 #include "CExpressionDataBoxMapping.h"
30 #include "COntologyContext.h"
31 #include "CTBox.h"
32 #include "CABox.h"
33 #include "CRBox.h"
34 #include "CMBox.h"
35 #include "CDatatypeValueSpaceTypes.h"
36
37
38 // Other includes
39
40
41 // Logger includes
42 #include "Logger/CLogger.h"
43
44
45 namespace Konclude {
46
47 namespace Reasoner {
48
49 namespace Ontology {
50
51 /*!
52 *
53 * \class COntologyDataBoxes
54 * \author Andreas Steigmiller
55 * \version 0.1
56 * \brief TODO
57 *
58 */
59 class COntologyDataBoxes {
60 // public methods
61 public:
62 //! Constructor
63 COntologyDataBoxes(CBoxContext* boxContext = nullptr);
64
65 //! Destructor
66 virtual ~COntologyDataBoxes();
67
68 COntologyDataBoxes* referenceDataBoxes(COntologyDataBoxes* dataBoxes);
69
70 CConcept *getTopConcept();
71 CConcept *getBottomConcept();
72
73 CExpressionDataBoxMapping* getExpressionDataBoxMapping();
74 COntologyDataBoxes* setExpressionDataBoxMapping(CExpressionDataBoxMapping* expDatBoxMapping);
75
76 CTBox* getTBox();
77 CRBox* getRBox();
78 CABox* getABox();
79 CMBox* getMBox();
80
81 CBoxContext* getBoxContext();
82
83 bool isBasicBuild();
84 bool isInitialBuild();
85 bool isIterationBuild();
86
87 COntologyDataBoxes* setBasicBuild(bool basicBuild);
88 COntologyDataBoxes* setInitialBuild(bool initialBuild);
89 COntologyDataBoxes* setIterationBuild(bool iterationBuild);
90
91 COntologyDataBoxes* setBuildContinuation();
92
93 CDatatypeValueSpaceTypes* getDatatypeValueSpaceTypes();
94
95 // protected methods
96 protected:
97
98 // protected variables
99 protected:
100 CBoxContext* mBoxContext;
101
102 bool mBasicBuild;
103 bool mInitialBuild;
104 bool mIterationBuild;
105
106 bool mPrevOntBasicBuild;
107 bool mPrevOntInitialBuild;
108 bool mPrevOntIterationBuild;
109
110
111 CTBox* mTBox;
112 CABox* mABox;
113 CRBox* mRBox;
114 CMBox* mMBox;
115 CExpressionDataBoxMapping* mExpDataBoxMapping;
116 CDatatypeValueSpaceTypes* mValueSpaceTypes;
117
118 // private methods
119 private:
120
121 // private variables
122 private:
123
124 };
125
126 }; // end namespace Ontology
127
128 }; // end namespace Reasoner
129
130 }; // end namespace Konclude
131
132 #endif // KONCLUDE_REASONER_ONTOLOGY_CONTOLOGYDATABOXES_H