Debian Codegraph @

Source/Reasoner/Triples/CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData.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 #ifdef KONCLUDE_REDLAND_INTEGRATION
21
22 #ifndef KONCLUDE_REASONER_TRIPLES_CREDLANDSTOREDTRIPLESREPRESENTATIVEINDIVIDUALASSERTIONSINDEXDATA_H
23 #define KONCLUDE_REASONER_TRIPLES_CREDLANDSTOREDTRIPLESREPRESENTATIVEINDIVIDUALASSERTIONSINDEXDATA_H
24
25 // Libraries includes
26
27
28 // Namespace includes
29 #include "TriplesSettings.h"
30 #include "CRedlandStoredTriplesRepresentativeTagTypeConceptsSet.h"
31 #include "CRedlandStoredTriplesRepresentativeTagRolesSet.h"
32
33
34 // Other includes
35 #include "Utilities/UtilitiesSettings.h"
36
37
38 // Logger includes
39 #include "Logger/CLogger.h"
40
41
42 namespace Konclude {
43
44 using namespace Utilities;
45
46 namespace Reasoner {
47
48 namespace Triples {
49
50
51 /*!
52 *
53 * \class CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData
54 * \author Andreas Steigmiller
55 * \version 0.1
56 * \brief TODO
57 *
58 */
59 class CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData {
60 // public methods
61 public:
62 //! Constructor
63 CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData();
64
65 CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData(CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData* individualAssIndData);
66
67
68 CRedlandStoredTriplesRepresentativeTagTypeConceptsSet* getRepresentativeTypeConceptsSet();
69 CRedlandStoredTriplesRepresentativeTagRolesSet* getRepresentativeOutgoingObjectRolesSet();
70 CRedlandStoredTriplesRepresentativeTagRolesSet* getRepresentativeIncomingObjectRolesSet();
71 CRedlandStoredTriplesRepresentativeTagRolesSet* getRepresentativeOutgoingDataRolesSet();
72
73 bool hasDifferentFromAssertions();
74 bool hasSameAsAssertions();
75
76 bool hasTypeConceptsAssertions();
77 bool hasOutgoingObjectRoleAssertions();
78 bool hasIncomingObjectRoleAssertions();
79 bool hasOutgoingDataRoleAssertions();
80
81
82 CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData* setRepresentativeTypeConceptsSet(CRedlandStoredTriplesRepresentativeTagTypeConceptsSet* repConSet);
83 CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData* setRepresentativeOutgoingObjectRolesSet(CRedlandStoredTriplesRepresentativeTagRolesSet* repRoleSet);
84 CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData* setRepresentativeIncomingObjectRolesSet(CRedlandStoredTriplesRepresentativeTagRolesSet* repRoleSet);
85 CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData* setRepresentativeOutgoingDataRolesSet(CRedlandStoredTriplesRepresentativeTagRolesSet* repRoleSet);
86 CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData* setHasDifferentFromAssertions(bool hasAssertions);
87 CRedlandStoredTriplesRepresentativeIndividualAssertionsIndexData* setHasSameAsAssertions(bool hasAssertions);
88
89
90 // protected methods
91 protected:
92
93 // protected variables
94 protected:
95
96 CRedlandStoredTriplesRepresentativeTagTypeConceptsSet* mRepConSet = nullptr;
97
98 CRedlandStoredTriplesRepresentativeTagRolesSet* mOutgoingObjectRolesSet = nullptr;
99 CRedlandStoredTriplesRepresentativeTagRolesSet* mIncomingObjectRolesSet = nullptr;
100 CRedlandStoredTriplesRepresentativeTagRolesSet* mOutgoingDataRolesSet = nullptr;
101
102 bool mDifferentFromAssertions = false;
103 bool mSameAsAssertions = false;
104
105
106
107 // private methods
108 private:
109
110 // private variables
111 private:
112
113 };
114
115
116 }; // end namespace Triples
117
118 }; // end namespace Reasoner
119
120 }; // end namespace Konclude
121
122 #endif // KONCLUDE_REASONER_TRIPLES_CREDLANDSTOREDTRIPLESREPRESENTATIVEINDIVIDUALASSERTIONSINDEXDATA_H
123
124 #endif // !KONCLUDE_REDLAND_INTEGRATION