Debian Codegraph @

Source/Reasoner/Ontology/CNominalSchemaTemplate.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_CNOMINALSCHEMATEMPLATE_H
22 #define KONCLUDE_REASONER_ONTOLOGY_CNOMINALSCHEMATEMPLATE_H
23
24 // Libraries includes
25
26 // Namespace includes
27 #include "OntologySettings.h"
28 #include "CTagItem.h"
29 #include "CConcept.h"
30
31
32 // Other includes
33
34
35 // Logger includes
36 #include "Logger/CLogger.h"
37
38
39 namespace Konclude {
40
41 namespace Reasoner {
42
43 namespace Ontology {
44
45 /*!
46 *
47 * \class CNominalSchemaTemplate
48 * \author Andreas Steigmiller
49 * \version 0.1
50 * \brief TODO
51 *
52 */
53 class CNominalSchemaTemplate : public CTagItem {
54 // public methods
55 public:
56 //! Constructor
57 CNominalSchemaTemplate();
58
59 CNominalSchemaTemplate* initNominalSchemaTemplate(CBOXSET<CConcept*>* nomSchemaConSet, CBOXHASH<CConcept*,CConcept*>* conceptNomSchemaConceptsHash, CBOXHASH<CConcept*,CConcept*>* absorbableConceptNomSchemaConceptsHash);
60
61 CNominalSchemaTemplate* setNominalSchemaTemplateTag(qint64 nomSchemTempTag);
62 qint64 getNominalSchemaTemplateTag();
63
64 CNominalSchemaTemplate* setTerminology(CTerminology* ontology);
65 CTerminology* getTerminology();
66 qint64 getTerminologyTag() const;
67
68 CNominalSchemaTemplate* setTemplateConcept(CConcept* templateConcept);
69 CConcept* getTemplateConcept();
70
71 CNominalSchemaTemplate* setReferenceConcept(CConcept* referenceConcept);
72 CConcept* getReferenceConcept();
73
74 CBOXSET<CConcept*>* getNominalSchemaConceptSet();
75 CNominalSchemaTemplate* setNominalSchemaConceptSet(CBOXSET<CConcept*>* nomSchemaConSet);
76
77 CBOXHASH<CConcept*,CConcept*>* getTemplateConceptNominalSchemaConceptHash();
78 CNominalSchemaTemplate* setTemplateConceptNominalSchemaConceptHash(CBOXHASH<CConcept*,CConcept*>* conceptNomSchemaConceptsHash);
79
80 CBOXHASH<CConcept*,CConcept*>* getTemplateAbsorbableConceptNominalSchemaConceptHash();
81 CNominalSchemaTemplate* setTemplateAbsorbableConceptNominalSchemaConceptHash(CBOXHASH<CConcept*,CConcept*>* conceptNomSchemaConceptsHash);
82
83 // protected methods
84 protected:
85
86 // protected variables
87 protected:
88 CTerminology* mTerm;
89 CConcept* mTemplConcept;
90 CConcept* mRefConcept;
91
92 CBOXSET<CConcept*>* mNomSchemaConSet;
93 CBOXHASH<CConcept*,CConcept*>* mConceptNomSchemaConceptsHash;
94 CBOXHASH<CConcept*,CConcept*>* mAbsorbableConceptNomSchemaConceptsHash;
95
96 // private methods
97 private:
98
99 // private variables
100 private:
101
102 };
103
104 }; // end namespace Ontology
105
106 }; // end namespace Reasoner
107
108 }; // end namespace Konclude
109
110 #endif // KONCLUDE_REASONER_ONTOLOGY_CNOMINALSCHEMATEMPLATE_H