Debian Codegraph @

Source/Reasoner/Ontology/COntologyBuildConstructFlags.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_CONTOLOGYBUILDCONSTRUCTFLAGS_H
22 #define KONCLUDE_REASONER_ONTOLOGY_CONTOLOGYBUILDCONSTRUCTFLAGS_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "OntologySettings.h"
29 #include "COntologyContext.h"
30
31
32 // Other includes
33
34 // Logger includes
35 #include "Logger/CLogger.h"
36
37
38 namespace Konclude {
39
40 namespace Reasoner {
41
42 namespace Ontology {
43
44 /*!
45 *
46 * \class COntologyBuildConstructFlags
47 * \author Andreas Steigmiller
48 * \version 0.1
49 * \brief TODO
50 *
51 */
52 class COntologyBuildConstructFlags {
53 // public methods
54 public:
55 //! Constructor
56 COntologyBuildConstructFlags(COntologyContext* ontoContext = nullptr);
57
58 COntologyBuildConstructFlags* resetFlags();
59
60 COntologyBuildConstructFlags* referenceBuildConstructFlags(COntologyBuildConstructFlags* buildConstructFlags);
61
62
63 bool isBottomObjectRoleUsed();
64 COntologyBuildConstructFlags* setBottomObjectRoleUsed(bool used = true);
65
66 bool isTopObjectRoleUsed();
67 COntologyBuildConstructFlags* setTopObjectRoleUsed(bool used = true);
68
69 bool isBottomDataRoleUsed();
70 COntologyBuildConstructFlags* setBottomDataRoleUsed(bool used = true);
71
72 bool isTopDataRoleUsed();
73 COntologyBuildConstructFlags* setTopDataRoleUsed(bool used = true);
74
75 bool isNonELConstructUsed();
76 COntologyBuildConstructFlags* setNonELConstructUsed(bool used = true);
77
78 bool isComplexRoleUsed();
79 COntologyBuildConstructFlags* setComplexRoleUsed(bool used = true);
80
81 bool isNominalSchemaUsed();
82 COntologyBuildConstructFlags* setNominalSchemaUsed(bool used = true);
83
84 bool isRetractionUsed();
85 COntologyBuildConstructFlags* setRetractionUsed(bool used = true);
86
87 // protected methods
88 protected:
89
90 // protected variables
91 protected:
92 COntologyContext* mOntoContext;
93
94 bool mBottomObjectRoleUsed;
95 bool mTopObjectRoleUsed;
96
97 bool mBottomDataRoleUsed;
98 bool mTopDataRoleUsed;
99
100 bool mNonELConstructUsed;
101
102 bool mNominalSchemaUsed;
103 bool mComplexRoleUsed;
104
105 bool mRetractionUsed;
106
107
108 // private methods
109 private:
110
111 // private variables
112 private:
113
114 };
115
116 }; // end namespace Ontology
117
118 }; // end namespace Reasoner
119
120 }; // end namespace Konclude
121
122 #endif // KONCLUDE_REASONER_ONTOLOGY_CONTOLOGYBUILDCONSTRUCTFLAGS_H