| 1 | /* This file is part of the FaCT++ DL reasoner |
| 2 | Copyright (C) 2008-2015 Dmitry Tsarkov and The University of Manchester |
| 3 | Copyright (C) 2015-2017 Dmitry Tsarkov |
| 4 | |
| 5 | This library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; either |
| 8 | version 2.1 of the License, or (at your option) any later version. |
| 9 | |
| 10 | This library is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with this library; if not, write to the Free Software |
| 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #ifndef TDLAXIOM_H |
| 21 | #define TDLAXIOM_Hcxx . . $ `Kernel/tDLAxiom.h:21:9`! |
| 22 | |
| 23 | #include "tDLExpression.h"cxx . . $ `<file>/Kernel/tDLExpression.h`/ |
| 24 | |
| 25 | // forward declaration for all axiom classes: necessary for the visitor pattern |
| 26 | class TDLAxiomDeclarationcxx . . $ TDLAxiomDeclaration#; |
| 27 | |
| 28 | class TDLAxiomEquivalentConceptscxx . . $ TDLAxiomEquivalentConcepts#; |
| 29 | class TDLAxiomDisjointConceptscxx . . $ TDLAxiomDisjointConcepts#; |
| 30 | class TDLAxiomDisjointUnioncxx . . $ TDLAxiomDisjointUnion#; |
| 31 | class TDLAxiomEquivalentORolescxx . . $ TDLAxiomEquivalentORoles#; |
| 32 | class TDLAxiomEquivalentDRolescxx . . $ TDLAxiomEquivalentDRoles#; |
| 33 | class TDLAxiomDisjointORolescxx . . $ TDLAxiomDisjointORoles#; |
| 34 | class TDLAxiomDisjointDRolescxx . . $ TDLAxiomDisjointDRoles#; |
| 35 | class TDLAxiomSameIndividualscxx . . $ TDLAxiomSameIndividuals#; |
| 36 | class TDLAxiomDifferentIndividualscxx . . $ TDLAxiomDifferentIndividuals#; |
| 37 | class TDLAxiomFairnessConstraintcxx . . $ TDLAxiomFairnessConstraint#; |
| 38 | |
| 39 | class TDLAxiomRoleInversecxx . . $ TDLAxiomRoleInverse#; |
| 40 | class TDLAxiomORoleSubsumptioncxx . . $ TDLAxiomORoleSubsumption#; |
| 41 | class TDLAxiomDRoleSubsumptioncxx . . $ TDLAxiomDRoleSubsumption#; |
| 42 | class TDLAxiomORoleDomaincxx . . $ TDLAxiomORoleDomain#; |
| 43 | class TDLAxiomDRoleDomaincxx . . $ TDLAxiomDRoleDomain#; |
| 44 | class TDLAxiomORoleRangecxx . . $ TDLAxiomORoleRange#; |
| 45 | class TDLAxiomDRoleRangecxx . . $ TDLAxiomDRoleRange#; |
| 46 | class TDLAxiomRoleTransitivecxx . . $ TDLAxiomRoleTransitive#; |
| 47 | class TDLAxiomRoleReflexivecxx . . $ TDLAxiomRoleReflexive#; |
| 48 | class TDLAxiomRoleIrreflexivecxx . . $ TDLAxiomRoleIrreflexive#; |
| 49 | class TDLAxiomRoleSymmetriccxx . . $ TDLAxiomRoleSymmetric#; |
| 50 | class TDLAxiomRoleAsymmetriccxx . . $ TDLAxiomRoleAsymmetric#; |
| 51 | class TDLAxiomORoleFunctionalcxx . . $ TDLAxiomORoleFunctional#; |
| 52 | class TDLAxiomDRoleFunctionalcxx . . $ TDLAxiomDRoleFunctional#; |
| 53 | class TDLAxiomRoleInverseFunctionalcxx . . $ TDLAxiomRoleInverseFunctional#; |
| 54 | |
| 55 | class TDLAxiomConceptInclusioncxx . . $ TDLAxiomConceptInclusion#; |
| 56 | class TDLAxiomInstanceOfcxx . . $ TDLAxiomInstanceOf#; |
| 57 | class TDLAxiomRelatedTocxx . . $ TDLAxiomRelatedTo#; |
| 58 | class TDLAxiomRelatedToNotcxx . . $ TDLAxiomRelatedToNot#; |
| 59 | class TDLAxiomValueOfcxx . . $ TDLAxiomValueOf#; |
| 60 | class TDLAxiomValueOfNotcxx . . $ TDLAxiomValueOfNot#; |
| 61 | |
| 62 | /// general visitor for DL axioms |
| 63 | class DLAxiomVisitorcxx . . $ DLAxiomVisitor# |
| 64 | { |
| 65 | public: // visitor interface |
| 66 | virtual void visitcxx . . $ DLAxiomVisitor#visit(d9d59c22ba059f26). ( const TDLAxiomDeclarationcxx . . $ TDLAxiomDeclaration#& axiom ) = 0; |
| 67 | |
| 68 | virtual void visitcxx . . $ DLAxiomVisitor#visit(9ecff12220e47c40). ( const TDLAxiomEquivalentConceptscxx . . $ TDLAxiomEquivalentConcepts#& axiom ) = 0; |
| 69 | virtual void visitcxx . . $ DLAxiomVisitor#visit(aa51a7285ba589ba). ( const TDLAxiomDisjointConceptscxx . . $ TDLAxiomDisjointConcepts#& axiom ) = 0; |
| 70 | virtual void visitcxx . . $ DLAxiomVisitor#visit(402fe14fc3eb0067). ( const TDLAxiomDisjointUnioncxx . . $ TDLAxiomDisjointUnion#& axiom ) = 0; |
| 71 | virtual void visitcxx . . $ DLAxiomVisitor#visit(c0fc84e0a2be77f7). ( const TDLAxiomEquivalentORolescxx . . $ TDLAxiomEquivalentORoles#& axiom ) = 0; |
| 72 | virtual void visitcxx . . $ DLAxiomVisitor#visit(c126fb3da66d6497). ( const TDLAxiomEquivalentDRolescxx . . $ TDLAxiomEquivalentDRoles#& axiom ) = 0; |
| 73 | virtual void visitcxx . . $ DLAxiomVisitor#visit(9b4c04465f82a032). ( const TDLAxiomDisjointORolescxx . . $ TDLAxiomDisjointORoles#& axiom ) = 0; |
| 74 | virtual void visitcxx . . $ DLAxiomVisitor#visit(f937f280b5be5d09). ( const TDLAxiomDisjointDRolescxx . . $ TDLAxiomDisjointDRoles#& axiom ) = 0; |
| 75 | virtual void visitcxx . . $ DLAxiomVisitor#visit(d37f1d21cd25a5f3). ( const TDLAxiomSameIndividualscxx . . $ TDLAxiomSameIndividuals#& axiom ) = 0; |
| 76 | virtual void visitcxx . . $ DLAxiomVisitor#visit(d0a24753794666b). ( const TDLAxiomDifferentIndividualscxx . . $ TDLAxiomDifferentIndividuals#& axiom ) = 0; |
| 77 | virtual void visitcxx . . $ DLAxiomVisitor#visit(8ec85f1c9f859b33). ( const TDLAxiomFairnessConstraintcxx . . $ TDLAxiomFairnessConstraint#& axiom ) = 0; |
| 78 | |
| 79 | virtual void visitcxx . . $ DLAxiomVisitor#visit(dbfe2e7150e0dc38). ( const TDLAxiomRoleInversecxx . . $ TDLAxiomRoleInverse#& axiom ) = 0; |
| 80 | virtual void visitcxx . . $ DLAxiomVisitor#visit(71a707b53d3a8b2f). ( const TDLAxiomORoleSubsumptioncxx . . $ TDLAxiomORoleSubsumption#& axiom ) = 0; |
| 81 | virtual void visitcxx . . $ DLAxiomVisitor#visit(20fca8e39bd7f9de). ( const TDLAxiomDRoleSubsumptioncxx . . $ TDLAxiomDRoleSubsumption#& axiom ) = 0; |
| 82 | virtual void visitcxx . . $ DLAxiomVisitor#visit(b19917e065e373b0). ( const TDLAxiomORoleDomaincxx . . $ TDLAxiomORoleDomain#& axiom ) = 0; |
| 83 | virtual void visitcxx . . $ DLAxiomVisitor#visit(6a89384f45b02cb7). ( const TDLAxiomDRoleDomaincxx . . $ TDLAxiomDRoleDomain#& axiom ) = 0; |
| 84 | virtual void visitcxx . . $ DLAxiomVisitor#visit(eef9ff8aad06e081). ( const TDLAxiomORoleRangecxx . . $ TDLAxiomORoleRange#& axiom ) = 0; |
| 85 | virtual void visitcxx . . $ DLAxiomVisitor#visit(da8dca8cacae49f9). ( const TDLAxiomDRoleRangecxx . . $ TDLAxiomDRoleRange#& axiom ) = 0; |
| 86 | virtual void visitcxx . . $ DLAxiomVisitor#visit(e8585e86130514df). ( const TDLAxiomRoleTransitivecxx . . $ TDLAxiomRoleTransitive#& axiom ) = 0; |
| 87 | virtual void visitcxx . . $ DLAxiomVisitor#visit(1555e5dd37550403). ( const TDLAxiomRoleReflexivecxx . . $ TDLAxiomRoleReflexive#& axiom ) = 0; |
| 88 | virtual void visitcxx . . $ DLAxiomVisitor#visit(eabfd54a3bd95b2). ( const TDLAxiomRoleIrreflexivecxx . . $ TDLAxiomRoleIrreflexive#& axiom ) = 0; |
| 89 | virtual void visitcxx . . $ DLAxiomVisitor#visit(371dc479b720f66a). ( const TDLAxiomRoleSymmetriccxx . . $ TDLAxiomRoleSymmetric#& axiom ) = 0; |
| 90 | virtual void visitcxx . . $ DLAxiomVisitor#visit(2eab0e2ee768d6ea). ( const TDLAxiomRoleAsymmetriccxx . . $ TDLAxiomRoleAsymmetric#& axiom ) = 0; |
| 91 | virtual void visitcxx . . $ DLAxiomVisitor#visit(1cb3074f4e7d0a89). ( const TDLAxiomORoleFunctionalcxx . . $ TDLAxiomORoleFunctional#& axiom ) = 0; |
| 92 | virtual void visitcxx . . $ DLAxiomVisitor#visit(4ed58748b443d4d). ( const TDLAxiomDRoleFunctionalcxx . . $ TDLAxiomDRoleFunctional#& axiom ) = 0; |
| 93 | virtual void visitcxx . . $ DLAxiomVisitor#visit(92d9880035cab613). ( const TDLAxiomRoleInverseFunctionalcxx . . $ TDLAxiomRoleInverseFunctional#& axiom ) = 0; |
| 94 | |
| 95 | virtual void visitcxx . . $ DLAxiomVisitor#visit(4415e73e741b43da). ( const TDLAxiomConceptInclusioncxx . . $ TDLAxiomConceptInclusion#& axiom ) = 0; |
| 96 | virtual void visitcxx . . $ DLAxiomVisitor#visit(ac53f03206c5ffd8). ( const TDLAxiomInstanceOfcxx . . $ TDLAxiomInstanceOf#& axiom ) = 0; |
| 97 | virtual void visitcxx . . $ DLAxiomVisitor#visit(adefee3ba499aec2). ( const TDLAxiomRelatedTocxx . . $ TDLAxiomRelatedTo#& axiom ) = 0; |
| 98 | virtual void visitcxx . . $ DLAxiomVisitor#visit(8c7dc9507962ec65). ( const TDLAxiomRelatedToNotcxx . . $ TDLAxiomRelatedToNot#& axiom ) = 0; |
| 99 | virtual void visitcxx . . $ DLAxiomVisitor#visit(ff1a1ebde6ad8bad). ( const TDLAxiomValueOfcxx . . $ TDLAxiomValueOf#& axiom ) = 0; |
| 100 | virtual void visitcxx . . $ DLAxiomVisitor#visit(df12686069e02fa4). ( const TDLAxiomValueOfNotcxx . . $ TDLAxiomValueOfNot#& axiom ) = 0; |
| 101 | |
| 102 | virtual ~cxx . . $ DLAxiomVisitor#`~DLAxiomVisitor`(49f6e7a06ebc5aa8).DLAxiomVisitorcxx . . $ DLAxiomVisitor#() = default; |
| 103 | }; // DLAxiomVisitor |
| 104 | |
| 105 | /// empty implementation of DL axioms visitor |
| 106 | class DLAxiomVisitorEmptycxx . . $ DLAxiomVisitorEmpty#: public DLAxiomVisitorcxx . . $ DLAxiomVisitor# |
| 107 | { |
| 108 | public: // visitor interface |
| 109 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(d9d59c22ba059f26). ( const TDLAxiomDeclarationcxx . . $ TDLAxiomDeclaration#& ) override {} |
| 110 | |
| 111 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(9ecff12220e47c40). ( const TDLAxiomEquivalentConceptscxx . . $ TDLAxiomEquivalentConcepts#& ) override {} |
| 112 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(aa51a7285ba589ba). ( const TDLAxiomDisjointConceptscxx . . $ TDLAxiomDisjointConcepts#& ) override {} |
| 113 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(402fe14fc3eb0067). ( const TDLAxiomDisjointUnioncxx . . $ TDLAxiomDisjointUnion#& ) override {} |
| 114 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(c0fc84e0a2be77f7). ( const TDLAxiomEquivalentORolescxx . . $ TDLAxiomEquivalentORoles#& ) override {} |
| 115 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(c126fb3da66d6497). ( const TDLAxiomEquivalentDRolescxx . . $ TDLAxiomEquivalentDRoles#& ) override {} |
| 116 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(9b4c04465f82a032). ( const TDLAxiomDisjointORolescxx . . $ TDLAxiomDisjointORoles#& ) override {} |
| 117 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(f937f280b5be5d09). ( const TDLAxiomDisjointDRolescxx . . $ TDLAxiomDisjointDRoles#& ) override {} |
| 118 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(d37f1d21cd25a5f3). ( const TDLAxiomSameIndividualscxx . . $ TDLAxiomSameIndividuals#& ) override {} |
| 119 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(d0a24753794666b). ( const TDLAxiomDifferentIndividualscxx . . $ TDLAxiomDifferentIndividuals#& ) override {} |
| 120 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(8ec85f1c9f859b33). ( const TDLAxiomFairnessConstraintcxx . . $ TDLAxiomFairnessConstraint#& ) override {} |
| 121 | |
| 122 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(dbfe2e7150e0dc38). ( const TDLAxiomRoleInversecxx . . $ TDLAxiomRoleInverse#& ) override {} |
| 123 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(71a707b53d3a8b2f). ( const TDLAxiomORoleSubsumptioncxx . . $ TDLAxiomORoleSubsumption#& ) override {} |
| 124 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(20fca8e39bd7f9de). ( const TDLAxiomDRoleSubsumptioncxx . . $ TDLAxiomDRoleSubsumption#& ) override {} |
| 125 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(b19917e065e373b0). ( const TDLAxiomORoleDomaincxx . . $ TDLAxiomORoleDomain#& ) override {} |
| 126 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(6a89384f45b02cb7). ( const TDLAxiomDRoleDomaincxx . . $ TDLAxiomDRoleDomain#& ) override {} |
| 127 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(eef9ff8aad06e081). ( const TDLAxiomORoleRangecxx . . $ TDLAxiomORoleRange#& ) override {} |
| 128 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(da8dca8cacae49f9). ( const TDLAxiomDRoleRangecxx . . $ TDLAxiomDRoleRange#& ) override {} |
| 129 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(e8585e86130514df). ( const TDLAxiomRoleTransitivecxx . . $ TDLAxiomRoleTransitive#& ) override {} |
| 130 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(1555e5dd37550403). ( const TDLAxiomRoleReflexivecxx . . $ TDLAxiomRoleReflexive#& ) override {} |
| 131 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(eabfd54a3bd95b2). ( const TDLAxiomRoleIrreflexivecxx . . $ TDLAxiomRoleIrreflexive#& ) override {} |
| 132 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(371dc479b720f66a). ( const TDLAxiomRoleSymmetriccxx . . $ TDLAxiomRoleSymmetric#& ) override {} |
| 133 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(2eab0e2ee768d6ea). ( const TDLAxiomRoleAsymmetriccxx . . $ TDLAxiomRoleAsymmetric#& ) override {} |
| 134 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(1cb3074f4e7d0a89). ( const TDLAxiomORoleFunctionalcxx . . $ TDLAxiomORoleFunctional#& ) override {} |
| 135 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(4ed58748b443d4d). ( const TDLAxiomDRoleFunctionalcxx . . $ TDLAxiomDRoleFunctional#& ) override {} |
| 136 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(92d9880035cab613). ( const TDLAxiomRoleInverseFunctionalcxx . . $ TDLAxiomRoleInverseFunctional#& ) override {} |
| 137 | |
| 138 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(4415e73e741b43da). ( const TDLAxiomConceptInclusioncxx . . $ TDLAxiomConceptInclusion#& ) override {} |
| 139 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(ac53f03206c5ffd8). ( const TDLAxiomInstanceOfcxx . . $ TDLAxiomInstanceOf#& ) override {} |
| 140 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(adefee3ba499aec2). ( const TDLAxiomRelatedTocxx . . $ TDLAxiomRelatedTo#& ) override {} |
| 141 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(8c7dc9507962ec65). ( const TDLAxiomRelatedToNotcxx . . $ TDLAxiomRelatedToNot#& ) override {} |
| 142 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(ff1a1ebde6ad8bad). ( const TDLAxiomValueOfcxx . . $ TDLAxiomValueOf#& ) override {} |
| 143 | void visitcxx . . $ DLAxiomVisitorEmpty#visit(df12686069e02fa4). ( const TDLAxiomValueOfNotcxx . . $ TDLAxiomValueOfNot#& ) override {} |
| 144 | }; // DLAxiomVisitor |
| 145 | |
| 146 | /// signature of an axiom |
| 147 | class TSignaturecxx . . $ TSignature#; |
| 148 | /// atom that the axiom belongs to |
| 149 | class TOntologyAtomcxx . . $ TOntologyAtom#; |
| 150 | |
| 151 | /// base class for the DL axiom, which include T-, A- and RBox ones |
| 152 | class TDLAxiomcxx . . $ TDLAxiom# |
| 153 | { |
| 154 | protected: // members |
| 155 | /// id of the axiom |
| 156 | unsigned int idcxx . . $ TDLAxiom#id. = 0; |
| 157 | /// signature (built lazily on demand) |
| 158 | TSignaturecxx . . $ TSignature#* sigcxx . . $ TDLAxiom#sig. = nullptr; |
| 159 | /// atom of the ontology (build lazily on demand) |
| 160 | const TOntologyAtomcxx . . $ TOntologyAtom#* Atomcxx . . $ TDLAxiom#Atom. = nullptr; |
| 161 | /// flag to show whether it is used (to support retraction) |
| 162 | bool usedcxx . . $ TDLAxiom#used. = true; |
| 163 | /// flag to show whether or not the axiom is in the module |
| 164 | bool inModulecxx . . $ TDLAxiom#inModule. = false; |
| 165 | /// flag to show whether or not the axiom is in the search space for the optimised modularization algorithm |
| 166 | bool inSearchSpacecxx . . $ TDLAxiom#inSearchSpace. = false; |
| 167 | |
| 168 | protected: // methods |
| 169 | /// build signature of an axiom |
| 170 | void buildSignaturecxx . . $ TDLAxiom#buildSignature(49f6e7a06ebc5aa8). ( void ); |
| 171 | |
| 172 | public: // interface |
| 173 | /// empty c'tor |
| 174 | TDLAxiomcxx . . $ TDLAxiom#TDLAxiom(49f6e7a06ebc5aa8).() = default; |
| 175 | /// d'tor: delete signature if it was created |
| 176 | virtual ~cxx . . $ TDLAxiom#`~TDLAxiom`(49f6e7a06ebc5aa8).TDLAxiomcxx . . $ TDLAxiom#(); |
| 177 | |
| 178 | // id management |
| 179 | |
| 180 | /// set the id |
| 181 | void setIdcxx . . $ TDLAxiom#setId(cb2f890c2fdad230). ( unsigned int Id ) { idcxx . . $ TDLAxiom#id. = Id; } |
| 182 | /// get the id |
| 183 | unsigned int getIdcxx . . $ TDLAxiom#getId(ddd8539a2fcdd4ce). ( void ) const { return idcxx . . $ TDLAxiom#id.; } |
| 184 | |
| 185 | // used management |
| 186 | |
| 187 | /// set the used flag |
| 188 | void setUsedcxx . . $ TDLAxiom#setUsed(b45ddcbc8423892c). ( bool Used ) { usedcxx . . $ TDLAxiom#used. = Used; } |
| 189 | /// get the value of the used flag |
| 190 | bool isUsedcxx . . $ TDLAxiom#isUsed(50ce9a9e25b4a850). ( void ) const { return usedcxx . . $ TDLAxiom#used.; } |
| 191 | |
| 192 | // modularity management |
| 193 | |
| 194 | /// set the inModule flag |
| 195 | void setInModulecxx . . $ TDLAxiom#setInModule(b45ddcbc8423892c). ( bool flag ) { inModulecxx . . $ TDLAxiom#inModule. = flag; } |
| 196 | /// get the value of the inModule flag |
| 197 | bool isInModulecxx . . $ TDLAxiom#isInModule(50ce9a9e25b4a850). ( void ) const { return inModulecxx . . $ TDLAxiom#inModule.; } |
| 198 | /// set the isSearchSpace flag |
| 199 | void setInSScxx . . $ TDLAxiom#setInSS(b45ddcbc8423892c). ( bool flag ) { inSearchSpacecxx . . $ TDLAxiom#inSearchSpace. = flag; } |
| 200 | /// get the value of the isSearchSpace flag |
| 201 | bool isInSScxx . . $ TDLAxiom#isInSS(50ce9a9e25b4a850). ( void ) const { return inSearchSpacecxx . . $ TDLAxiom#inSearchSpace.; } |
| 202 | |
| 203 | // signature access |
| 204 | |
| 205 | const TSignaturecxx . . $ TSignature#& getSignaturecxx . . $ TDLAxiom#getSignature(67d28bb768a72444). ( void ) |
| 206 | { |
| 207 | if ( sigcxx . . $ TDLAxiom#sig. == nullptr ) // 1st access: build it |
| 208 | buildSignaturecxx . . $ TDLAxiom#buildSignature(49f6e7a06ebc5aa8).(); |
| 209 | return *sigcxx . . $ TDLAxiom#sig.; |
| 210 | } |
| 211 | |
| 212 | // ontological atomic structure management |
| 213 | |
| 214 | /// set atom to which the axiom belongs |
| 215 | void setAtomcxx . . $ TDLAxiom#setAtom(a6a3ca6e1aeed0ea). ( const TOntologyAtomcxx . . $ TOntologyAtom#* atom ) { Atomcxx . . $ TDLAxiom#Atom. = atom; } |
| 216 | /// get the atom an axiom belongs to |
| 217 | const TOntologyAtomcxx . . $ TOntologyAtom#* getAtomcxx . . $ TDLAxiom#getAtom(a636214afeaaa94e). ( void ) const { return Atomcxx . . $ TDLAxiom#Atom.; } |
| 218 | |
| 219 | // visitor interface |
| 220 | |
| 221 | /// accept method for the visitor pattern |
| 222 | virtual void acceptcxx . . $ TDLAxiom#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const = 0; |
| 223 | }; // TDLAxiom |
| 224 | |
| 225 | //------------------------------------------------------------------ |
| 226 | /// globally visible axiom vector |
| 227 | //------------------------------------------------------------------ |
| 228 | typedef stdcxx . . $ std/::vectorcxx . . $ std/vector#<TDLAxiomcxx . . $ TDLAxiom#*> AxiomVeccxx . . $ AxiomVec#; |
| 229 | |
| 230 | //------------------------------------------------------------------ |
| 231 | /// general declaration axiom |
| 232 | //------------------------------------------------------------------ |
| 233 | class TDLAxiomDeclarationcxx . . $ TDLAxiomDeclaration#: public TDLAxiomcxx . . $ TDLAxiom# |
| 234 | { |
| 235 | protected: // members |
| 236 | const TDLExpressioncxx . . $ TDLExpression#* Dcxx . . $ TDLAxiomDeclaration#D.; |
| 237 | |
| 238 | public: // interface |
| 239 | /// c'tor: create an axiom |
| 240 | explicit TDLAxiomDeclarationcxx . . $ TDLAxiomDeclaration#TDLAxiomDeclaration(ca1ea7df707d7472). ( const TDLExpressioncxx . . $ TDLExpression#* d ) : TDLAxiomcxx . . $ TDLAxiom#(), Dcxx . . $ TDLAxiomDeclaration#D.(d) {} |
| 241 | |
| 242 | /// access |
| 243 | const TDLExpressioncxx . . $ TDLExpression#* getDeclarationcxx . . $ TDLAxiomDeclaration#getDeclaration(64c3665937a632bf). ( void ) const { return Dcxx . . $ TDLAxiomDeclaration#D.; } |
| 244 | /// accept method for the visitor pattern |
| 245 | void acceptcxx . . $ TDLAxiomDeclaration#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(d9d59c22ba059f26).(*this); } |
| 246 | }; // TDLAxiomIndividual |
| 247 | |
| 248 | //------------------------------------------------------------------ |
| 249 | // n-ary axioms |
| 250 | //------------------------------------------------------------------ |
| 251 | |
| 252 | //------------------------------------------------------------------ |
| 253 | /// Concept equivalence axiom |
| 254 | //------------------------------------------------------------------ |
| 255 | class TDLAxiomEquivalentConceptscxx . . $ TDLAxiomEquivalentConcepts#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#> |
| 256 | { |
| 257 | public: // interface |
| 258 | /// c'tor: create an axiom for C1 = ... = Cn |
| 259 | explicit TDLAxiomEquivalentConceptscxx . . $ TDLAxiomEquivalentConcepts#TDLAxiomEquivalentConcepts(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 260 | : TDLAxiomcxx . . $ TDLAxiom#() |
| 261 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#>("concept expression","equivalent concepts") |
| 262 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 263 | /// accept method for the visitor pattern |
| 264 | void acceptcxx . . $ TDLAxiomEquivalentConcepts#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(9ecff12220e47c40).(*this); } |
| 265 | }; // TDLAxiomEquivalentConcepts |
| 266 | |
| 267 | //------------------------------------------------------------------ |
| 268 | /// Concept disjointness axiom |
| 269 | //------------------------------------------------------------------ |
| 270 | class TDLAxiomDisjointConceptscxx . . $ TDLAxiomDisjointConcepts#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#> |
| 271 | { |
| 272 | public: // interface |
| 273 | /// c'tor: create an axiom for C1 != ... != Cn |
| 274 | explicit TDLAxiomDisjointConceptscxx . . $ TDLAxiomDisjointConcepts#TDLAxiomDisjointConcepts(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 275 | : TDLAxiomcxx . . $ TDLAxiom#() |
| 276 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#TDLNAryExpression(2fa786934fe80e24).<TDLConceptExpressioncxx . . $ TDLConceptExpression#>("concept expression","disjoint concepts") |
| 277 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 278 | /// accept method for the visitor pattern |
| 279 | void acceptcxx . . $ TDLAxiomDisjointConcepts#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(aa51a7285ba589ba).(*this); } |
| 280 | }; // TDLAxiomDisjointConcepts |
| 281 | |
| 282 | //------------------------------------------------------------------ |
| 283 | /// Disjoint Union axiom |
| 284 | //------------------------------------------------------------------ |
| 285 | class TDLAxiomDisjointUnioncxx . . $ TDLAxiomDisjointUnion#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#> |
| 286 | { |
| 287 | protected: // members |
| 288 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* Ccxx . . $ TDLAxiomDisjointUnion#C.; |
| 289 | |
| 290 | public: // interface |
| 291 | /// c'tor: create an axiom |
| 292 | TDLAxiomDisjointUnioncxx . . $ TDLAxiomDisjointUnion#TDLAxiomDisjointUnion(3504b3f486c42056). ( const TDLConceptExpressioncxx . . $ TDLConceptExpression#* c, const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 293 | : TDLAxiomcxx . . $ TDLAxiom#() |
| 294 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#>("concept expression","disjoint union") |
| 295 | , Ccxx . . $ TDLAxiomDisjointUnion#C.(c) |
| 296 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 297 | /// accept method for the visitor pattern |
| 298 | void acceptcxx . . $ TDLAxiomDisjointUnion#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(402fe14fc3eb0067).(*this); } |
| 299 | |
| 300 | /// access |
| 301 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* getCcxx . . $ TDLAxiomDisjointUnion#getC(76ab2b9ad52d3e83). ( void ) const { return Ccxx . . $ TDLAxiomDisjointUnion#C.; } |
| 302 | }; // TDLAxiomInstanceOf |
| 303 | |
| 304 | //------------------------------------------------------------------ |
| 305 | /// Object Role equivalence axiom |
| 306 | //------------------------------------------------------------------ |
| 307 | class TDLAxiomEquivalentORolescxx . . $ TDLAxiomEquivalentORoles#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#> |
| 308 | { |
| 309 | public: // interface |
| 310 | /// c'tor: create an axiom for OR1 = ... = ORn |
| 311 | explicit TDLAxiomEquivalentORolescxx . . $ TDLAxiomEquivalentORoles#TDLAxiomEquivalentORoles(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 312 | : TDLAxiomcxx . . $ TDLAxiom#() |
| 313 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#>("object role expression","equivalent roles") |
| 314 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 315 | /// accept method for the visitor pattern |
| 316 | void acceptcxx . . $ TDLAxiomEquivalentORoles#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(c0fc84e0a2be77f7).(*this); } |
| 317 | }; // TDLAxiomEquivalentORoles |
| 318 | |
| 319 | //------------------------------------------------------------------ |
| 320 | /// Data Role equivalence axiom |
| 321 | //------------------------------------------------------------------ |
| 322 | class TDLAxiomEquivalentDRolescxx . . $ TDLAxiomEquivalentDRoles#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#> |
| 323 | { |
| 324 | public: // interface |
| 325 | /// c'tor: create an axiom for DR1 = ... = DRn |
| 326 | explicit TDLAxiomEquivalentDRolescxx . . $ TDLAxiomEquivalentDRoles#TDLAxiomEquivalentDRoles(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 327 | : TDLAxiomcxx . . $ TDLAxiom#() |
| 328 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#>("data role expression","equivalent roles") |
| 329 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 330 | /// accept method for the visitor pattern |
| 331 | void acceptcxx . . $ TDLAxiomEquivalentDRoles#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(c126fb3da66d6497).(*this); } |
| 332 | }; // TDLAxiomEquivalentDRoles |
| 333 | |
| 334 | //------------------------------------------------------------------ |
| 335 | /// Object Role disjointness axiom |
| 336 | //------------------------------------------------------------------ |
| 337 | class TDLAxiomDisjointORolescxx . . $ TDLAxiomDisjointORoles#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#> |
| 338 | { |
| 339 | public: // interface |
| 340 | /// c'tor: create an axiom for OR1 != ... != ORn |
| 341 | explicit TDLAxiomDisjointORolescxx . . $ TDLAxiomDisjointORoles#TDLAxiomDisjointORoles(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 342 | : TDLAxiomcxx . . $ TDLAxiom#() |
| 343 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#TDLNAryExpression(2fa786934fe80e24).<TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#>("object role expression","disjoint roles") |
| 344 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 345 | /// accept method for the visitor pattern |
| 346 | void acceptcxx . . $ TDLAxiomDisjointORoles#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(9b4c04465f82a032).(*this); } |
| 347 | }; // TDLAxiomDisjointORoles |
| 348 | |
| 349 | //------------------------------------------------------------------ |
| 350 | /// Data Role disjointness axiom |
| 351 | //------------------------------------------------------------------ |
| 352 | class TDLAxiomDisjointDRolescxx . . $ TDLAxiomDisjointDRoles#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#> |
| 353 | { |
| 354 | public: // interface |
| 355 | /// c'tor: create an axiom for DR1 != ... != DRn |
| 356 | explicit TDLAxiomDisjointDRolescxx . . $ TDLAxiomDisjointDRoles#TDLAxiomDisjointDRoles(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 357 | : TDLAxiomcxx . . $ TDLAxiom#TDLAxiom(49f6e7a06ebc5aa8).() |
| 358 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#TDLNAryExpression(2fa786934fe80e24).<TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#>("data role expression","disjoint roles") |
| 359 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 360 | /// accept method for the visitor pattern |
| 361 | void acceptcxx . . $ TDLAxiomDisjointDRoles#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(f937f280b5be5d09).(*this); } |
| 362 | }; // TDLAxiomDisjointDRoles |
| 363 | |
| 364 | //------------------------------------------------------------------ |
| 365 | /// Same individuals axiom |
| 366 | //------------------------------------------------------------------ |
| 367 | class TDLAxiomSameIndividualscxx . . $ TDLAxiomSameIndividuals#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLIndividualExpressioncxx . . $ TDLIndividualExpression#> |
| 368 | { |
| 369 | public: // interface |
| 370 | /// c'tor: create an axiom for i1 = ... = in |
| 371 | explicit TDLAxiomSameIndividualscxx . . $ TDLAxiomSameIndividuals#TDLAxiomSameIndividuals(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 372 | : TDLAxiomcxx . . $ TDLAxiom#() |
| 373 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLIndividualExpressioncxx . . $ TDLIndividualExpression#>("individual expression","same individuals") |
| 374 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 375 | /// accept method for the visitor pattern |
| 376 | void acceptcxx . . $ TDLAxiomSameIndividuals#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(d37f1d21cd25a5f3).(*this); } |
| 377 | }; // TDLAxiomSameIndividuals |
| 378 | |
| 379 | //------------------------------------------------------------------ |
| 380 | /// Different individuals axiom |
| 381 | //------------------------------------------------------------------ |
| 382 | class TDLAxiomDifferentIndividualscxx . . $ TDLAxiomDifferentIndividuals#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLIndividualExpressioncxx . . $ TDLIndividualExpression#> |
| 383 | { |
| 384 | public: // interface |
| 385 | /// c'tor: create an axiom for i1 != ... != in |
| 386 | explicit TDLAxiomDifferentIndividualscxx . . $ TDLAxiomDifferentIndividuals#TDLAxiomDifferentIndividuals(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 387 | : TDLAxiomcxx . . $ TDLAxiom#TDLAxiom(49f6e7a06ebc5aa8).() |
| 388 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#TDLNAryExpression(2fa786934fe80e24).<TDLIndividualExpressioncxx . . $ TDLIndividualExpression#>("individual expression","different individuals") |
| 389 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 390 | /// accept method for the visitor pattern |
| 391 | void acceptcxx . . $ TDLAxiomDifferentIndividuals#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(d0a24753794666b).(*this); } |
| 392 | }; // TDLAxiomDifferentIndividuals |
| 393 | |
| 394 | //------------------------------------------------------------------ |
| 395 | /// Fairness constraint axiom |
| 396 | //------------------------------------------------------------------ |
| 397 | class TDLAxiomFairnessConstraintcxx . . $ TDLAxiomFairnessConstraint#: public TDLAxiomcxx . . $ TDLAxiom#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#> |
| 398 | { |
| 399 | public: // interface |
| 400 | /// c'tor: create an axiom for Fair(C1), ... Fair(Cn) constraints |
| 401 | explicit TDLAxiomFairnessConstraintcxx . . $ TDLAxiomFairnessConstraint#TDLAxiomFairnessConstraint(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 402 | : TDLAxiomcxx . . $ TDLAxiom#() |
| 403 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#>("concept expression","fairness") |
| 404 | { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); } |
| 405 | /// accept method for the visitor pattern |
| 406 | void acceptcxx . . $ TDLAxiomFairnessConstraint#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(8ec85f1c9f859b33).(*this); } |
| 407 | }; // TDLAxiomFairnessConstraint |
| 408 | |
| 409 | //------------------------------------------------------------------ |
| 410 | // Role-related axiom |
| 411 | //------------------------------------------------------------------ |
| 412 | |
| 413 | //------------------------------------------------------------------ |
| 414 | /// General axiom that contains a single object role |
| 415 | //------------------------------------------------------------------ |
| 416 | class TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#: public TDLAxiomcxx . . $ TDLAxiom# |
| 417 | { |
| 418 | protected: // members |
| 419 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* Rolecxx . . $ TDLAxiomSingleORole#Role.; |
| 420 | |
| 421 | public: // interface |
| 422 | /// c'tor: create an axiom |
| 423 | explicit TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#TDLAxiomSingleORole(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role ) |
| 424 | : TDLAxiomcxx . . $ TDLAxiom#TDLAxiom(49f6e7a06ebc5aa8).() |
| 425 | , Rolecxx . . $ TDLAxiomSingleORole#Role.(role) |
| 426 | {} |
| 427 | |
| 428 | /// access to role |
| 429 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* getRolecxx . . $ TDLAxiomSingleORole#getRole(b0a963b5b1b1e1ae). ( void ) const { return Rolecxx . . $ TDLAxiomSingleORole#Role.; } |
| 430 | }; // TDLAxiomSingleORole |
| 431 | |
| 432 | //------------------------------------------------------------------ |
| 433 | /// General axiom that contains a single data role |
| 434 | //------------------------------------------------------------------ |
| 435 | class TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole#: public TDLAxiomcxx . . $ TDLAxiom# |
| 436 | { |
| 437 | protected: // members |
| 438 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* Rolecxx . . $ TDLAxiomSingleDRole#Role.; |
| 439 | |
| 440 | public: // interface |
| 441 | /// c'tor: create an axiom |
| 442 | explicit TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole#TDLAxiomSingleDRole(9eb5227bbe3ab2ee). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* role ) |
| 443 | : TDLAxiomcxx . . $ TDLAxiom#() |
| 444 | , Rolecxx . . $ TDLAxiomSingleDRole#Role.(role) |
| 445 | {} |
| 446 | |
| 447 | /// access to role |
| 448 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* getRolecxx . . $ TDLAxiomSingleDRole#getRole(a81f3d9965bf170b). ( void ) const { return Rolecxx . . $ TDLAxiomSingleDRole#Role.; } |
| 449 | }; // TDLAxiomSingleDRole |
| 450 | |
| 451 | //------------------------------------------------------------------ |
| 452 | /// Role inverse axiom |
| 453 | //------------------------------------------------------------------ |
| 454 | class TDLAxiomRoleInversecxx . . $ TDLAxiomRoleInverse#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 455 | { |
| 456 | protected: // members |
| 457 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* InvRolecxx . . $ TDLAxiomRoleInverse#InvRole.; |
| 458 | |
| 459 | public: // interface |
| 460 | /// c'tor: create an axiom |
| 461 | TDLAxiomRoleInversecxx . . $ TDLAxiomRoleInverse#TDLAxiomRoleInverse(9e5cc97aabeb9892). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* dirRole, const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* invRole ) |
| 462 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#(dirRole) |
| 463 | , InvRolecxx . . $ TDLAxiomRoleInverse#InvRole.(invRole) |
| 464 | {} |
| 465 | /// accept method for the visitor pattern |
| 466 | void acceptcxx . . $ TDLAxiomRoleInverse#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(dbfe2e7150e0dc38).(*this); } |
| 467 | |
| 468 | /// access to role |
| 469 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* getInvRolecxx . . $ TDLAxiomRoleInverse#getInvRole(b0a963b5b1b1e1ae). ( void ) const { return InvRolecxx . . $ TDLAxiomRoleInverse#InvRole.; } |
| 470 | }; // TDLAxiomRoleInverse |
| 471 | |
| 472 | //------------------------------------------------------------------ |
| 473 | /// Object Role subsumption axiom |
| 474 | //------------------------------------------------------------------ |
| 475 | class TDLAxiomORoleSubsumptioncxx . . $ TDLAxiomORoleSubsumption#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 476 | { |
| 477 | protected: // members |
| 478 | const TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression#* SubRolecxx . . $ TDLAxiomORoleSubsumption#SubRole.; |
| 479 | |
| 480 | public: // interface |
| 481 | /// c'tor: create an axiom |
| 482 | TDLAxiomORoleSubsumptioncxx . . $ TDLAxiomORoleSubsumption#TDLAxiomORoleSubsumption(79146013c135ae6f). ( const TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression#* subRole, const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* supRole ) |
| 483 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#TDLAxiomSingleORole(4301d0bef5e81149).(supRole) |
| 484 | , SubRolecxx . . $ TDLAxiomORoleSubsumption#SubRole.(subRole) |
| 485 | {} |
| 486 | /// accept method for the visitor pattern |
| 487 | void acceptcxx . . $ TDLAxiomORoleSubsumption#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(71a707b53d3a8b2f).(*this); } |
| 488 | |
| 489 | /// access to role |
| 490 | const TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression#* getSubRolecxx . . $ TDLAxiomORoleSubsumption#getSubRole(15ec025ea2d791ae). ( void ) const { return SubRolecxx . . $ TDLAxiomORoleSubsumption#SubRole.; } |
| 491 | }; // TDLAxiomORoleSubsumption |
| 492 | |
| 493 | //------------------------------------------------------------------ |
| 494 | /// Data Role subsumption axiom |
| 495 | //------------------------------------------------------------------ |
| 496 | class TDLAxiomDRoleSubsumptioncxx . . $ TDLAxiomDRoleSubsumption#: public TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole# |
| 497 | { |
| 498 | protected: // members |
| 499 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* SubRolecxx . . $ TDLAxiomDRoleSubsumption#SubRole.; |
| 500 | |
| 501 | public: // interface |
| 502 | /// c'tor: create an axiom |
| 503 | TDLAxiomDRoleSubsumptioncxx . . $ TDLAxiomDRoleSubsumption#TDLAxiomDRoleSubsumption(dc9d1d1baf3f78c1). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* subRole, const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* supRole ) |
| 504 | : TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole#TDLAxiomSingleDRole(9eb5227bbe3ab2ee).(supRole) |
| 505 | , SubRolecxx . . $ TDLAxiomDRoleSubsumption#SubRole.(subRole) |
| 506 | {} |
| 507 | /// accept method for the visitor pattern |
| 508 | void acceptcxx . . $ TDLAxiomDRoleSubsumption#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(20fca8e39bd7f9de).(*this); } |
| 509 | |
| 510 | /// access to role |
| 511 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* getSubRolecxx . . $ TDLAxiomDRoleSubsumption#getSubRole(a81f3d9965bf170b). ( void ) const { return SubRolecxx . . $ TDLAxiomDRoleSubsumption#SubRole.; } |
| 512 | }; // TDLAxiomDRoleSubsumption |
| 513 | |
| 514 | //------------------------------------------------------------------ |
| 515 | /// Object Role domain axiom |
| 516 | //------------------------------------------------------------------ |
| 517 | class TDLAxiomORoleDomaincxx . . $ TDLAxiomORoleDomain#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 518 | { |
| 519 | protected: // members |
| 520 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* Domaincxx . . $ TDLAxiomORoleDomain#Domain.; |
| 521 | |
| 522 | public: // interface |
| 523 | /// c'tor: create an axiom |
| 524 | TDLAxiomORoleDomaincxx . . $ TDLAxiomORoleDomain#TDLAxiomORoleDomain(609642eea48c4756). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* domain ) |
| 525 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#(role) |
| 526 | , Domaincxx . . $ TDLAxiomORoleDomain#Domain.(domain) |
| 527 | {} |
| 528 | /// accept method for the visitor pattern |
| 529 | void acceptcxx . . $ TDLAxiomORoleDomain#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(b19917e065e373b0).(*this); } |
| 530 | |
| 531 | /// access |
| 532 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* getDomaincxx . . $ TDLAxiomORoleDomain#getDomain(76ab2b9ad52d3e83). ( void ) const { return Domaincxx . . $ TDLAxiomORoleDomain#Domain.; } |
| 533 | }; // TDLAxiomORoleDomain |
| 534 | |
| 535 | //------------------------------------------------------------------ |
| 536 | /// Data Role domain axiom |
| 537 | //------------------------------------------------------------------ |
| 538 | class TDLAxiomDRoleDomaincxx . . $ TDLAxiomDRoleDomain#: public TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole# |
| 539 | { |
| 540 | protected: // members |
| 541 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* Domaincxx . . $ TDLAxiomDRoleDomain#Domain.; |
| 542 | |
| 543 | public: // interface |
| 544 | /// c'tor: create an axiom |
| 545 | TDLAxiomDRoleDomaincxx . . $ TDLAxiomDRoleDomain#TDLAxiomDRoleDomain(74b77535b23c0ee1). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* role, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* domain ) |
| 546 | : TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole#TDLAxiomSingleDRole(9eb5227bbe3ab2ee).(role) |
| 547 | , Domaincxx . . $ TDLAxiomDRoleDomain#Domain.(domain) |
| 548 | {} |
| 549 | /// accept method for the visitor pattern |
| 550 | void acceptcxx . . $ TDLAxiomDRoleDomain#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(6a89384f45b02cb7).(*this); } |
| 551 | |
| 552 | /// access |
| 553 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* getDomaincxx . . $ TDLAxiomDRoleDomain#getDomain(76ab2b9ad52d3e83). ( void ) const { return Domaincxx . . $ TDLAxiomDRoleDomain#Domain.; } |
| 554 | }; // TDLAxiomDRoleDomain |
| 555 | |
| 556 | //------------------------------------------------------------------ |
| 557 | /// Object Role range axiom |
| 558 | //------------------------------------------------------------------ |
| 559 | class TDLAxiomORoleRangecxx . . $ TDLAxiomORoleRange#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 560 | { |
| 561 | protected: // members |
| 562 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* Rangecxx . . $ TDLAxiomORoleRange#Range.; |
| 563 | |
| 564 | public: // interface |
| 565 | /// c'tor: create an axiom |
| 566 | TDLAxiomORoleRangecxx . . $ TDLAxiomORoleRange#TDLAxiomORoleRange(609642eea48c4756). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* range ) |
| 567 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#(role) |
| 568 | , Rangecxx . . $ TDLAxiomORoleRange#Range.(range) |
| 569 | {} |
| 570 | /// accept method for the visitor pattern |
| 571 | void acceptcxx . . $ TDLAxiomORoleRange#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(eef9ff8aad06e081).(*this); } |
| 572 | |
| 573 | /// access |
| 574 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* getRangecxx . . $ TDLAxiomORoleRange#getRange(76ab2b9ad52d3e83). ( void ) const { return Rangecxx . . $ TDLAxiomORoleRange#Range.; } |
| 575 | }; // TDLAxiomORoleRange |
| 576 | |
| 577 | //------------------------------------------------------------------ |
| 578 | /// Data Role range axiom |
| 579 | //------------------------------------------------------------------ |
| 580 | class TDLAxiomDRoleRangecxx . . $ TDLAxiomDRoleRange#: public TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole# |
| 581 | { |
| 582 | protected: // members |
| 583 | const TDLDataExpressioncxx . . $ TDLDataExpression#* Rangecxx . . $ TDLAxiomDRoleRange#Range.; |
| 584 | |
| 585 | public: // interface |
| 586 | /// c'tor: create an axiom |
| 587 | TDLAxiomDRoleRangecxx . . $ TDLAxiomDRoleRange#TDLAxiomDRoleRange(8674b0a595b76b2d). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* role, const TDLDataExpressioncxx . . $ TDLDataExpression#* range ) |
| 588 | : TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole#TDLAxiomSingleDRole(9eb5227bbe3ab2ee).(role) |
| 589 | , Rangecxx . . $ TDLAxiomDRoleRange#Range.(range) |
| 590 | {} |
| 591 | /// accept method for the visitor pattern |
| 592 | void acceptcxx . . $ TDLAxiomDRoleRange#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(da8dca8cacae49f9).(*this); } |
| 593 | |
| 594 | /// access |
| 595 | const TDLDataExpressioncxx . . $ TDLDataExpression#* getRangecxx . . $ TDLAxiomDRoleRange#getRange(8a5cd50e478c5d2c). ( void ) const { return Rangecxx . . $ TDLAxiomDRoleRange#Range.; } |
| 596 | }; // TDLAxiomDRoleRange |
| 597 | |
| 598 | //------------------------------------------------------------------ |
| 599 | /// Role transitivity axiom |
| 600 | //------------------------------------------------------------------ |
| 601 | class TDLAxiomRoleTransitivecxx . . $ TDLAxiomRoleTransitive#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 602 | { |
| 603 | public: // interface |
| 604 | /// c'tor: create an axiom |
| 605 | explicit TDLAxiomRoleTransitivecxx . . $ TDLAxiomRoleTransitive#TDLAxiomRoleTransitive(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role ) |
| 606 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#TDLAxiomSingleORole(4301d0bef5e81149).(role) |
| 607 | {} |
| 608 | /// accept method for the visitor pattern |
| 609 | void acceptcxx . . $ TDLAxiomRoleTransitive#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(e8585e86130514df).(*this); } |
| 610 | }; // TDLAxiomRoleTransitive |
| 611 | |
| 612 | //------------------------------------------------------------------ |
| 613 | /// Role reflexivity axiom |
| 614 | //------------------------------------------------------------------ |
| 615 | class TDLAxiomRoleReflexivecxx . . $ TDLAxiomRoleReflexive#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 616 | { |
| 617 | public: // interface |
| 618 | /// c'tor: create an axiom |
| 619 | explicit TDLAxiomRoleReflexivecxx . . $ TDLAxiomRoleReflexive#TDLAxiomRoleReflexive(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role ) |
| 620 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#(role) |
| 621 | {} |
| 622 | /// accept method for the visitor pattern |
| 623 | void acceptcxx . . $ TDLAxiomRoleReflexive#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(1555e5dd37550403).(*this); } |
| 624 | }; // TDLAxiomRoleReflexive |
| 625 | |
| 626 | //------------------------------------------------------------------ |
| 627 | /// Role irreflexivity axiom |
| 628 | //------------------------------------------------------------------ |
| 629 | class TDLAxiomRoleIrreflexivecxx . . $ TDLAxiomRoleIrreflexive#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 630 | { |
| 631 | public: // interface |
| 632 | /// c'tor: create an axiom |
| 633 | explicit TDLAxiomRoleIrreflexivecxx . . $ TDLAxiomRoleIrreflexive#TDLAxiomRoleIrreflexive(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role ) |
| 634 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#TDLAxiomSingleORole(4301d0bef5e81149).(role) |
| 635 | {} |
| 636 | /// accept method for the visitor pattern |
| 637 | void acceptcxx . . $ TDLAxiomRoleIrreflexive#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(eabfd54a3bd95b2).(*this); } |
| 638 | }; // TDLAxiomRoleIrreflexive |
| 639 | |
| 640 | //------------------------------------------------------------------ |
| 641 | /// Role symmetry axiom |
| 642 | //------------------------------------------------------------------ |
| 643 | class TDLAxiomRoleSymmetriccxx . . $ TDLAxiomRoleSymmetric#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 644 | { |
| 645 | public: // interface |
| 646 | /// c'tor: create an axiom |
| 647 | explicit TDLAxiomRoleSymmetriccxx . . $ TDLAxiomRoleSymmetric#TDLAxiomRoleSymmetric(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role ) |
| 648 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#(role) |
| 649 | {} |
| 650 | /// accept method for the visitor pattern |
| 651 | void acceptcxx . . $ TDLAxiomRoleSymmetric#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(371dc479b720f66a).(*this); } |
| 652 | }; // TDLAxiomRoleSymmetric |
| 653 | |
| 654 | //------------------------------------------------------------------ |
| 655 | /// Role asymmetry axiom |
| 656 | //------------------------------------------------------------------ |
| 657 | class TDLAxiomRoleAsymmetriccxx . . $ TDLAxiomRoleAsymmetric#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 658 | { |
| 659 | public: // interface |
| 660 | /// c'tor: create an axiom |
| 661 | explicit TDLAxiomRoleAsymmetriccxx . . $ TDLAxiomRoleAsymmetric#TDLAxiomRoleAsymmetric(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role ) |
| 662 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#TDLAxiomSingleORole(4301d0bef5e81149).(role) |
| 663 | {} |
| 664 | /// accept method for the visitor pattern |
| 665 | void acceptcxx . . $ TDLAxiomRoleAsymmetric#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(2eab0e2ee768d6ea).(*this); } |
| 666 | }; // TDLAxiomRoleAsymmetric |
| 667 | |
| 668 | //------------------------------------------------------------------ |
| 669 | /// Object Role functionality axiom |
| 670 | //------------------------------------------------------------------ |
| 671 | class TDLAxiomORoleFunctionalcxx . . $ TDLAxiomORoleFunctional#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 672 | { |
| 673 | public: // interface |
| 674 | /// c'tor: create an axiom |
| 675 | explicit TDLAxiomORoleFunctionalcxx . . $ TDLAxiomORoleFunctional#TDLAxiomORoleFunctional(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role ) |
| 676 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#(role) |
| 677 | {} |
| 678 | /// accept method for the visitor pattern |
| 679 | void acceptcxx . . $ TDLAxiomORoleFunctional#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(1cb3074f4e7d0a89).(*this); } |
| 680 | }; // TDLAxiomORoleFunctional |
| 681 | |
| 682 | //------------------------------------------------------------------ |
| 683 | /// Data Role functionality axiom |
| 684 | //------------------------------------------------------------------ |
| 685 | class TDLAxiomDRoleFunctionalcxx . . $ TDLAxiomDRoleFunctional#: public TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole# |
| 686 | { |
| 687 | public: // interface |
| 688 | /// c'tor: create an axiom |
| 689 | explicit TDLAxiomDRoleFunctionalcxx . . $ TDLAxiomDRoleFunctional#TDLAxiomDRoleFunctional(9eb5227bbe3ab2ee). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* role ) |
| 690 | : TDLAxiomSingleDRolecxx . . $ TDLAxiomSingleDRole#TDLAxiomSingleDRole(9eb5227bbe3ab2ee).(role) |
| 691 | {} |
| 692 | /// accept method for the visitor pattern |
| 693 | void acceptcxx . . $ TDLAxiomDRoleFunctional#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(4ed58748b443d4d).(*this); } |
| 694 | }; // TDLAxiomDRoleFunctional |
| 695 | |
| 696 | //------------------------------------------------------------------ |
| 697 | /// Role inverse functionality axiom |
| 698 | //------------------------------------------------------------------ |
| 699 | class TDLAxiomRoleInverseFunctionalcxx . . $ TDLAxiomRoleInverseFunctional#: public TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole# |
| 700 | { |
| 701 | public: // interface |
| 702 | /// c'tor: create an axiom |
| 703 | explicit TDLAxiomRoleInverseFunctionalcxx . . $ TDLAxiomRoleInverseFunctional#TDLAxiomRoleInverseFunctional(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* role ) |
| 704 | : TDLAxiomSingleORolecxx . . $ TDLAxiomSingleORole#(role) |
| 705 | {} |
| 706 | /// accept method for the visitor pattern |
| 707 | void acceptcxx . . $ TDLAxiomRoleInverseFunctional#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(92d9880035cab613).(*this); } |
| 708 | }; // TDLAxiomRoleInverseFunctional |
| 709 | |
| 710 | |
| 711 | //------------------------------------------------------------------ |
| 712 | // Concept/individual axioms |
| 713 | //------------------------------------------------------------------ |
| 714 | |
| 715 | //------------------------------------------------------------------ |
| 716 | /// Concept inclusion axiom |
| 717 | //------------------------------------------------------------------ |
| 718 | class TDLAxiomConceptInclusioncxx . . $ TDLAxiomConceptInclusion#: public TDLAxiomcxx . . $ TDLAxiom# |
| 719 | { |
| 720 | protected: // members |
| 721 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* Subcxx . . $ TDLAxiomConceptInclusion#Sub.; |
| 722 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* Supcxx . . $ TDLAxiomConceptInclusion#Sup.; |
| 723 | |
| 724 | public: // interface |
| 725 | /// c'tor: create an axiom |
| 726 | TDLAxiomConceptInclusioncxx . . $ TDLAxiomConceptInclusion#TDLAxiomConceptInclusion(cea5631087b55cdd). ( const TDLConceptExpressioncxx . . $ TDLConceptExpression#* sub, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* sup ) : TDLAxiomcxx . . $ TDLAxiom#(), Subcxx . . $ TDLAxiomConceptInclusion#Sub.(sub), Supcxx . . $ TDLAxiomConceptInclusion#Sup.(sup) {} |
| 727 | /// accept method for the visitor pattern |
| 728 | void acceptcxx . . $ TDLAxiomConceptInclusion#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(4415e73e741b43da).(*this); } |
| 729 | |
| 730 | /// access |
| 731 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* getSubCcxx . . $ TDLAxiomConceptInclusion#getSubC(76ab2b9ad52d3e83). ( void ) const { return Subcxx . . $ TDLAxiomConceptInclusion#Sub.; } |
| 732 | /// access |
| 733 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* getSupCcxx . . $ TDLAxiomConceptInclusion#getSupC(76ab2b9ad52d3e83). ( void ) const { return Supcxx . . $ TDLAxiomConceptInclusion#Sup.; } |
| 734 | }; // TDLAxiomConceptInclusion |
| 735 | |
| 736 | //------------------------------------------------------------------ |
| 737 | /// general individual-based axiom |
| 738 | //------------------------------------------------------------------ |
| 739 | class TDLAxiomIndividualcxx . . $ TDLAxiomIndividual#: public TDLAxiomcxx . . $ TDLAxiom# |
| 740 | { |
| 741 | protected: // members |
| 742 | const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* Icxx . . $ TDLAxiomIndividual#I.; |
| 743 | |
| 744 | public: // interface |
| 745 | /// c'tor: create an axiom |
| 746 | explicit TDLAxiomIndividualcxx . . $ TDLAxiomIndividual#TDLAxiomIndividual(b27e6bd5647629e8). ( const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* i ) : TDLAxiomcxx . . $ TDLAxiom#TDLAxiom(49f6e7a06ebc5aa8).(), Icxx . . $ TDLAxiomIndividual#I.(i) {} |
| 747 | |
| 748 | /// access |
| 749 | const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* getIndividualcxx . . $ TDLAxiomIndividual#getIndividual(11d970b45c73cfb9). ( void ) const { return Icxx . . $ TDLAxiomIndividual#I.; } |
| 750 | }; // TDLAxiomIndividual |
| 751 | |
| 752 | //------------------------------------------------------------------ |
| 753 | /// Instance axiom |
| 754 | //------------------------------------------------------------------ |
| 755 | class TDLAxiomInstanceOfcxx . . $ TDLAxiomInstanceOf#: public TDLAxiomIndividualcxx . . $ TDLAxiomIndividual# |
| 756 | { |
| 757 | protected: // members |
| 758 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* Ccxx . . $ TDLAxiomInstanceOf#C.; |
| 759 | |
| 760 | public: // interface |
| 761 | /// c'tor: create an axiom |
| 762 | TDLAxiomInstanceOfcxx . . $ TDLAxiomInstanceOf#TDLAxiomInstanceOf(71e48d85c73e08ad). ( const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* i, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* c ) : TDLAxiomIndividualcxx . . $ TDLAxiomIndividual#TDLAxiomIndividual(b27e6bd5647629e8).(i), Ccxx . . $ TDLAxiomInstanceOf#C.(c) {} |
| 763 | /// accept method for the visitor pattern |
| 764 | void acceptcxx . . $ TDLAxiomInstanceOf#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(ac53f03206c5ffd8).(*this); } |
| 765 | |
| 766 | /// access |
| 767 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* getCcxx . . $ TDLAxiomInstanceOf#getC(76ab2b9ad52d3e83). ( void ) const { return Ccxx . . $ TDLAxiomInstanceOf#C.; } |
| 768 | }; // TDLAxiomInstanceOf |
| 769 | |
| 770 | //------------------------------------------------------------------ |
| 771 | /// Related To axiom |
| 772 | //------------------------------------------------------------------ |
| 773 | class TDLAxiomRelatedTocxx . . $ TDLAxiomRelatedTo#: public TDLAxiomIndividualcxx . . $ TDLAxiomIndividual# |
| 774 | { |
| 775 | protected: // members |
| 776 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* Rcxx . . $ TDLAxiomRelatedTo#R.; |
| 777 | const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* Jcxx . . $ TDLAxiomRelatedTo#J.; |
| 778 | |
| 779 | public: // interface |
| 780 | /// c'tor: create an axiom |
| 781 | TDLAxiomRelatedTocxx . . $ TDLAxiomRelatedTo#TDLAxiomRelatedTo(63c3acd70b9eac0f). ( const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* i, const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* r, const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* j ) |
| 782 | : TDLAxiomIndividualcxx . . $ TDLAxiomIndividual#(i) |
| 783 | , Rcxx . . $ TDLAxiomRelatedTo#R.(r) |
| 784 | , Jcxx . . $ TDLAxiomRelatedTo#J.(j) |
| 785 | {} |
| 786 | /// accept method for the visitor pattern |
| 787 | void acceptcxx . . $ TDLAxiomRelatedTo#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(adefee3ba499aec2).(*this); } |
| 788 | |
| 789 | /// access |
| 790 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* getRelationcxx . . $ TDLAxiomRelatedTo#getRelation(b0a963b5b1b1e1ae). ( void ) const { return Rcxx . . $ TDLAxiomRelatedTo#R.; } |
| 791 | /// access |
| 792 | const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* getRelatedIndividualcxx . . $ TDLAxiomRelatedTo#getRelatedIndividual(11d970b45c73cfb9). ( void ) const { return Jcxx . . $ TDLAxiomRelatedTo#J.; } |
| 793 | }; // TDLAxiomRelatedTo |
| 794 | |
| 795 | //------------------------------------------------------------------ |
| 796 | /// Related To Not axiom |
| 797 | //------------------------------------------------------------------ |
| 798 | class TDLAxiomRelatedToNotcxx . . $ TDLAxiomRelatedToNot#: public TDLAxiomIndividualcxx . . $ TDLAxiomIndividual# |
| 799 | { |
| 800 | protected: // members |
| 801 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* Rcxx . . $ TDLAxiomRelatedToNot#R.; |
| 802 | const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* Jcxx . . $ TDLAxiomRelatedToNot#J.; |
| 803 | |
| 804 | public: // interface |
| 805 | /// c'tor: create an axiom |
| 806 | TDLAxiomRelatedToNotcxx . . $ TDLAxiomRelatedToNot#TDLAxiomRelatedToNot(63c3acd70b9eac0f). ( const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* i, const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* r, const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* j ) |
| 807 | : TDLAxiomIndividualcxx . . $ TDLAxiomIndividual#TDLAxiomIndividual(b27e6bd5647629e8).(i) |
| 808 | , Rcxx . . $ TDLAxiomRelatedToNot#R.(r) |
| 809 | , Jcxx . . $ TDLAxiomRelatedToNot#J.(j) |
| 810 | {} |
| 811 | /// accept method for the visitor pattern |
| 812 | void acceptcxx . . $ TDLAxiomRelatedToNot#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(8c7dc9507962ec65).(*this); } |
| 813 | |
| 814 | /// access |
| 815 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* getRelationcxx . . $ TDLAxiomRelatedToNot#getRelation(b0a963b5b1b1e1ae). ( void ) const { return Rcxx . . $ TDLAxiomRelatedToNot#R.; } |
| 816 | /// access |
| 817 | const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* getRelatedIndividualcxx . . $ TDLAxiomRelatedToNot#getRelatedIndividual(11d970b45c73cfb9). ( void ) const { return Jcxx . . $ TDLAxiomRelatedToNot#J.; } |
| 818 | }; // TDLAxiomRelatedToNot |
| 819 | |
| 820 | //------------------------------------------------------------------ |
| 821 | /// Value Of axiom |
| 822 | //------------------------------------------------------------------ |
| 823 | class TDLAxiomValueOfcxx . . $ TDLAxiomValueOf#: public TDLAxiomIndividualcxx . . $ TDLAxiomIndividual# |
| 824 | { |
| 825 | protected: // members |
| 826 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* Acxx . . $ TDLAxiomValueOf#A.; |
| 827 | const TDLDataValuecxx . . $ TDLDataValue#* Vcxx . . $ TDLAxiomValueOf#V.; |
| 828 | |
| 829 | public: // interface |
| 830 | /// c'tor: create an axiom |
| 831 | TDLAxiomValueOfcxx . . $ TDLAxiomValueOf#TDLAxiomValueOf(187f3ad1159feac8). ( const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* i, const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* a, const TDLDataValuecxx . . $ TDLDataValue#* v ) |
| 832 | : TDLAxiomIndividualcxx . . $ TDLAxiomIndividual#(i) |
| 833 | , Acxx . . $ TDLAxiomValueOf#A.(a) |
| 834 | , Vcxx . . $ TDLAxiomValueOf#V.(v) |
| 835 | {} |
| 836 | /// accept method for the visitor pattern |
| 837 | void acceptcxx . . $ TDLAxiomValueOf#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(ff1a1ebde6ad8bad).(*this); } |
| 838 | |
| 839 | /// access to role |
| 840 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* getAttributecxx . . $ TDLAxiomValueOf#getAttribute(a81f3d9965bf170b). ( void ) const { return Acxx . . $ TDLAxiomValueOf#A.; } |
| 841 | /// access to value |
| 842 | const TDLDataValuecxx . . $ TDLDataValue#* getValuecxx . . $ TDLAxiomValueOf#getValue(493934cfcada0bd8). ( void ) const { return Vcxx . . $ TDLAxiomValueOf#V.; } |
| 843 | }; // TDLAxiomValueOf |
| 844 | |
| 845 | //------------------------------------------------------------------ |
| 846 | /// Related To Not axiom |
| 847 | //------------------------------------------------------------------ |
| 848 | class TDLAxiomValueOfNotcxx . . $ TDLAxiomValueOfNot#: public TDLAxiomIndividualcxx . . $ TDLAxiomIndividual# |
| 849 | { |
| 850 | protected: // members |
| 851 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* Acxx . . $ TDLAxiomValueOfNot#A.; |
| 852 | const TDLDataValuecxx . . $ TDLDataValue#* Vcxx . . $ TDLAxiomValueOfNot#V.; |
| 853 | |
| 854 | public: // interface |
| 855 | /// c'tor: create an axiom |
| 856 | TDLAxiomValueOfNotcxx . . $ TDLAxiomValueOfNot#TDLAxiomValueOfNot(187f3ad1159feac8). ( const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* i, const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* a, const TDLDataValuecxx . . $ TDLDataValue#* v ) |
| 857 | : TDLAxiomIndividualcxx . . $ TDLAxiomIndividual#TDLAxiomIndividual(b27e6bd5647629e8).(i) |
| 858 | , Acxx . . $ TDLAxiomValueOfNot#A.(a) |
| 859 | , Vcxx . . $ TDLAxiomValueOfNot#V.(v) |
| 860 | {} |
| 861 | /// accept method for the visitor pattern |
| 862 | void acceptcxx . . $ TDLAxiomValueOfNot#accept(9e2d550937cc1fea). ( DLAxiomVisitorcxx . . $ DLAxiomVisitor#& visitor ) const override { visitor.visitcxx . . $ DLAxiomVisitor#visit(df12686069e02fa4).(*this); } |
| 863 | |
| 864 | /// access to role |
| 865 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* getAttributecxx . . $ TDLAxiomValueOfNot#getAttribute(a81f3d9965bf170b). ( void ) const { return Acxx . . $ TDLAxiomValueOfNot#A.; } |
| 866 | /// access to value |
| 867 | const TDLDataValuecxx . . $ TDLDataValue#* getValuecxx . . $ TDLAxiomValueOfNot#getValue(493934cfcada0bd8). ( void ) const { return Vcxx . . $ TDLAxiomValueOfNot#V.; } |
| 868 | }; // TDLAxiomValueOfNot |
| 869 | |
| 870 | |
| 871 | #endif |