| 1 | /* This file is part of the FaCT++ DL reasoner |
| 2 | Copyright (C) 2010-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 TDLEXPRESSION_H |
| 21 | #define TDLEXPRESSION_Hcxx . . $ `Kernel/tDLExpression.h:21:9`! |
| 22 | |
| 23 | #include <vector> |
| 24 | #include <string> |
| 25 | |
| 26 | #include "eFaCTPlusPlus.h"cxx . . $ `<file>/Kernel/eFaCTPlusPlus.h`/ |
| 27 | #include "fpp_assert.h"cxx . . $ `<file>/Kernel/fpp_assert.h`/ |
| 28 | #include "tNameSet.h"cxx . . $ `<file>/Kernel/tNameSet.h`/ |
| 29 | |
| 30 | // forward declaration for all expression classes: necessary for the visitor pattern |
| 31 | class TDLExpressioncxx . . $ TDLExpression#; |
| 32 | |
| 33 | class TDLConceptExpressioncxx . . $ TDLConceptExpression#; |
| 34 | class TDLConceptTopcxx . . $ TDLConceptTop#; |
| 35 | class TDLConceptBottomcxx . . $ TDLConceptBottom#; |
| 36 | class TDLConceptNamecxx . . $ TDLConceptName#; |
| 37 | class TDLConceptNotcxx . . $ TDLConceptNot#; |
| 38 | class TDLConceptAndcxx . . $ TDLConceptAnd#; |
| 39 | class TDLConceptOrcxx . . $ TDLConceptOr#; |
| 40 | class TDLConceptOneOfcxx . . $ TDLConceptOneOf#; |
| 41 | class TDLConceptObjectRoleExpressioncxx . . $ TDLConceptObjectRoleExpression#; |
| 42 | class TDLConceptObjectSelfcxx . . $ TDLConceptObjectSelf#; |
| 43 | class TDLConceptObjectValuecxx . . $ TDLConceptObjectValue#; |
| 44 | class TDLConceptObjectRCExpressioncxx . . $ TDLConceptObjectRCExpression#; |
| 45 | class TDLConceptObjectExistscxx . . $ TDLConceptObjectExists#; |
| 46 | class TDLConceptObjectForallcxx . . $ TDLConceptObjectForall#; |
| 47 | class TDLConceptObjectCardinalityExpressioncxx . . $ TDLConceptObjectCardinalityExpression#; |
| 48 | class TDLConceptObjectMinCardinalitycxx . . $ TDLConceptObjectMinCardinality#; |
| 49 | class TDLConceptObjectMaxCardinalitycxx . . $ TDLConceptObjectMaxCardinality#; |
| 50 | class TDLConceptObjectExactCardinalitycxx . . $ TDLConceptObjectExactCardinality#; |
| 51 | class TDLConceptDataRoleExpressioncxx . . $ TDLConceptDataRoleExpression#; |
| 52 | class TDLConceptDataValuecxx . . $ TDLConceptDataValue#; |
| 53 | class TDLConceptDataRVExpressioncxx . . $ TDLConceptDataRVExpression#; |
| 54 | class TDLConceptDataExistscxx . . $ TDLConceptDataExists#; |
| 55 | class TDLConceptDataForallcxx . . $ TDLConceptDataForall#; |
| 56 | class TDLConceptDataCardinalityExpressioncxx . . $ TDLConceptDataCardinalityExpression#; |
| 57 | class TDLConceptDataMinCardinalitycxx . . $ TDLConceptDataMinCardinality#; |
| 58 | class TDLConceptDataMaxCardinalitycxx . . $ TDLConceptDataMaxCardinality#; |
| 59 | class TDLConceptDataExactCardinalitycxx . . $ TDLConceptDataExactCardinality#; |
| 60 | |
| 61 | class TDLIndividualExpressioncxx . . $ TDLIndividualExpression#; |
| 62 | class TDLIndividualNamecxx . . $ TDLIndividualName#; |
| 63 | |
| 64 | class TDLRoleExpressioncxx . . $ TDLRoleExpression#; |
| 65 | class TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression#; |
| 66 | class TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#; |
| 67 | class TDLObjectRoleTopcxx . . $ TDLObjectRoleTop#; |
| 68 | class TDLObjectRoleBottomcxx . . $ TDLObjectRoleBottom#; |
| 69 | class TDLObjectRoleNamecxx . . $ TDLObjectRoleName#; |
| 70 | class TDLObjectRoleInversecxx . . $ TDLObjectRoleInverse#; |
| 71 | class TDLObjectRoleChaincxx . . $ TDLObjectRoleChain#; |
| 72 | class TDLObjectRoleProjectionFromcxx . . $ TDLObjectRoleProjectionFrom#; |
| 73 | class TDLObjectRoleProjectionIntocxx . . $ TDLObjectRoleProjectionInto#; |
| 74 | |
| 75 | class TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#; |
| 76 | class TDLDataRoleTopcxx . . $ TDLDataRoleTop#; |
| 77 | class TDLDataRoleBottomcxx . . $ TDLDataRoleBottom#; |
| 78 | class TDLDataRoleNamecxx . . $ TDLDataRoleName#; |
| 79 | |
| 80 | class TDLDataExpressioncxx . . $ TDLDataExpression#; |
| 81 | class TDLDataTopcxx . . $ TDLDataTop#; |
| 82 | class TDLDataBottomcxx . . $ TDLDataBottom#; |
| 83 | class TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#; |
| 84 | class TDLDataTypeNamecxx . . $ TDLDataTypeName#; |
| 85 | class TDLDataTypeRestrictioncxx . . $ TDLDataTypeRestriction#; |
| 86 | class TDLDataValuecxx . . $ TDLDataValue#; |
| 87 | class TDLDataNotcxx . . $ TDLDataNot#; |
| 88 | class TDLDataAndcxx . . $ TDLDataAnd#; |
| 89 | class TDLDataOrcxx . . $ TDLDataOr#; |
| 90 | class TDLDataOneOfcxx . . $ TDLDataOneOf#; |
| 91 | class TDLFacetExpressioncxx . . $ TDLFacetExpression#; |
| 92 | class TDLFacetMinInclusivecxx . . $ TDLFacetMinInclusive#; |
| 93 | class TDLFacetMinExclusivecxx . . $ TDLFacetMinExclusive#; |
| 94 | class TDLFacetMaxInclusivecxx . . $ TDLFacetMaxInclusive#; |
| 95 | class TDLFacetMaxExclusivecxx . . $ TDLFacetMaxExclusive#; |
| 96 | //class TDLFacetLength; |
| 97 | //class TDLFacetMinLength; |
| 98 | //class TDLFacetMaxLength; |
| 99 | //class TDLFacetPattern; |
| 100 | //class TDLFacetLangRange; |
| 101 | |
| 102 | /// general visitor for DL expressions |
| 103 | class DLExpressionVisitorcxx . . $ DLExpressionVisitor# |
| 104 | { |
| 105 | public: // visitor interface |
| 106 | // concept expressions |
| 107 | virtual void visitcxx . . $ DLExpressionVisitor#visit(881a1a470bd72046). ( const TDLConceptTopcxx . . $ TDLConceptTop#& expr ) = 0; |
| 108 | virtual void visitcxx . . $ DLExpressionVisitor#visit(c244c005d19149f0). ( const TDLConceptBottomcxx . . $ TDLConceptBottom#& expr ) = 0; |
| 109 | virtual void visitcxx . . $ DLExpressionVisitor#visit(c99961b4e196980). ( const TDLConceptNamecxx . . $ TDLConceptName#& expr ) = 0; |
| 110 | virtual void visitcxx . . $ DLExpressionVisitor#visit(61bd7058cbf0a758). ( const TDLConceptNotcxx . . $ TDLConceptNot#& expr ) = 0; |
| 111 | virtual void visitcxx . . $ DLExpressionVisitor#visit(74762fbdcee08834). ( const TDLConceptAndcxx . . $ TDLConceptAnd#& expr ) = 0; |
| 112 | virtual void visitcxx . . $ DLExpressionVisitor#visit(10f7df49f67a8c4c). ( const TDLConceptOrcxx . . $ TDLConceptOr#& expr ) = 0; |
| 113 | virtual void visitcxx . . $ DLExpressionVisitor#visit(ae60f6b52b8990a0). ( const TDLConceptOneOfcxx . . $ TDLConceptOneOf#& expr ) = 0; |
| 114 | virtual void visitcxx . . $ DLExpressionVisitor#visit(e2c637bf6de07854). ( const TDLConceptObjectSelfcxx . . $ TDLConceptObjectSelf#& expr ) = 0; |
| 115 | virtual void visitcxx . . $ DLExpressionVisitor#visit(eb0a5e088a8ba821). ( const TDLConceptObjectValuecxx . . $ TDLConceptObjectValue#& expr ) = 0; |
| 116 | virtual void visitcxx . . $ DLExpressionVisitor#visit(356d9c8e1cf9bfbc). ( const TDLConceptObjectExistscxx . . $ TDLConceptObjectExists#& expr ) = 0; |
| 117 | virtual void visitcxx . . $ DLExpressionVisitor#visit(625f73ec39a6d56c). ( const TDLConceptObjectForallcxx . . $ TDLConceptObjectForall#& expr ) = 0; |
| 118 | virtual void visitcxx . . $ DLExpressionVisitor#visit(c3c5d9aefc16c18c). ( const TDLConceptObjectMinCardinalitycxx . . $ TDLConceptObjectMinCardinality#& expr ) = 0; |
| 119 | virtual void visitcxx . . $ DLExpressionVisitor#visit(b4b6080c97d73790). ( const TDLConceptObjectMaxCardinalitycxx . . $ TDLConceptObjectMaxCardinality#& expr ) = 0; |
| 120 | virtual void visitcxx . . $ DLExpressionVisitor#visit(a830883ce670f9d3). ( const TDLConceptObjectExactCardinalitycxx . . $ TDLConceptObjectExactCardinality#& expr ) = 0; |
| 121 | virtual void visitcxx . . $ DLExpressionVisitor#visit(4f70ff83d1201860). ( const TDLConceptDataValuecxx . . $ TDLConceptDataValue#& expr ) = 0; |
| 122 | virtual void visitcxx . . $ DLExpressionVisitor#visit(2ef072df225eeda). ( const TDLConceptDataExistscxx . . $ TDLConceptDataExists#& expr ) = 0; |
| 123 | virtual void visitcxx . . $ DLExpressionVisitor#visit(89905b701ecb0748). ( const TDLConceptDataForallcxx . . $ TDLConceptDataForall#& expr ) = 0; |
| 124 | virtual void visitcxx . . $ DLExpressionVisitor#visit(28952393c6bb29b6). ( const TDLConceptDataMinCardinalitycxx . . $ TDLConceptDataMinCardinality#& expr ) = 0; |
| 125 | virtual void visitcxx . . $ DLExpressionVisitor#visit(1a07508d3f8c2b2b). ( const TDLConceptDataMaxCardinalitycxx . . $ TDLConceptDataMaxCardinality#& expr ) = 0; |
| 126 | virtual void visitcxx . . $ DLExpressionVisitor#visit(ba4db0b326737755). ( const TDLConceptDataExactCardinalitycxx . . $ TDLConceptDataExactCardinality#& expr ) = 0; |
| 127 | |
| 128 | // individual expressions |
| 129 | virtual void visitcxx . . $ DLExpressionVisitor#visit(5b07982dee66ed02). ( const TDLIndividualNamecxx . . $ TDLIndividualName#& expr ) = 0; |
| 130 | |
| 131 | // object role expressions |
| 132 | virtual void visitcxx . . $ DLExpressionVisitor#visit(b7b61fce7ce4171d). ( const TDLObjectRoleTopcxx . . $ TDLObjectRoleTop#& expr ) = 0; |
| 133 | virtual void visitcxx . . $ DLExpressionVisitor#visit(f35ed1512a6c9848). ( const TDLObjectRoleBottomcxx . . $ TDLObjectRoleBottom#& expr ) = 0; |
| 134 | virtual void visitcxx . . $ DLExpressionVisitor#visit(1fafe1b7ca35c). ( const TDLObjectRoleNamecxx . . $ TDLObjectRoleName#& expr ) = 0; |
| 135 | virtual void visitcxx . . $ DLExpressionVisitor#visit(bbda73fd753567cc). ( const TDLObjectRoleInversecxx . . $ TDLObjectRoleInverse#& expr ) = 0; |
| 136 | virtual void visitcxx . . $ DLExpressionVisitor#visit(413d1bff2619de91). ( const TDLObjectRoleChaincxx . . $ TDLObjectRoleChain#& expr ) = 0; |
| 137 | virtual void visitcxx . . $ DLExpressionVisitor#visit(15e1d1b656b0f2c7). ( const TDLObjectRoleProjectionFromcxx . . $ TDLObjectRoleProjectionFrom#& expr ) = 0; |
| 138 | virtual void visitcxx . . $ DLExpressionVisitor#visit(f0be80bc494882b2). ( const TDLObjectRoleProjectionIntocxx . . $ TDLObjectRoleProjectionInto#& expr ) = 0; |
| 139 | |
| 140 | // data role expressions |
| 141 | virtual void visitcxx . . $ DLExpressionVisitor#visit(ed2d33eaad0eabb8). ( const TDLDataRoleTopcxx . . $ TDLDataRoleTop#& expr ) = 0; |
| 142 | virtual void visitcxx . . $ DLExpressionVisitor#visit(1eb6b1bcc9e06428). ( const TDLDataRoleBottomcxx . . $ TDLDataRoleBottom#& expr ) = 0; |
| 143 | virtual void visitcxx . . $ DLExpressionVisitor#visit(7ac0bde49678c219). ( const TDLDataRoleNamecxx . . $ TDLDataRoleName#& expr ) = 0; |
| 144 | |
| 145 | // data expressions |
| 146 | virtual void visitcxx . . $ DLExpressionVisitor#visit(ea22f736d942baf3). ( const TDLDataTopcxx . . $ TDLDataTop#& expr ) = 0; |
| 147 | virtual void visitcxx . . $ DLExpressionVisitor#visit(96c21242580aa131). ( const TDLDataBottomcxx . . $ TDLDataBottom#& expr ) = 0; |
| 148 | virtual void visitcxx . . $ DLExpressionVisitor#visit(430d0acce467aec). ( const TDLDataTypeNamecxx . . $ TDLDataTypeName#& expr ) = 0; |
| 149 | virtual void visitcxx . . $ DLExpressionVisitor#visit(3b16cfde5a1a994e). ( const TDLDataTypeRestrictioncxx . . $ TDLDataTypeRestriction#& expr ) = 0; |
| 150 | virtual void visitcxx . . $ DLExpressionVisitor#visit(51c8f5e2e1f47ecd). ( const TDLDataValuecxx . . $ TDLDataValue#& expr ) = 0; |
| 151 | virtual void visitcxx . . $ DLExpressionVisitor#visit(2718f6c8550261e). ( const TDLDataNotcxx . . $ TDLDataNot#& expr ) = 0; |
| 152 | virtual void visitcxx . . $ DLExpressionVisitor#visit(692a6f10aac72b30). ( const TDLDataAndcxx . . $ TDLDataAnd#& expr ) = 0; |
| 153 | virtual void visitcxx . . $ DLExpressionVisitor#visit(40e5047d2075ea79). ( const TDLDataOrcxx . . $ TDLDataOr#& expr ) = 0; |
| 154 | virtual void visitcxx . . $ DLExpressionVisitor#visit(dec89762c4e58cf8). ( const TDLDataOneOfcxx . . $ TDLDataOneOf#& expr ) = 0; |
| 155 | |
| 156 | // facets |
| 157 | virtual void visitcxx . . $ DLExpressionVisitor#visit(cc6658167ed2f952). ( const TDLFacetMinInclusivecxx . . $ TDLFacetMinInclusive#& expr ) = 0; |
| 158 | virtual void visitcxx . . $ DLExpressionVisitor#visit(344b36942db9bea6). ( const TDLFacetMinExclusivecxx . . $ TDLFacetMinExclusive#& expr ) = 0; |
| 159 | virtual void visitcxx . . $ DLExpressionVisitor#visit(31c6e1344b72769c). ( const TDLFacetMaxInclusivecxx . . $ TDLFacetMaxInclusive#& expr ) = 0; |
| 160 | virtual void visitcxx . . $ DLExpressionVisitor#visit(bf4a8aa1ad2ca79c). ( const TDLFacetMaxExclusivecxx . . $ TDLFacetMaxExclusive#& expr ) = 0; |
| 161 | |
| 162 | // other methods |
| 163 | virtual ~cxx . . $ DLExpressionVisitor#`~DLExpressionVisitor`(49f6e7a06ebc5aa8).DLExpressionVisitorcxx . . $ DLExpressionVisitor#() = default; |
| 164 | }; // DLExpressionVisitor |
| 165 | |
| 166 | /// empty visitor for DL expressions implementation |
| 167 | class DLExpressionVisitorEmptycxx . . $ DLExpressionVisitorEmpty#: public DLExpressionVisitorcxx . . $ DLExpressionVisitor# |
| 168 | { |
| 169 | public: // visitor interface |
| 170 | // concept expressions |
| 171 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(881a1a470bd72046). ( const TDLConceptTopcxx . . $ TDLConceptTop#& ) override {} |
| 172 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(c244c005d19149f0). ( const TDLConceptBottomcxx . . $ TDLConceptBottom#& ) override {} |
| 173 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(c99961b4e196980). ( const TDLConceptNamecxx . . $ TDLConceptName#& ) override {} |
| 174 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(61bd7058cbf0a758). ( const TDLConceptNotcxx . . $ TDLConceptNot#& ) override {} |
| 175 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(74762fbdcee08834). ( const TDLConceptAndcxx . . $ TDLConceptAnd#& ) override {} |
| 176 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(10f7df49f67a8c4c). ( const TDLConceptOrcxx . . $ TDLConceptOr#& ) override {} |
| 177 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(ae60f6b52b8990a0). ( const TDLConceptOneOfcxx . . $ TDLConceptOneOf#& ) override {} |
| 178 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(e2c637bf6de07854). ( const TDLConceptObjectSelfcxx . . $ TDLConceptObjectSelf#& ) override {} |
| 179 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(eb0a5e088a8ba821). ( const TDLConceptObjectValuecxx . . $ TDLConceptObjectValue#& ) override {} |
| 180 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(356d9c8e1cf9bfbc). ( const TDLConceptObjectExistscxx . . $ TDLConceptObjectExists#& ) override {} |
| 181 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(625f73ec39a6d56c). ( const TDLConceptObjectForallcxx . . $ TDLConceptObjectForall#& ) override {} |
| 182 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(c3c5d9aefc16c18c). ( const TDLConceptObjectMinCardinalitycxx . . $ TDLConceptObjectMinCardinality#& ) override {} |
| 183 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(b4b6080c97d73790). ( const TDLConceptObjectMaxCardinalitycxx . . $ TDLConceptObjectMaxCardinality#& ) override {} |
| 184 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(a830883ce670f9d3). ( const TDLConceptObjectExactCardinalitycxx . . $ TDLConceptObjectExactCardinality#& ) override {} |
| 185 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(4f70ff83d1201860). ( const TDLConceptDataValuecxx . . $ TDLConceptDataValue#& ) override {} |
| 186 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(2ef072df225eeda). ( const TDLConceptDataExistscxx . . $ TDLConceptDataExists#& ) override {} |
| 187 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(89905b701ecb0748). ( const TDLConceptDataForallcxx . . $ TDLConceptDataForall#& ) override {} |
| 188 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(28952393c6bb29b6). ( const TDLConceptDataMinCardinalitycxx . . $ TDLConceptDataMinCardinality#& ) override {} |
| 189 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(1a07508d3f8c2b2b). ( const TDLConceptDataMaxCardinalitycxx . . $ TDLConceptDataMaxCardinality#& ) override {} |
| 190 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(ba4db0b326737755). ( const TDLConceptDataExactCardinalitycxx . . $ TDLConceptDataExactCardinality#& ) override {} |
| 191 | |
| 192 | // individual expressions |
| 193 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(5b07982dee66ed02). ( const TDLIndividualNamecxx . . $ TDLIndividualName#& ) override {} |
| 194 | |
| 195 | // object role expressions |
| 196 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(b7b61fce7ce4171d). ( const TDLObjectRoleTopcxx . . $ TDLObjectRoleTop#& ) override {} |
| 197 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(f35ed1512a6c9848). ( const TDLObjectRoleBottomcxx . . $ TDLObjectRoleBottom#& ) override {} |
| 198 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(1fafe1b7ca35c). ( const TDLObjectRoleNamecxx . . $ TDLObjectRoleName#& ) override {} |
| 199 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(bbda73fd753567cc). ( const TDLObjectRoleInversecxx . . $ TDLObjectRoleInverse#& ) override {} |
| 200 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(413d1bff2619de91). ( const TDLObjectRoleChaincxx . . $ TDLObjectRoleChain#& ) override {} |
| 201 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(15e1d1b656b0f2c7). ( const TDLObjectRoleProjectionFromcxx . . $ TDLObjectRoleProjectionFrom#& ) override {} |
| 202 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(f0be80bc494882b2). ( const TDLObjectRoleProjectionIntocxx . . $ TDLObjectRoleProjectionInto#& ) override {} |
| 203 | |
| 204 | // data role expressions |
| 205 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(ed2d33eaad0eabb8). ( const TDLDataRoleTopcxx . . $ TDLDataRoleTop#& ) override {} |
| 206 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(1eb6b1bcc9e06428). ( const TDLDataRoleBottomcxx . . $ TDLDataRoleBottom#& ) override {} |
| 207 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(7ac0bde49678c219). ( const TDLDataRoleNamecxx . . $ TDLDataRoleName#& ) override {} |
| 208 | |
| 209 | // data expressions |
| 210 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(ea22f736d942baf3). ( const TDLDataTopcxx . . $ TDLDataTop#& ) override {} |
| 211 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(96c21242580aa131). ( const TDLDataBottomcxx . . $ TDLDataBottom#& ) override {} |
| 212 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(430d0acce467aec). ( const TDLDataTypeNamecxx . . $ TDLDataTypeName#& ) override {} |
| 213 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(3b16cfde5a1a994e). ( const TDLDataTypeRestrictioncxx . . $ TDLDataTypeRestriction#& ) override {} |
| 214 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(51c8f5e2e1f47ecd). ( const TDLDataValuecxx . . $ TDLDataValue#& ) override {} |
| 215 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(2718f6c8550261e). ( const TDLDataNotcxx . . $ TDLDataNot#& ) override {} |
| 216 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(692a6f10aac72b30). ( const TDLDataAndcxx . . $ TDLDataAnd#& ) override {} |
| 217 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(40e5047d2075ea79). ( const TDLDataOrcxx . . $ TDLDataOr#& ) override {} |
| 218 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(dec89762c4e58cf8). ( const TDLDataOneOfcxx . . $ TDLDataOneOf#& ) override {} |
| 219 | |
| 220 | // facets |
| 221 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(cc6658167ed2f952). ( const TDLFacetMinInclusivecxx . . $ TDLFacetMinInclusive#& ) override {} |
| 222 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(344b36942db9bea6). ( const TDLFacetMinExclusivecxx . . $ TDLFacetMinExclusive#& ) override {} |
| 223 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(31c6e1344b72769c). ( const TDLFacetMaxInclusivecxx . . $ TDLFacetMaxInclusive#& ) override {} |
| 224 | void visitcxx . . $ DLExpressionVisitorEmpty#visit(bf4a8aa1ad2ca79c). ( const TDLFacetMaxExclusivecxx . . $ TDLFacetMaxExclusive#& ) override {} |
| 225 | }; // DLExpressionVisitorEmpty |
| 226 | |
| 227 | |
| 228 | /// base class for the DL expression, which include concept-, (data)role-, individual-, and data ones |
| 229 | class TDLExpressioncxx . . $ TDLExpression# |
| 230 | { |
| 231 | public: // interface |
| 232 | /// empty c'tor |
| 233 | TDLExpressioncxx . . $ TDLExpression#TDLExpression(49f6e7a06ebc5aa8).() = default; |
| 234 | /// empty d'tor: note that no deep delete is necessary as all the elements are RO |
| 235 | virtual ~cxx . . $ TDLExpression#`~TDLExpression`(49f6e7a06ebc5aa8).TDLExpressioncxx . . $ TDLExpression#() = default; |
| 236 | |
| 237 | /// accept method for the visitor pattern |
| 238 | virtual void acceptcxx . . $ TDLExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const = 0; |
| 239 | }; // TDLExpression |
| 240 | |
| 241 | |
| 242 | //------------------------------------------------------------------ |
| 243 | // helper classes |
| 244 | //------------------------------------------------------------------ |
| 245 | |
| 246 | class TNamedEntrycxx . . $ TNamedEntry#; |
| 247 | |
| 248 | //------------------------------------------------------------------ |
| 249 | /// named entity |
| 250 | //------------------------------------------------------------------ |
| 251 | class TNamedEntitycxx . . $ TNamedEntity# |
| 252 | { |
| 253 | protected: // members |
| 254 | /// name of the entity |
| 255 | stdcxx . . $ std/::stringcxx . . $ std/string# Namecxx . . $ TNamedEntity#Name.; |
| 256 | /// translated version of it |
| 257 | TNamedEntrycxx . . $ TNamedEntry#* entrycxx . . $ TNamedEntity#entry. = nullptr; |
| 258 | |
| 259 | public: // interface |
| 260 | /// c'tor: initialise name |
| 261 | explicit TNamedEntitycxx . . $ TNamedEntity#TNamedEntity(9c546c94e5fcce4e). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& name ) : Namecxx . . $ TNamedEntity#Name.(name) {} |
| 262 | /// empty d'tor |
| 263 | virtual ~cxx . . $ TNamedEntity#`~TNamedEntity`(49f6e7a06ebc5aa8).TNamedEntitycxx . . $ TNamedEntity#() = default; |
| 264 | |
| 265 | /// get access to the name |
| 266 | const char* getNamecxx . . $ TNamedEntity#getName(a9f41ea0e82d88cf). ( void ) const { return Namecxx . . $ TNamedEntity#Name..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(); } |
| 267 | /// get access to the element itself |
| 268 | const TNamedEntitycxx . . $ TNamedEntity#* getEntitycxx . . $ TNamedEntity#getEntity(1a59bfca6295ee56). ( void ) const { return this; } |
| 269 | |
| 270 | /// set entry |
| 271 | void setEntrycxx . . $ TNamedEntity#setEntry(69d9f70ea506b4a4). ( TNamedEntrycxx . . $ TNamedEntry#* e ) { entrycxx . . $ TNamedEntity#entry. = e; } |
| 272 | /// get entry |
| 273 | TNamedEntrycxx . . $ TNamedEntry#* getEntrycxx . . $ TNamedEntity#getEntry(28c03b9fd3c689f8). ( void ) const { return entrycxx . . $ TNamedEntity#entry.; } |
| 274 | }; // TNamedEntity |
| 275 | |
| 276 | //------------------------------------------------------------------ |
| 277 | /// concept argument |
| 278 | //------------------------------------------------------------------ |
| 279 | class TConceptArgcxx . . $ TConceptArg# |
| 280 | { |
| 281 | protected: // members |
| 282 | /// concept argument |
| 283 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* Ccxx . . $ TConceptArg#C.; |
| 284 | |
| 285 | public: // interface |
| 286 | /// init c'tor |
| 287 | explicit TConceptArgcxx . . $ TConceptArg#TConceptArg(796585798ce1461a). ( const TDLConceptExpressioncxx . . $ TDLConceptExpression#* c ) : Ccxx . . $ TConceptArg#C.(c) {} |
| 288 | /// empty d'tor |
| 289 | virtual ~cxx . . $ TConceptArg#`~TConceptArg`(49f6e7a06ebc5aa8).TConceptArgcxx . . $ TConceptArg#() = default; |
| 290 | |
| 291 | /// get access to the argument |
| 292 | const TDLConceptExpressioncxx . . $ TDLConceptExpression#* getCcxx . . $ TConceptArg#getC(76ab2b9ad52d3e83). ( void ) const { return Ccxx . . $ TConceptArg#C.; } |
| 293 | }; // TConceptArg |
| 294 | |
| 295 | //------------------------------------------------------------------ |
| 296 | /// individual argument |
| 297 | //------------------------------------------------------------------ |
| 298 | class TIndividualArgcxx . . $ TIndividualArg# |
| 299 | { |
| 300 | protected: // members |
| 301 | /// individual argument |
| 302 | const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* Icxx . . $ TIndividualArg#I.; |
| 303 | |
| 304 | public: // interface |
| 305 | /// init c'tor |
| 306 | explicit TIndividualArgcxx . . $ TIndividualArg#TIndividualArg(b27e6bd5647629e8). ( const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* i ) : Icxx . . $ TIndividualArg#I.(i) {} |
| 307 | /// empty d'tor |
| 308 | virtual ~cxx . . $ TIndividualArg#`~TIndividualArg`(49f6e7a06ebc5aa8).TIndividualArgcxx . . $ TIndividualArg#() = default; |
| 309 | |
| 310 | /// get access to the argument |
| 311 | const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* getIcxx . . $ TIndividualArg#getI(11d970b45c73cfb9). ( void ) const { return Icxx . . $ TIndividualArg#I.; } |
| 312 | }; // TIndividualArg |
| 313 | |
| 314 | //------------------------------------------------------------------ |
| 315 | /// numerical argument |
| 316 | //------------------------------------------------------------------ |
| 317 | class TNumberArgcxx . . $ TNumberArg# |
| 318 | { |
| 319 | protected: // members |
| 320 | /// number argument |
| 321 | unsigned int Ncxx . . $ TNumberArg#N.; |
| 322 | |
| 323 | public: // interface |
| 324 | /// init c'tor |
| 325 | explicit TNumberArgcxx . . $ TNumberArg#TNumberArg(cb2f890c2fdad230). ( unsigned int n ) : Ncxx . . $ TNumberArg#N.(n) {} |
| 326 | /// empty d'tor |
| 327 | virtual ~cxx . . $ TNumberArg#`~TNumberArg`(49f6e7a06ebc5aa8).TNumberArgcxx . . $ TNumberArg#() = default; |
| 328 | |
| 329 | /// get access to the argument |
| 330 | unsigned int getNumbercxx . . $ TNumberArg#getNumber(ddd8539a2fcdd4ce). ( void ) const { return Ncxx . . $ TNumberArg#N.; } |
| 331 | }; // TNumberArg |
| 332 | |
| 333 | //------------------------------------------------------------------ |
| 334 | /// object role argument |
| 335 | //------------------------------------------------------------------ |
| 336 | class TObjectRoleArgcxx . . $ TObjectRoleArg# |
| 337 | { |
| 338 | protected: // members |
| 339 | /// object role argument |
| 340 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* ORcxx . . $ TObjectRoleArg#OR.; |
| 341 | |
| 342 | public: // interface |
| 343 | /// init c'tor |
| 344 | explicit TObjectRoleArgcxx . . $ TObjectRoleArg#TObjectRoleArg(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* oR ) : ORcxx . . $ TObjectRoleArg#OR.(oR) {} |
| 345 | /// empty d'tor |
| 346 | virtual ~cxx . . $ TObjectRoleArg#`~TObjectRoleArg`(49f6e7a06ebc5aa8).TObjectRoleArgcxx . . $ TObjectRoleArg#() = default; |
| 347 | |
| 348 | /// get access to the argument |
| 349 | const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* getORcxx . . $ TObjectRoleArg#getOR(b0a963b5b1b1e1ae). ( void ) const { return ORcxx . . $ TObjectRoleArg#OR.; } |
| 350 | }; // TObjectRoleArg |
| 351 | |
| 352 | //------------------------------------------------------------------ |
| 353 | /// data role argument |
| 354 | //------------------------------------------------------------------ |
| 355 | class TDataRoleArgcxx . . $ TDataRoleArg# |
| 356 | { |
| 357 | protected: // members |
| 358 | /// data role argument |
| 359 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* DRcxx . . $ TDataRoleArg#DR.; |
| 360 | |
| 361 | public: // interface |
| 362 | /// init c'tor |
| 363 | explicit TDataRoleArgcxx . . $ TDataRoleArg#TDataRoleArg(9eb5227bbe3ab2ee). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* dR ) : DRcxx . . $ TDataRoleArg#DR.(dR) {} |
| 364 | /// empty d'tor |
| 365 | virtual ~cxx . . $ TDataRoleArg#`~TDataRoleArg`(49f6e7a06ebc5aa8).TDataRoleArgcxx . . $ TDataRoleArg#() = default; |
| 366 | |
| 367 | /// get access to the argument |
| 368 | const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* getDRcxx . . $ TDataRoleArg#getDR(a81f3d9965bf170b). ( void ) const { return DRcxx . . $ TDataRoleArg#DR.; } |
| 369 | }; // TDataRoleArg |
| 370 | |
| 371 | //------------------------------------------------------------------ |
| 372 | /// data expression argument (parameterised with the exact type) |
| 373 | //------------------------------------------------------------------ |
| 374 | template <typename TExpression> |
| 375 | class TDataExpressionArgcxx . . $ TDataExpressionArg# |
| 376 | { |
| 377 | protected: // members |
| 378 | /// data expression argument |
| 379 | const TExpression* Exprcxx . . $ TDataExpressionArg#Expr.; |
| 380 | |
| 381 | public: // interface |
| 382 | /// init c'tor |
| 383 | explicit TDataExpressionArgcxx . . $ TDataExpressionArg#`TDataExpressionArg<TExpression>`(88376428bb603c08). ( const TExpression* expr ) : Exprcxx . . $ TDataExpressionArg#Expr.(expr) {} |
| 384 | /// empty d'tor |
| 385 | virtual ~cxx . . $ TDataExpressionArg#`~TDataExpressionArg<TExpression>`(49f6e7a06ebc5aa8).TDataExpressionArg() = default; |
| 386 | |
| 387 | /// get access to the argument |
| 388 | const TExpression* getExprcxx . . $ TDataExpressionArg#getExpr(1016ee5406d91ab9). ( void ) const { return Exprcxx . . $ TDataExpressionArg#Expr.; } |
| 389 | }; // TDataExpressionArg |
| 390 | |
| 391 | //------------------------------------------------------------------ |
| 392 | /// general n-argument expression |
| 393 | //------------------------------------------------------------------ |
| 394 | template <typename Argument> |
| 395 | class TDLNAryExpressioncxx . . $ TDLNAryExpression# |
| 396 | { |
| 397 | public: // types |
| 398 | /// base type |
| 399 | typedef stdcxx . . $ std/::vectorcxx . . $ std/vector#<const Argument*> ArgumentArraycxx . . $ TDLNAryExpression#ArgumentArray#; |
| 400 | /// RW iterator over base type |
| 401 | typedef typename ArgumentArraycxx . . $ TDLNAryExpression#ArgumentArray#::const_iterator iteratorcxx . . $ TDLNAryExpression#iterator#; |
| 402 | /// input array type |
| 403 | typedef stdcxx . . $ std/::vectorcxx . . $ std/vector#<const TDLExpressioncxx . . $ TDLExpression#*> ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#; |
| 404 | /// RW input iterator |
| 405 | typedef ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#::const_iteratorcxx . . $ std/vector#const_iterator# i_iteratorcxx . . $ TDLNAryExpression#i_iterator#; |
| 406 | |
| 407 | protected: // members |
| 408 | /// set of equivalent concept descriptions |
| 409 | ArgumentArraycxx . . $ TDLNAryExpression#ArgumentArray# Basecxx . . $ TDLNAryExpression#Base.; |
| 410 | /// name for exception depending on class name and direction |
| 411 | stdcxx . . $ std/::stringcxx . . $ std/string# EStringcxx . . $ TDLNAryExpression#EString.; |
| 412 | |
| 413 | protected: // methods |
| 414 | /// transform general expression into the argument one |
| 415 | const Argument* transformcxx . . $ TDLNAryExpression#transform(4b3ced4506a88213). ( const TDLExpressioncxx . . $ TDLExpression#* arg ) const |
| 416 | { |
| 417 | const Argument* p = dynamic_cast<const Argument*>(arg); |
| 418 | if ( p == nullptr ) |
| 419 | throw EFaCTPlusPluscxx . . $ EFaCTPlusPlus#(EStringcxx . . $ TDLNAryExpression#EString..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 420 | return p; |
| 421 | } |
| 422 | |
| 423 | public: // interface |
| 424 | /// c'tor: build an error string |
| 425 | TDLNAryExpressioncxx . . $ TDLNAryExpression#`TDLNAryExpression<Argument>`(2fa786934fe80e24). ( const char* typeName, const char* className ) |
| 426 | { |
| 427 | EStringcxx . . $ TDLNAryExpression#EString. =cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74). "Expected "; |
| 428 | EStringcxx . . $ TDLNAryExpression#EString. +=cxx . . $ std/__cxx11/basic_string#`operator+=`(978ca1133b5f6e74). typeName; |
| 429 | EStringcxx . . $ TDLNAryExpression#EString. +=cxx . . $ std/__cxx11/basic_string#`operator+=`(978ca1133b5f6e74). " argument in the '"; |
| 430 | EStringcxx . . $ TDLNAryExpression#EString. +=cxx . . $ std/__cxx11/basic_string#`operator+=`(978ca1133b5f6e74). className; |
| 431 | EStringcxx . . $ TDLNAryExpression#EString. +=cxx . . $ std/__cxx11/basic_string#`operator+=`(978ca1133b5f6e74). "' expression"; |
| 432 | } |
| 433 | /// empty d'tor |
| 434 | virtual ~cxx . . $ TDLNAryExpression#`~TDLNAryExpression<Argument>`(49f6e7a06ebc5aa8).TDLNAryExpression() = default; |
| 435 | |
| 436 | /// @return true iff the expression has no elements |
| 437 | bool emptycxx . . $ TDLNAryExpression#empty(50ce9a9e25b4a850). ( void ) const { return Basecxx . . $ TDLNAryExpression#Base..emptycxx . . $ std/vector#empty(50ce9a9e25b4a850).(); } |
| 438 | /// @return number of elements |
| 439 | size_t sizecxx . . $ TDLNAryExpression#size(fe4d2d262d4164a8). ( void ) const { return Basecxx . . $ TDLNAryExpression#Base..sizecxx . . $ std/vector#size(fe4d2d262d4164a8).(); } |
| 440 | |
| 441 | // add elements to the array |
| 442 | |
| 443 | /// add a single element to the array |
| 444 | void addcxx . . $ TDLNAryExpression#add(ca1ea7df707d7472). ( const TDLExpressioncxx . . $ TDLExpression#* p ) { Basecxx . . $ TDLNAryExpression#Base..push_backcxx . . $ std/vector#push_back(fe7a8a4d1eddb70).(transformcxx . . $ TDLNAryExpression#transform(4b3ced4506a88213).(p)); } |
| 445 | /// add a range to the array |
| 446 | void addcxx . . $ TDLNAryExpression#add(957270d1f67646e7). ( i_iteratorcxx . . $ TDLNAryExpression#i_iterator# b, i_iteratorcxx . . $ TDLNAryExpression#i_iterator# e ) |
| 447 | { |
| 448 | for ( ; b !=cxx . . $ __gnu_cxx/`operator!=`(ef3c5749062e825c). e; ++cxx . . $ __gnu_cxx/__normal_iterator#operator++(93f2e9c3bc4efc49).b ) |
| 449 | addcxx . . $ TDLNAryExpression#add(ca1ea7df707d7472).(*cxx . . $ __gnu_cxx/__normal_iterator#`operator*`(c076846f881f3e7e).b); |
| 450 | } |
| 451 | /// add a vector |
| 452 | void addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) { addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b). ( v.begincxx . . $ std/vector#begin(359ca5030082c9f).(), v.endcxx . . $ std/vector#end(359ca5030082c9f).() ); } |
| 453 | |
| 454 | // access to members |
| 455 | |
| 456 | /// RW begin iterator for array |
| 457 | iteratorcxx . . $ TDLNAryExpression#iterator# begincxx . . $ TDLNAryExpression#begin(9e2439d61c0d1310). ( void ) const { return Basecxx . . $ TDLNAryExpression#Base..begincxx . . $ std/vector#begin(359ca5030082c9f).(); } |
| 458 | /// RW end iterator for array |
| 459 | iteratorcxx . . $ TDLNAryExpression#iterator# endcxx . . $ TDLNAryExpression#end(9e2439d61c0d1310). ( void ) const { return Basecxx . . $ TDLNAryExpression#Base..endcxx . . $ std/vector#end(33b10a496a38335b).(); } |
| 460 | }; // TDLNAryExpression |
| 461 | |
| 462 | |
| 463 | //------------------------------------------------------------------ |
| 464 | // concept expressions |
| 465 | //------------------------------------------------------------------ |
| 466 | |
| 467 | |
| 468 | //------------------------------------------------------------------ |
| 469 | /// general concept expression |
| 470 | //------------------------------------------------------------------ |
| 471 | class TDLConceptExpressioncxx . . $ TDLConceptExpression#: public TDLExpressioncxx . . $ TDLExpression# |
| 472 | { |
| 473 | public: // interface |
| 474 | /// accept method for the visitor pattern |
| 475 | void acceptcxx . . $ TDLConceptExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 476 | }; // TDLConceptExpression |
| 477 | |
| 478 | //------------------------------------------------------------------ |
| 479 | /// concept TOP expression |
| 480 | //------------------------------------------------------------------ |
| 481 | class TDLConceptTopcxx . . $ TDLConceptTop#: public TDLConceptExpressioncxx . . $ TDLConceptExpression# |
| 482 | { |
| 483 | public: // interface |
| 484 | /// accept method for the visitor pattern |
| 485 | void acceptcxx . . $ TDLConceptTop#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(881a1a470bd72046).(*this); } |
| 486 | }; // TDLConceptTop |
| 487 | |
| 488 | //------------------------------------------------------------------ |
| 489 | /// concept BOTTOM expression |
| 490 | //------------------------------------------------------------------ |
| 491 | class TDLConceptBottomcxx . . $ TDLConceptBottom#: public TDLConceptExpressioncxx . . $ TDLConceptExpression# |
| 492 | { |
| 493 | public: // interface |
| 494 | /// accept method for the visitor pattern |
| 495 | void acceptcxx . . $ TDLConceptBottom#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(c244c005d19149f0).(*this); } |
| 496 | }; // TDLConceptBottom |
| 497 | |
| 498 | //------------------------------------------------------------------ |
| 499 | /// named concept expression |
| 500 | //------------------------------------------------------------------ |
| 501 | class TDLConceptNamecxx . . $ TDLConceptName#: public TDLConceptExpressioncxx . . $ TDLConceptExpression#, public TNamedEntitycxx . . $ TNamedEntity# |
| 502 | { |
| 503 | public: // interface |
| 504 | /// init c'tor |
| 505 | explicit TDLConceptNamecxx . . $ TDLConceptName#TDLConceptName(9c546c94e5fcce4e). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& name ) : TDLConceptExpressioncxx . . $ TDLConceptExpression#(), TNamedEntitycxx . . $ TNamedEntity#(name) {} |
| 506 | |
| 507 | /// accept method for the visitor pattern |
| 508 | void acceptcxx . . $ TDLConceptName#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(c99961b4e196980).(*this); } |
| 509 | }; // TDLConceptName |
| 510 | |
| 511 | //------------------------------------------------------------------ |
| 512 | /// concept NOT expression |
| 513 | //------------------------------------------------------------------ |
| 514 | class TDLConceptNotcxx . . $ TDLConceptNot#: public TDLConceptExpressioncxx . . $ TDLConceptExpression#, public TConceptArgcxx . . $ TConceptArg# |
| 515 | { |
| 516 | public: // interface |
| 517 | /// init c'tor |
| 518 | explicit TDLConceptNotcxx . . $ TDLConceptNot#TDLConceptNot(796585798ce1461a). ( const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 519 | : TDLConceptExpressioncxx . . $ TDLConceptExpression#() |
| 520 | , TConceptArgcxx . . $ TConceptArg#TConceptArg(796585798ce1461a).(C) |
| 521 | {} |
| 522 | |
| 523 | /// accept method for the visitor pattern |
| 524 | void acceptcxx . . $ TDLConceptNot#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(61bd7058cbf0a758).(*this); } |
| 525 | }; // TDLConceptNot |
| 526 | |
| 527 | //------------------------------------------------------------------ |
| 528 | /// concept AND expression |
| 529 | //------------------------------------------------------------------ |
| 530 | class TDLConceptAndcxx . . $ TDLConceptAnd#: public TDLConceptExpressioncxx . . $ TDLConceptExpression#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#> |
| 531 | { |
| 532 | public: // interface |
| 533 | /// init c'tor: create AND of expressions from the given array |
| 534 | explicit TDLConceptAndcxx . . $ TDLConceptAnd#TDLConceptAnd(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 535 | : TDLConceptExpressioncxx . . $ TDLConceptExpression#() |
| 536 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#>("concept expression","AND") |
| 537 | { |
| 538 | addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); |
| 539 | } |
| 540 | |
| 541 | /// comparison for AND |
| 542 | bool operatorcxx . . $ TDLConceptAnd#`operator==`(4fd7b9616713d0ce). == ( const TDLConceptAndcxx . . $ TDLConceptAnd#& expr ) const |
| 543 | { |
| 544 | if ( sizecxx . . $ TDLNAryExpression#size(fe4d2d262d4164a8).() != expr.sizecxx . . $ TDLNAryExpression#size(fe4d2d262d4164a8).() ) |
| 545 | return false; |
| 546 | for ( iteratorcxx . . $ TDLNAryExpression#iterator# p = begincxx . . $ TDLNAryExpression#begin(9e2439d61c0d1310).(), q = expr.begincxx . . $ TDLNAryExpression#begin(9e2439d61c0d1310).(), p_end = endcxx . . $ TDLNAryExpression#end(9e2439d61c0d1310).(); p !=cxx . . $ __gnu_cxx/`operator!=`(ef3c5749062e825c). p_end; ++cxx . . $ __gnu_cxx/__normal_iterator#operator++(93f2e9c3bc4efc49).p, ++cxx . . $ __gnu_cxx/__normal_iterator#operator++(93f2e9c3bc4efc49).q ) |
| 547 | if ( *cxx . . $ __gnu_cxx/__normal_iterator#`operator*`(c076846f881f3e7e).p != *cxx . . $ __gnu_cxx/__normal_iterator#`operator*`(c076846f881f3e7e).q ) |
| 548 | return false; |
| 549 | return true; |
| 550 | } |
| 551 | /// accept method for the visitor pattern |
| 552 | void acceptcxx . . $ TDLConceptAnd#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(74762fbdcee08834).(*this); } |
| 553 | }; // TDLConceptAnd |
| 554 | |
| 555 | //------------------------------------------------------------------ |
| 556 | /// concept OR expression |
| 557 | //------------------------------------------------------------------ |
| 558 | class TDLConceptOrcxx . . $ TDLConceptOr#: public TDLConceptExpressioncxx . . $ TDLConceptExpression#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#> |
| 559 | { |
| 560 | public: // interface |
| 561 | /// init c'tor: create OR of expressions from the given array |
| 562 | explicit TDLConceptOrcxx . . $ TDLConceptOr#TDLConceptOr(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 563 | : TDLConceptExpressioncxx . . $ TDLConceptExpression#() |
| 564 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLConceptExpressioncxx . . $ TDLConceptExpression#>("concept expression","OR") |
| 565 | { |
| 566 | addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); |
| 567 | } |
| 568 | |
| 569 | /// accept method for the visitor pattern |
| 570 | void acceptcxx . . $ TDLConceptOr#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(10f7df49f67a8c4c).(*this); } |
| 571 | }; // TDLConceptOr |
| 572 | |
| 573 | //------------------------------------------------------------------ |
| 574 | /// concept one-of expression |
| 575 | //------------------------------------------------------------------ |
| 576 | class TDLConceptOneOfcxx . . $ TDLConceptOneOf#: public TDLConceptExpressioncxx . . $ TDLConceptExpression#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLIndividualNamecxx . . $ TDLIndividualName#> |
| 577 | { |
| 578 | public: // interface |
| 579 | /// init c'tor: create one-of from individuals in the given array |
| 580 | explicit TDLConceptOneOfcxx . . $ TDLConceptOneOf#TDLConceptOneOf(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 581 | : TDLConceptExpressioncxx . . $ TDLConceptExpression#() |
| 582 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#TDLNAryExpression(2fa786934fe80e24).<TDLIndividualNamecxx . . $ TDLIndividualName#>("individual name","OneOf") |
| 583 | { |
| 584 | addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); |
| 585 | } |
| 586 | |
| 587 | /// accept method for the visitor pattern |
| 588 | void acceptcxx . . $ TDLConceptOneOf#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(ae60f6b52b8990a0).(*this); } |
| 589 | }; // TDLConceptOneOf |
| 590 | |
| 591 | //------------------------------------------------------------------ |
| 592 | /// general concept expression that contains an object role |
| 593 | //------------------------------------------------------------------ |
| 594 | class TDLConceptObjectRoleExpressioncxx . . $ TDLConceptObjectRoleExpression#: public TDLConceptExpressioncxx . . $ TDLConceptExpression#, public TObjectRoleArgcxx . . $ TObjectRoleArg# |
| 595 | { |
| 596 | public: // interface |
| 597 | /// init c'tor |
| 598 | explicit TDLConceptObjectRoleExpressioncxx . . $ TDLConceptObjectRoleExpression#TDLConceptObjectRoleExpression(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R ) |
| 599 | : TDLConceptExpressioncxx . . $ TDLConceptExpression#() |
| 600 | , TObjectRoleArgcxx . . $ TObjectRoleArg#(R) |
| 601 | {} |
| 602 | |
| 603 | /// accept method for the visitor pattern |
| 604 | void acceptcxx . . $ TDLConceptObjectRoleExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 605 | }; // TDLConceptObjectRoleExpression |
| 606 | |
| 607 | //------------------------------------------------------------------ |
| 608 | /// concept self-ref expression |
| 609 | //------------------------------------------------------------------ |
| 610 | class TDLConceptObjectSelfcxx . . $ TDLConceptObjectSelf#: public TDLConceptObjectRoleExpressioncxx . . $ TDLConceptObjectRoleExpression# |
| 611 | { |
| 612 | public: // interface |
| 613 | /// init c'tor |
| 614 | explicit TDLConceptObjectSelfcxx . . $ TDLConceptObjectSelf#TDLConceptObjectSelf(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R ) |
| 615 | : TDLConceptObjectRoleExpressioncxx . . $ TDLConceptObjectRoleExpression#TDLConceptObjectRoleExpression(4301d0bef5e81149).(R) |
| 616 | {} |
| 617 | |
| 618 | /// accept method for the visitor pattern |
| 619 | void acceptcxx . . $ TDLConceptObjectSelf#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(e2c637bf6de07854).(*this); } |
| 620 | }; // TDLConceptObjectSelf |
| 621 | |
| 622 | //------------------------------------------------------------------ |
| 623 | /// concept some value restriction expression |
| 624 | //------------------------------------------------------------------ |
| 625 | class TDLConceptObjectValuecxx . . $ TDLConceptObjectValue#: public TDLConceptObjectRoleExpressioncxx . . $ TDLConceptObjectRoleExpression#, public TIndividualArgcxx . . $ TIndividualArg# |
| 626 | { |
| 627 | public: // interface |
| 628 | /// init c'tor |
| 629 | TDLConceptObjectValuecxx . . $ TDLConceptObjectValue#TDLConceptObjectValue(7b22ab9253f3883e). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLIndividualExpressioncxx . . $ TDLIndividualExpression#* I ) |
| 630 | : TDLConceptObjectRoleExpressioncxx . . $ TDLConceptObjectRoleExpression#TDLConceptObjectRoleExpression(4301d0bef5e81149).(R) |
| 631 | , TIndividualArgcxx . . $ TIndividualArg#TIndividualArg(b27e6bd5647629e8).(I) |
| 632 | {} |
| 633 | |
| 634 | /// accept method for the visitor pattern |
| 635 | void acceptcxx . . $ TDLConceptObjectValue#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(eb0a5e088a8ba821).(*this); } |
| 636 | }; // TDLConceptObjectValue |
| 637 | |
| 638 | //------------------------------------------------------------------ |
| 639 | /// general concept expression that contains an object role and a class expression |
| 640 | //------------------------------------------------------------------ |
| 641 | class TDLConceptObjectRCExpressioncxx . . $ TDLConceptObjectRCExpression#: public TDLConceptObjectRoleExpressioncxx . . $ TDLConceptObjectRoleExpression#, public TConceptArgcxx . . $ TConceptArg# |
| 642 | { |
| 643 | public: // interface |
| 644 | /// init c'tor |
| 645 | TDLConceptObjectRCExpressioncxx . . $ TDLConceptObjectRCExpression#TDLConceptObjectRCExpression(609642eea48c4756). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 646 | : TDLConceptObjectRoleExpressioncxx . . $ TDLConceptObjectRoleExpression#TDLConceptObjectRoleExpression(4301d0bef5e81149).(R) |
| 647 | , TConceptArgcxx . . $ TConceptArg#(C) |
| 648 | {} |
| 649 | |
| 650 | /// accept method for the visitor pattern |
| 651 | void acceptcxx . . $ TDLConceptObjectRCExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 652 | }; // TDLConceptObjectRCExpression |
| 653 | |
| 654 | //------------------------------------------------------------------ |
| 655 | /// concept object existential restriction expression |
| 656 | //------------------------------------------------------------------ |
| 657 | class TDLConceptObjectExistscxx . . $ TDLConceptObjectExists#: public TDLConceptObjectRCExpressioncxx . . $ TDLConceptObjectRCExpression# |
| 658 | { |
| 659 | public: // interface |
| 660 | /// init c'tor |
| 661 | TDLConceptObjectExistscxx . . $ TDLConceptObjectExists#TDLConceptObjectExists(609642eea48c4756). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 662 | : TDLConceptObjectRCExpressioncxx . . $ TDLConceptObjectRCExpression#TDLConceptObjectRCExpression(609642eea48c4756).(R,C) |
| 663 | {} |
| 664 | |
| 665 | /// accept method for the visitor pattern |
| 666 | void acceptcxx . . $ TDLConceptObjectExists#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(356d9c8e1cf9bfbc).(*this); } |
| 667 | }; // TDLConceptObjectExists |
| 668 | |
| 669 | //------------------------------------------------------------------ |
| 670 | /// concept object universal restriction expression |
| 671 | //------------------------------------------------------------------ |
| 672 | class TDLConceptObjectForallcxx . . $ TDLConceptObjectForall#: public TDLConceptObjectRCExpressioncxx . . $ TDLConceptObjectRCExpression# |
| 673 | { |
| 674 | public: // interface |
| 675 | /// init c'tor |
| 676 | TDLConceptObjectForallcxx . . $ TDLConceptObjectForall#TDLConceptObjectForall(609642eea48c4756). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 677 | : TDLConceptObjectRCExpressioncxx . . $ TDLConceptObjectRCExpression#TDLConceptObjectRCExpression(609642eea48c4756).(R,C) |
| 678 | {} |
| 679 | |
| 680 | /// accept method for the visitor pattern |
| 681 | void acceptcxx . . $ TDLConceptObjectForall#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(625f73ec39a6d56c).(*this); } |
| 682 | }; // TDLConceptObjectForall |
| 683 | |
| 684 | //------------------------------------------------------------------ |
| 685 | /// general object role cardinality expression |
| 686 | //------------------------------------------------------------------ |
| 687 | class TDLConceptObjectCardinalityExpressioncxx . . $ TDLConceptObjectCardinalityExpression#: public TDLConceptObjectRCExpressioncxx . . $ TDLConceptObjectRCExpression#, public TNumberArgcxx . . $ TNumberArg# |
| 688 | { |
| 689 | public: // interface |
| 690 | /// init c'tor |
| 691 | TDLConceptObjectCardinalityExpressioncxx . . $ TDLConceptObjectCardinalityExpression#TDLConceptObjectCardinalityExpression(410226ad16905f73). ( unsigned int n, const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 692 | : TDLConceptObjectRCExpressioncxx . . $ TDLConceptObjectRCExpression#TDLConceptObjectRCExpression(609642eea48c4756).(R,C) |
| 693 | , TNumberArgcxx . . $ TNumberArg#TNumberArg(cb2f890c2fdad230).(n) |
| 694 | {} |
| 695 | |
| 696 | /// accept method for the visitor pattern |
| 697 | void acceptcxx . . $ TDLConceptObjectCardinalityExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 698 | }; // TDLConceptObjectCardinalityExpression |
| 699 | |
| 700 | //------------------------------------------------------------------ |
| 701 | /// concept object min cardinality expression |
| 702 | //------------------------------------------------------------------ |
| 703 | class TDLConceptObjectMinCardinalitycxx . . $ TDLConceptObjectMinCardinality#: public TDLConceptObjectCardinalityExpressioncxx . . $ TDLConceptObjectCardinalityExpression# |
| 704 | { |
| 705 | public: // interface |
| 706 | /// init c'tor |
| 707 | TDLConceptObjectMinCardinalitycxx . . $ TDLConceptObjectMinCardinality#TDLConceptObjectMinCardinality(410226ad16905f73). ( unsigned int n, const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 708 | : TDLConceptObjectCardinalityExpressioncxx . . $ TDLConceptObjectCardinalityExpression#TDLConceptObjectCardinalityExpression(410226ad16905f73).(n,R,C) |
| 709 | {} |
| 710 | |
| 711 | /// accept method for the visitor pattern |
| 712 | void acceptcxx . . $ TDLConceptObjectMinCardinality#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(c3c5d9aefc16c18c).(*this); } |
| 713 | }; // TDLConceptObjectMinCardinality |
| 714 | |
| 715 | //------------------------------------------------------------------ |
| 716 | /// concept object max cardinality expression |
| 717 | //------------------------------------------------------------------ |
| 718 | class TDLConceptObjectMaxCardinalitycxx . . $ TDLConceptObjectMaxCardinality#: public TDLConceptObjectCardinalityExpressioncxx . . $ TDLConceptObjectCardinalityExpression# |
| 719 | { |
| 720 | public: // interface |
| 721 | /// init c'tor |
| 722 | TDLConceptObjectMaxCardinalitycxx . . $ TDLConceptObjectMaxCardinality#TDLConceptObjectMaxCardinality(410226ad16905f73). ( unsigned int n, const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 723 | : TDLConceptObjectCardinalityExpressioncxx . . $ TDLConceptObjectCardinalityExpression#TDLConceptObjectCardinalityExpression(410226ad16905f73).(n,R,C) |
| 724 | {} |
| 725 | |
| 726 | /// accept method for the visitor pattern |
| 727 | void acceptcxx . . $ TDLConceptObjectMaxCardinality#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(b4b6080c97d73790).(*this); } |
| 728 | }; // TDLConceptObjectMaxCardinality |
| 729 | |
| 730 | //------------------------------------------------------------------ |
| 731 | /// concept object exact cardinality expression |
| 732 | //------------------------------------------------------------------ |
| 733 | class TDLConceptObjectExactCardinalitycxx . . $ TDLConceptObjectExactCardinality#: public TDLConceptObjectCardinalityExpressioncxx . . $ TDLConceptObjectCardinalityExpression# |
| 734 | { |
| 735 | public: // interface |
| 736 | /// init c'tor |
| 737 | TDLConceptObjectExactCardinalitycxx . . $ TDLConceptObjectExactCardinality#TDLConceptObjectExactCardinality(410226ad16905f73). ( unsigned int n, const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 738 | : TDLConceptObjectCardinalityExpressioncxx . . $ TDLConceptObjectCardinalityExpression#TDLConceptObjectCardinalityExpression(410226ad16905f73).(n,R,C) |
| 739 | {} |
| 740 | |
| 741 | /// accept method for the visitor pattern |
| 742 | void acceptcxx . . $ TDLConceptObjectExactCardinality#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(a830883ce670f9d3).(*this); } |
| 743 | }; // TDLConceptObjectExactCardinality |
| 744 | |
| 745 | //------------------------------------------------------------------ |
| 746 | /// general concept expression that contains an data role |
| 747 | //------------------------------------------------------------------ |
| 748 | class TDLConceptDataRoleExpressioncxx . . $ TDLConceptDataRoleExpression#: public TDLConceptExpressioncxx . . $ TDLConceptExpression#, public TDataRoleArgcxx . . $ TDataRoleArg# |
| 749 | { |
| 750 | public: // interface |
| 751 | /// init c'tor |
| 752 | explicit TDLConceptDataRoleExpressioncxx . . $ TDLConceptDataRoleExpression#TDLConceptDataRoleExpression(9eb5227bbe3ab2ee). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* R ) |
| 753 | : TDLConceptExpressioncxx . . $ TDLConceptExpression#() |
| 754 | , TDataRoleArgcxx . . $ TDataRoleArg#(R) |
| 755 | {} |
| 756 | |
| 757 | /// accept method for the visitor pattern |
| 758 | void acceptcxx . . $ TDLConceptDataRoleExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 759 | }; // TDLConceptDataRoleExpression |
| 760 | |
| 761 | //------------------------------------------------------------------ |
| 762 | /// concept some value restriction expression |
| 763 | //------------------------------------------------------------------ |
| 764 | class TDLConceptDataValuecxx . . $ TDLConceptDataValue#: public TDLConceptDataRoleExpressioncxx . . $ TDLConceptDataRoleExpression#, public TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataValuecxx . . $ TDLDataValue#> |
| 765 | { |
| 766 | public: // interface |
| 767 | /// init c'tor |
| 768 | TDLConceptDataValuecxx . . $ TDLConceptDataValue#TDLConceptDataValue(23daa62466659a4c). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* R, const TDLDataValuecxx . . $ TDLDataValue#* V ) |
| 769 | : TDLConceptDataRoleExpressioncxx . . $ TDLConceptDataRoleExpression#TDLConceptDataRoleExpression(9eb5227bbe3ab2ee).(R) |
| 770 | , TDataExpressionArgcxx . . $ TDataExpressionArg#TDataExpressionArg(88376428bb603c08).<TDLDataValuecxx . . $ TDLDataValue#>(V) |
| 771 | {} |
| 772 | |
| 773 | /// accept method for the visitor pattern |
| 774 | void acceptcxx . . $ TDLConceptDataValue#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(4f70ff83d1201860).(*this); } |
| 775 | }; // TDLConceptDataValue |
| 776 | |
| 777 | //------------------------------------------------------------------ |
| 778 | /// general concept expression that contains an data role and a data expression |
| 779 | //------------------------------------------------------------------ |
| 780 | class TDLConceptDataRVExpressioncxx . . $ TDLConceptDataRVExpression#: public TDLConceptDataRoleExpressioncxx . . $ TDLConceptDataRoleExpression#, public TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataExpressioncxx . . $ TDLDataExpression#> |
| 781 | { |
| 782 | public: // interface |
| 783 | /// init c'tor |
| 784 | TDLConceptDataRVExpressioncxx . . $ TDLConceptDataRVExpression#TDLConceptDataRVExpression(8674b0a595b76b2d). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* R, const TDLDataExpressioncxx . . $ TDLDataExpression#* E ) |
| 785 | : TDLConceptDataRoleExpressioncxx . . $ TDLConceptDataRoleExpression#TDLConceptDataRoleExpression(9eb5227bbe3ab2ee).(R) |
| 786 | , TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataExpressioncxx . . $ TDLDataExpression#>(E) |
| 787 | {} |
| 788 | |
| 789 | /// accept method for the visitor pattern |
| 790 | void acceptcxx . . $ TDLConceptDataRVExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 791 | }; // TDLConceptDataRVExpression |
| 792 | |
| 793 | //------------------------------------------------------------------ |
| 794 | /// concept data existential restriction expression |
| 795 | //------------------------------------------------------------------ |
| 796 | class TDLConceptDataExistscxx . . $ TDLConceptDataExists#: public TDLConceptDataRVExpressioncxx . . $ TDLConceptDataRVExpression# |
| 797 | { |
| 798 | public: // interface |
| 799 | /// init c'tor |
| 800 | TDLConceptDataExistscxx . . $ TDLConceptDataExists#TDLConceptDataExists(8674b0a595b76b2d). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* R, const TDLDataExpressioncxx . . $ TDLDataExpression#* E ) |
| 801 | : TDLConceptDataRVExpressioncxx . . $ TDLConceptDataRVExpression#TDLConceptDataRVExpression(8674b0a595b76b2d).(R,E) |
| 802 | {} |
| 803 | |
| 804 | /// accept method for the visitor pattern |
| 805 | void acceptcxx . . $ TDLConceptDataExists#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(2ef072df225eeda).(*this); } |
| 806 | }; // TDLConceptDataExists |
| 807 | |
| 808 | //------------------------------------------------------------------ |
| 809 | /// concept data universal restriction expression |
| 810 | //------------------------------------------------------------------ |
| 811 | class TDLConceptDataForallcxx . . $ TDLConceptDataForall#: public TDLConceptDataRVExpressioncxx . . $ TDLConceptDataRVExpression# |
| 812 | { |
| 813 | public: // interface |
| 814 | /// init c'tor |
| 815 | TDLConceptDataForallcxx . . $ TDLConceptDataForall#TDLConceptDataForall(8674b0a595b76b2d). ( const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* R, const TDLDataExpressioncxx . . $ TDLDataExpression#* E ) |
| 816 | : TDLConceptDataRVExpressioncxx . . $ TDLConceptDataRVExpression#TDLConceptDataRVExpression(8674b0a595b76b2d).(R,E) |
| 817 | {} |
| 818 | |
| 819 | /// accept method for the visitor pattern |
| 820 | void acceptcxx . . $ TDLConceptDataForall#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(89905b701ecb0748).(*this); } |
| 821 | }; // TDLConceptDataForall |
| 822 | |
| 823 | //------------------------------------------------------------------ |
| 824 | /// general data role cardinality expression |
| 825 | //------------------------------------------------------------------ |
| 826 | class TDLConceptDataCardinalityExpressioncxx . . $ TDLConceptDataCardinalityExpression#: public TDLConceptDataRVExpressioncxx . . $ TDLConceptDataRVExpression#, public TNumberArgcxx . . $ TNumberArg# |
| 827 | { |
| 828 | public: // interface |
| 829 | /// init c'tor |
| 830 | TDLConceptDataCardinalityExpressioncxx . . $ TDLConceptDataCardinalityExpression#TDLConceptDataCardinalityExpression(6791e7da299534ee). ( unsigned int n, const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* R, const TDLDataExpressioncxx . . $ TDLDataExpression#* E ) |
| 831 | : TDLConceptDataRVExpressioncxx . . $ TDLConceptDataRVExpression#TDLConceptDataRVExpression(8674b0a595b76b2d).(R,E) |
| 832 | , TNumberArgcxx . . $ TNumberArg#TNumberArg(cb2f890c2fdad230).(n) |
| 833 | {} |
| 834 | |
| 835 | /// accept method for the visitor pattern |
| 836 | void acceptcxx . . $ TDLConceptDataCardinalityExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 837 | }; // TDLConceptDataCardinalityExpression |
| 838 | |
| 839 | //------------------------------------------------------------------ |
| 840 | /// concept data min cardinality expression |
| 841 | //------------------------------------------------------------------ |
| 842 | class TDLConceptDataMinCardinalitycxx . . $ TDLConceptDataMinCardinality#: public TDLConceptDataCardinalityExpressioncxx . . $ TDLConceptDataCardinalityExpression# |
| 843 | { |
| 844 | public: // interface |
| 845 | /// init c'tor |
| 846 | TDLConceptDataMinCardinalitycxx . . $ TDLConceptDataMinCardinality#TDLConceptDataMinCardinality(6791e7da299534ee). ( unsigned int n, const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* R, const TDLDataExpressioncxx . . $ TDLDataExpression#* E ) |
| 847 | : TDLConceptDataCardinalityExpressioncxx . . $ TDLConceptDataCardinalityExpression#TDLConceptDataCardinalityExpression(6791e7da299534ee).(n,R,E) |
| 848 | {} |
| 849 | |
| 850 | /// accept method for the visitor pattern |
| 851 | void acceptcxx . . $ TDLConceptDataMinCardinality#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(28952393c6bb29b6).(*this); } |
| 852 | }; // TDLConceptDataMinCardinality |
| 853 | |
| 854 | //------------------------------------------------------------------ |
| 855 | /// concept data max cardinality expression |
| 856 | //------------------------------------------------------------------ |
| 857 | class TDLConceptDataMaxCardinalitycxx . . $ TDLConceptDataMaxCardinality#: public TDLConceptDataCardinalityExpressioncxx . . $ TDLConceptDataCardinalityExpression# |
| 858 | { |
| 859 | public: // interface |
| 860 | /// init c'tor |
| 861 | TDLConceptDataMaxCardinalitycxx . . $ TDLConceptDataMaxCardinality#TDLConceptDataMaxCardinality(6791e7da299534ee). ( unsigned int n, const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* R, const TDLDataExpressioncxx . . $ TDLDataExpression#* E ) |
| 862 | : TDLConceptDataCardinalityExpressioncxx . . $ TDLConceptDataCardinalityExpression#TDLConceptDataCardinalityExpression(6791e7da299534ee).(n,R,E) |
| 863 | {} |
| 864 | |
| 865 | /// accept method for the visitor pattern |
| 866 | void acceptcxx . . $ TDLConceptDataMaxCardinality#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(1a07508d3f8c2b2b).(*this); } |
| 867 | }; // TDLConceptDataMaxCardinality |
| 868 | |
| 869 | //------------------------------------------------------------------ |
| 870 | /// concept data exact cardinality expression |
| 871 | //------------------------------------------------------------------ |
| 872 | class TDLConceptDataExactCardinalitycxx . . $ TDLConceptDataExactCardinality#: public TDLConceptDataCardinalityExpressioncxx . . $ TDLConceptDataCardinalityExpression# |
| 873 | { |
| 874 | public: // interface |
| 875 | /// init c'tor |
| 876 | TDLConceptDataExactCardinalitycxx . . $ TDLConceptDataExactCardinality#TDLConceptDataExactCardinality(6791e7da299534ee). ( unsigned int n, const TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#* R, const TDLDataExpressioncxx . . $ TDLDataExpression#* E ) |
| 877 | : TDLConceptDataCardinalityExpressioncxx . . $ TDLConceptDataCardinalityExpression#TDLConceptDataCardinalityExpression(6791e7da299534ee).(n,R,E) |
| 878 | {} |
| 879 | |
| 880 | /// accept method for the visitor pattern |
| 881 | void acceptcxx . . $ TDLConceptDataExactCardinality#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(ba4db0b326737755).(*this); } |
| 882 | }; // TDLConceptDataExactCardinality |
| 883 | |
| 884 | |
| 885 | //------------------------------------------------------------------ |
| 886 | // individual expressions |
| 887 | //------------------------------------------------------------------ |
| 888 | |
| 889 | |
| 890 | //------------------------------------------------------------------ |
| 891 | /// general individual expression |
| 892 | //------------------------------------------------------------------ |
| 893 | class TDLIndividualExpressioncxx . . $ TDLIndividualExpression#: public TDLExpressioncxx . . $ TDLExpression# |
| 894 | { |
| 895 | public: // interface |
| 896 | /// accept method for the visitor pattern |
| 897 | void acceptcxx . . $ TDLIndividualExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 898 | }; // TDLIndividualExpression |
| 899 | |
| 900 | //------------------------------------------------------------------ |
| 901 | /// named individual expression |
| 902 | //------------------------------------------------------------------ |
| 903 | class TDLIndividualNamecxx . . $ TDLIndividualName#: public TDLIndividualExpressioncxx . . $ TDLIndividualExpression#, public TNamedEntitycxx . . $ TNamedEntity# |
| 904 | { |
| 905 | public: // interface |
| 906 | /// init c'tor |
| 907 | explicit TDLIndividualNamecxx . . $ TDLIndividualName#TDLIndividualName(9c546c94e5fcce4e). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& name ) : TDLIndividualExpressioncxx . . $ TDLIndividualExpression#(), TNamedEntitycxx . . $ TNamedEntity#(name) {} |
| 908 | |
| 909 | /// accept method for the visitor pattern |
| 910 | void acceptcxx . . $ TDLIndividualName#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(5b07982dee66ed02).(*this); } |
| 911 | }; // TDLIndividualName |
| 912 | |
| 913 | |
| 914 | //------------------------------------------------------------------ |
| 915 | // role expressions |
| 916 | //------------------------------------------------------------------ |
| 917 | |
| 918 | |
| 919 | //------------------------------------------------------------------ |
| 920 | /// general role expression |
| 921 | //------------------------------------------------------------------ |
| 922 | class TDLRoleExpressioncxx . . $ TDLRoleExpression#: public TDLExpressioncxx . . $ TDLExpression# |
| 923 | { |
| 924 | public: // interface |
| 925 | /// accept method for the visitor pattern |
| 926 | void acceptcxx . . $ TDLRoleExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 927 | }; // TDLRoleExpression |
| 928 | |
| 929 | |
| 930 | //------------------------------------------------------------------ |
| 931 | // object role expressions |
| 932 | //------------------------------------------------------------------ |
| 933 | |
| 934 | |
| 935 | //------------------------------------------------------------------ |
| 936 | /// complex object role expression (general expression, role chain or projection) |
| 937 | //------------------------------------------------------------------ |
| 938 | class TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression#: public TDLRoleExpressioncxx . . $ TDLRoleExpression# |
| 939 | { |
| 940 | public: // interface |
| 941 | /// accept method for the visitor pattern |
| 942 | void acceptcxx . . $ TDLObjectRoleComplexExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 943 | }; // TDLObjectRoleComplexExpression |
| 944 | |
| 945 | //------------------------------------------------------------------ |
| 946 | /// general object role expression |
| 947 | //------------------------------------------------------------------ |
| 948 | class TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#: public TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression# |
| 949 | { |
| 950 | public: // interface |
| 951 | /// accept method for the visitor pattern |
| 952 | void acceptcxx . . $ TDLObjectRoleExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 953 | }; // TDLObjectRoleExpression |
| 954 | |
| 955 | //------------------------------------------------------------------ |
| 956 | /// object role TOP expression |
| 957 | //------------------------------------------------------------------ |
| 958 | class TDLObjectRoleTopcxx . . $ TDLObjectRoleTop#: public TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression# |
| 959 | { |
| 960 | public: // interface |
| 961 | /// accept method for the visitor pattern |
| 962 | void acceptcxx . . $ TDLObjectRoleTop#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(b7b61fce7ce4171d).(*this); } |
| 963 | }; // TDLObjectRoleTop |
| 964 | |
| 965 | //------------------------------------------------------------------ |
| 966 | /// object role BOTTOM expression |
| 967 | //------------------------------------------------------------------ |
| 968 | class TDLObjectRoleBottomcxx . . $ TDLObjectRoleBottom#: public TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression# |
| 969 | { |
| 970 | public: // interface |
| 971 | /// accept method for the visitor pattern |
| 972 | void acceptcxx . . $ TDLObjectRoleBottom#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(f35ed1512a6c9848).(*this); } |
| 973 | }; // TDLObjectRoleBottom |
| 974 | |
| 975 | //------------------------------------------------------------------ |
| 976 | /// named object role expression |
| 977 | //------------------------------------------------------------------ |
| 978 | class TDLObjectRoleNamecxx . . $ TDLObjectRoleName#: public TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#, public TNamedEntitycxx . . $ TNamedEntity# |
| 979 | { |
| 980 | public: // interface |
| 981 | /// init c'tor |
| 982 | explicit TDLObjectRoleNamecxx . . $ TDLObjectRoleName#TDLObjectRoleName(9c546c94e5fcce4e). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& name ) : TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#(), TNamedEntitycxx . . $ TNamedEntity#TNamedEntity(9c546c94e5fcce4e).(name) {} |
| 983 | |
| 984 | /// accept method for the visitor pattern |
| 985 | void acceptcxx . . $ TDLObjectRoleName#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(1fafe1b7ca35c).(*this); } |
| 986 | }; // TDLObjectRoleName |
| 987 | |
| 988 | //------------------------------------------------------------------ |
| 989 | /// inverse object role expression |
| 990 | //------------------------------------------------------------------ |
| 991 | class TDLObjectRoleInversecxx . . $ TDLObjectRoleInverse#: public TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#, public TObjectRoleArgcxx . . $ TObjectRoleArg# |
| 992 | { |
| 993 | public: // interface |
| 994 | /// init c'tor |
| 995 | explicit TDLObjectRoleInversecxx . . $ TDLObjectRoleInverse#TDLObjectRoleInverse(4301d0bef5e81149). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R ) |
| 996 | : TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#() |
| 997 | , TObjectRoleArgcxx . . $ TObjectRoleArg#(R) |
| 998 | {} |
| 999 | |
| 1000 | /// accept method for the visitor pattern |
| 1001 | void acceptcxx . . $ TDLObjectRoleInverse#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(bbda73fd753567cc).(*this); } |
| 1002 | }; // TDLObjectRoleInverse |
| 1003 | |
| 1004 | //------------------------------------------------------------------ |
| 1005 | /// object role chain expression |
| 1006 | //------------------------------------------------------------------ |
| 1007 | class TDLObjectRoleChaincxx . . $ TDLObjectRoleChain#: public TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#> |
| 1008 | { |
| 1009 | public: // interface |
| 1010 | /// init c'tor: create role chain from given array |
| 1011 | explicit TDLObjectRoleChaincxx . . $ TDLObjectRoleChain#TDLObjectRoleChain(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 1012 | : TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression#() |
| 1013 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#>("object role expression","role chain") |
| 1014 | { |
| 1015 | addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); |
| 1016 | } |
| 1017 | |
| 1018 | /// accept method for the visitor pattern |
| 1019 | void acceptcxx . . $ TDLObjectRoleChain#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(413d1bff2619de91).(*this); } |
| 1020 | }; // TDLObjectRoleChain |
| 1021 | |
| 1022 | //------------------------------------------------------------------ |
| 1023 | /// object role projection from expression |
| 1024 | //------------------------------------------------------------------ |
| 1025 | class TDLObjectRoleProjectionFromcxx . . $ TDLObjectRoleProjectionFrom# |
| 1026 | : public TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression# |
| 1027 | , public TObjectRoleArgcxx . . $ TObjectRoleArg# |
| 1028 | , public TConceptArgcxx . . $ TConceptArg# |
| 1029 | { |
| 1030 | public: // interface |
| 1031 | /// init c'tor |
| 1032 | TDLObjectRoleProjectionFromcxx . . $ TDLObjectRoleProjectionFrom#TDLObjectRoleProjectionFrom(609642eea48c4756). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 1033 | : TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression#() |
| 1034 | , TObjectRoleArgcxx . . $ TObjectRoleArg#TObjectRoleArg(4301d0bef5e81149).(R) |
| 1035 | , TConceptArgcxx . . $ TConceptArg#TConceptArg(796585798ce1461a).(C) |
| 1036 | {} |
| 1037 | |
| 1038 | /// accept method for the visitor pattern |
| 1039 | void acceptcxx . . $ TDLObjectRoleProjectionFrom#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(15e1d1b656b0f2c7).(*this); } |
| 1040 | }; // TDLObjectRoleProjectionFrom |
| 1041 | |
| 1042 | //------------------------------------------------------------------ |
| 1043 | /// object role projection from expression |
| 1044 | //------------------------------------------------------------------ |
| 1045 | class TDLObjectRoleProjectionIntocxx . . $ TDLObjectRoleProjectionInto# |
| 1046 | : public TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression# |
| 1047 | , public TObjectRoleArgcxx . . $ TObjectRoleArg# |
| 1048 | , public TConceptArgcxx . . $ TConceptArg# |
| 1049 | { |
| 1050 | public: // interface |
| 1051 | /// init c'tor |
| 1052 | TDLObjectRoleProjectionIntocxx . . $ TDLObjectRoleProjectionInto#TDLObjectRoleProjectionInto(609642eea48c4756). ( const TDLObjectRoleExpressioncxx . . $ TDLObjectRoleExpression#* R, const TDLConceptExpressioncxx . . $ TDLConceptExpression#* C ) |
| 1053 | : TDLObjectRoleComplexExpressioncxx . . $ TDLObjectRoleComplexExpression#() |
| 1054 | , TObjectRoleArgcxx . . $ TObjectRoleArg#TObjectRoleArg(4301d0bef5e81149).(R) |
| 1055 | , TConceptArgcxx . . $ TConceptArg#TConceptArg(796585798ce1461a).(C) |
| 1056 | {} |
| 1057 | |
| 1058 | /// accept method for the visitor pattern |
| 1059 | void acceptcxx . . $ TDLObjectRoleProjectionInto#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(f0be80bc494882b2).(*this); } |
| 1060 | }; // TDLObjectRoleProjectionInto |
| 1061 | |
| 1062 | |
| 1063 | //------------------------------------------------------------------ |
| 1064 | // data role expressions |
| 1065 | //------------------------------------------------------------------ |
| 1066 | |
| 1067 | |
| 1068 | //------------------------------------------------------------------ |
| 1069 | /// general data role expression |
| 1070 | //------------------------------------------------------------------ |
| 1071 | class TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#: public TDLRoleExpressioncxx . . $ TDLRoleExpression# |
| 1072 | { |
| 1073 | public: // interface |
| 1074 | /// accept method for the visitor pattern |
| 1075 | void acceptcxx . . $ TDLDataRoleExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 1076 | }; // TDLDataRoleExpression |
| 1077 | |
| 1078 | //------------------------------------------------------------------ |
| 1079 | /// data role TOP expression |
| 1080 | //------------------------------------------------------------------ |
| 1081 | class TDLDataRoleTopcxx . . $ TDLDataRoleTop#: public TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression# |
| 1082 | { |
| 1083 | public: // interface |
| 1084 | /// accept method for the visitor pattern |
| 1085 | void acceptcxx . . $ TDLDataRoleTop#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(ed2d33eaad0eabb8).(*this); } |
| 1086 | }; // TDLDataRoleTop |
| 1087 | |
| 1088 | //------------------------------------------------------------------ |
| 1089 | /// data role BOTTOM expression |
| 1090 | //------------------------------------------------------------------ |
| 1091 | class TDLDataRoleBottomcxx . . $ TDLDataRoleBottom#: public TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression# |
| 1092 | { |
| 1093 | public: // interface |
| 1094 | /// accept method for the visitor pattern |
| 1095 | void acceptcxx . . $ TDLDataRoleBottom#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(1eb6b1bcc9e06428).(*this); } |
| 1096 | }; // TDLDataRoleBottom |
| 1097 | |
| 1098 | //------------------------------------------------------------------ |
| 1099 | /// named data role expression |
| 1100 | //------------------------------------------------------------------ |
| 1101 | class TDLDataRoleNamecxx . . $ TDLDataRoleName#: public TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#, public TNamedEntitycxx . . $ TNamedEntity# |
| 1102 | { |
| 1103 | public: // interface |
| 1104 | /// init c'tor |
| 1105 | explicit TDLDataRoleNamecxx . . $ TDLDataRoleName#TDLDataRoleName(9c546c94e5fcce4e). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& name ) : TDLDataRoleExpressioncxx . . $ TDLDataRoleExpression#(), TNamedEntitycxx . . $ TNamedEntity#(name) {} |
| 1106 | |
| 1107 | /// accept method for the visitor pattern |
| 1108 | void acceptcxx . . $ TDLDataRoleName#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(7ac0bde49678c219).(*this); } |
| 1109 | }; // TDLDataRoleName |
| 1110 | |
| 1111 | |
| 1112 | //------------------------------------------------------------------ |
| 1113 | // data expressions |
| 1114 | //------------------------------------------------------------------ |
| 1115 | |
| 1116 | |
| 1117 | //------------------------------------------------------------------ |
| 1118 | /// general data expression |
| 1119 | //------------------------------------------------------------------ |
| 1120 | class TDLDataExpressioncxx . . $ TDLDataExpression#: public TDLExpressioncxx . . $ TDLExpression# |
| 1121 | { |
| 1122 | public: // interface |
| 1123 | /// accept method for the visitor pattern |
| 1124 | void acceptcxx . . $ TDLDataExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 1125 | }; // TDLDataExpression |
| 1126 | |
| 1127 | //------------------------------------------------------------------ |
| 1128 | /// data TOP expression |
| 1129 | //------------------------------------------------------------------ |
| 1130 | class TDLDataTopcxx . . $ TDLDataTop#: public TDLDataExpressioncxx . . $ TDLDataExpression# |
| 1131 | { |
| 1132 | public: // interface |
| 1133 | /// accept method for the visitor pattern |
| 1134 | void acceptcxx . . $ TDLDataTop#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(ea22f736d942baf3).(*this); } |
| 1135 | }; // TDLDataTop |
| 1136 | |
| 1137 | //------------------------------------------------------------------ |
| 1138 | /// data BOTTOM expression |
| 1139 | //------------------------------------------------------------------ |
| 1140 | class TDLDataBottomcxx . . $ TDLDataBottom#: public TDLDataExpressioncxx . . $ TDLDataExpression# |
| 1141 | { |
| 1142 | public: // interface |
| 1143 | /// accept method for the visitor pattern |
| 1144 | void acceptcxx . . $ TDLDataBottom#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(96c21242580aa131).(*this); } |
| 1145 | }; // TDLDataBottom |
| 1146 | |
| 1147 | //------------------------------------------------------------------ |
| 1148 | /// general data type expression |
| 1149 | //------------------------------------------------------------------ |
| 1150 | class TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#: public TDLDataExpressioncxx . . $ TDLDataExpression# |
| 1151 | { |
| 1152 | public: // interface |
| 1153 | /// accept method for the visitor pattern |
| 1154 | void acceptcxx . . $ TDLDataTypeExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 1155 | }; // TDLDataTypeExpression |
| 1156 | |
| 1157 | //------------------------------------------------------------------ |
| 1158 | /// restricted data type expression |
| 1159 | //------------------------------------------------------------------ |
| 1160 | class TDLDataTypeRestrictioncxx . . $ TDLDataTypeRestriction#: public TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#, public TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataTypeNamecxx . . $ TDLDataTypeName#>, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLFacetExpressioncxx . . $ TDLFacetExpression#> |
| 1161 | { |
| 1162 | public: // interface |
| 1163 | /// init c'tor |
| 1164 | explicit TDLDataTypeRestrictioncxx . . $ TDLDataTypeRestriction#TDLDataTypeRestriction(e69984f24f142880). ( const TDLDataTypeNamecxx . . $ TDLDataTypeName#* T ) |
| 1165 | : TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#() |
| 1166 | , TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataTypeNamecxx . . $ TDLDataTypeName#>(T) |
| 1167 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#TDLNAryExpression(2fa786934fe80e24).<TDLFacetExpressioncxx . . $ TDLFacetExpression#>("facet expression","Datatype restriction") |
| 1168 | {} |
| 1169 | |
| 1170 | /// accept method for the visitor pattern |
| 1171 | void acceptcxx . . $ TDLDataTypeRestriction#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(3b16cfde5a1a994e).(*this); } |
| 1172 | }; // TDLDataTypeRestriction |
| 1173 | |
| 1174 | //------------------------------------------------------------------ |
| 1175 | /// data value expression |
| 1176 | //------------------------------------------------------------------ |
| 1177 | class TDLDataValuecxx . . $ TDLDataValue#: public TDLDataExpressioncxx . . $ TDLDataExpression#, public TNamedEntitycxx . . $ TNamedEntity#, public TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#> |
| 1178 | { |
| 1179 | public: // interface |
| 1180 | /// fake c'tor (to make TNameSet happy); shouldn't be called |
| 1181 | explicit TDLDataValuecxx . . $ TDLDataValue#TDLDataValue(9c546c94e5fcce4e). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& value ) |
| 1182 | : TDLDataExpressioncxx . . $ TDLDataExpression#() |
| 1183 | , TNamedEntitycxx . . $ TNamedEntity#(value) |
| 1184 | , TDataExpressionArgcxx . . $ TDataExpressionArg#TDataExpressionArg(88376428bb603c08).<TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#>(nullptr) |
| 1185 | { fpp_unreachablecxx . . $ EFPPAssertion#(); } |
| 1186 | /// init c'tor |
| 1187 | TDLDataValuecxx . . $ TDLDataValue#TDLDataValue(19d47b42655c1adb). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& value, const TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#* T ) |
| 1188 | : TDLDataExpressioncxx . . $ TDLDataExpression#() |
| 1189 | , TNamedEntitycxx . . $ TNamedEntity#(value) |
| 1190 | , TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#>(T) |
| 1191 | {} |
| 1192 | |
| 1193 | /// accept method for the visitor pattern |
| 1194 | void acceptcxx . . $ TDLDataValue#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(51c8f5e2e1f47ecd).(*this); } |
| 1195 | }; // TDLDataValue |
| 1196 | |
| 1197 | //------------------------------------------------------------------ |
| 1198 | /// data NOT expression |
| 1199 | //------------------------------------------------------------------ |
| 1200 | class TDLDataNotcxx . . $ TDLDataNot#: public TDLDataExpressioncxx . . $ TDLDataExpression#, public TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataExpressioncxx . . $ TDLDataExpression#> |
| 1201 | { |
| 1202 | public: // interface |
| 1203 | /// init c'tor |
| 1204 | explicit TDLDataNotcxx . . $ TDLDataNot#TDLDataNot(af0efaeb7ee513e5). ( const TDLDataExpressioncxx . . $ TDLDataExpression#* E ) |
| 1205 | : TDLDataExpressioncxx . . $ TDLDataExpression#() |
| 1206 | , TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataExpressioncxx . . $ TDLDataExpression#>(E) |
| 1207 | {} |
| 1208 | |
| 1209 | /// accept method for the visitor pattern |
| 1210 | void acceptcxx . . $ TDLDataNot#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(2718f6c8550261e).(*this); } |
| 1211 | }; // TDLDataNot |
| 1212 | |
| 1213 | //------------------------------------------------------------------ |
| 1214 | /// data AND expression |
| 1215 | //------------------------------------------------------------------ |
| 1216 | class TDLDataAndcxx . . $ TDLDataAnd#: public TDLDataExpressioncxx . . $ TDLDataExpression#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLDataExpressioncxx . . $ TDLDataExpression#> |
| 1217 | { |
| 1218 | public: // interface |
| 1219 | /// init c'tor: create AND of expressions from the given array |
| 1220 | explicit TDLDataAndcxx . . $ TDLDataAnd#TDLDataAnd(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 1221 | : TDLDataExpressioncxx . . $ TDLDataExpression#() |
| 1222 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLDataExpressioncxx . . $ TDLDataExpression#>("data expression","data AND") |
| 1223 | { |
| 1224 | addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); |
| 1225 | } |
| 1226 | |
| 1227 | /// accept method for the visitor pattern |
| 1228 | void acceptcxx . . $ TDLDataAnd#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(692a6f10aac72b30).(*this); } |
| 1229 | }; // TDLDataAnd |
| 1230 | |
| 1231 | //------------------------------------------------------------------ |
| 1232 | /// data OR expression |
| 1233 | //------------------------------------------------------------------ |
| 1234 | class TDLDataOrcxx . . $ TDLDataOr#: public TDLDataExpressioncxx . . $ TDLDataExpression#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLDataExpressioncxx . . $ TDLDataExpression#> |
| 1235 | { |
| 1236 | public: // interface |
| 1237 | /// init c'tor: create OR of expressions from the given array |
| 1238 | explicit TDLDataOrcxx . . $ TDLDataOr#TDLDataOr(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 1239 | : TDLDataExpressioncxx . . $ TDLDataExpression#() |
| 1240 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLDataExpressioncxx . . $ TDLDataExpression#>("data expression","data OR") |
| 1241 | { |
| 1242 | addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); |
| 1243 | } |
| 1244 | |
| 1245 | /// accept method for the visitor pattern |
| 1246 | void acceptcxx . . $ TDLDataOr#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(40e5047d2075ea79).(*this); } |
| 1247 | }; // TDLDataOr |
| 1248 | |
| 1249 | //------------------------------------------------------------------ |
| 1250 | /// data one-of expression |
| 1251 | //------------------------------------------------------------------ |
| 1252 | class TDLDataOneOfcxx . . $ TDLDataOneOf#: public TDLDataExpressioncxx . . $ TDLDataExpression#, public TDLNAryExpressioncxx . . $ TDLNAryExpression#<TDLDataValuecxx . . $ TDLDataValue#> |
| 1253 | { |
| 1254 | public: // interface |
| 1255 | /// init c'tor: create one-of from individuals in the given array |
| 1256 | explicit TDLDataOneOfcxx . . $ TDLDataOneOf#TDLDataOneOf(d9b6f75bcac4e62b). ( const ExpressionArraycxx . . $ TDLNAryExpression#ExpressionArray#& v ) |
| 1257 | : TDLDataExpressioncxx . . $ TDLDataExpression#() |
| 1258 | , TDLNAryExpressioncxx . . $ TDLNAryExpression#TDLNAryExpression(2fa786934fe80e24).<TDLDataValuecxx . . $ TDLDataValue#>("data value","data OneOf") |
| 1259 | { |
| 1260 | addcxx . . $ TDLNAryExpression#add(d9b6f75bcac4e62b).(v); |
| 1261 | } |
| 1262 | |
| 1263 | /// accept method for the visitor pattern |
| 1264 | void acceptcxx . . $ TDLDataOneOf#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(dec89762c4e58cf8).(*this); } |
| 1265 | }; // TDLDataOneOf |
| 1266 | |
| 1267 | //------------------------------------------------------------------ |
| 1268 | /// general data facet expression |
| 1269 | //------------------------------------------------------------------ |
| 1270 | class TDLFacetExpressioncxx . . $ TDLFacetExpression#: public TDLDataExpressioncxx . . $ TDLDataExpression#, public TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataValuecxx . . $ TDLDataValue#> |
| 1271 | { |
| 1272 | public: // interface |
| 1273 | /// init c'tor: create facet from a given value V |
| 1274 | explicit TDLFacetExpressioncxx . . $ TDLFacetExpression#TDLFacetExpression(961156e2a7e7c16b). ( const TDLDataValuecxx . . $ TDLDataValue#* V ) |
| 1275 | : TDLDataExpressioncxx . . $ TDLDataExpression#() |
| 1276 | , TDataExpressionArgcxx . . $ TDataExpressionArg#<TDLDataValuecxx . . $ TDLDataValue#>(V) |
| 1277 | {} |
| 1278 | |
| 1279 | /// accept method for the visitor pattern |
| 1280 | void acceptcxx . . $ TDLFacetExpression#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override = 0; |
| 1281 | }; // TDLFacetExpression |
| 1282 | |
| 1283 | //------------------------------------------------------------------ |
| 1284 | /// min-inclusive facet expression |
| 1285 | //------------------------------------------------------------------ |
| 1286 | class TDLFacetMinInclusivecxx . . $ TDLFacetMinInclusive#: public TDLFacetExpressioncxx . . $ TDLFacetExpression# |
| 1287 | { |
| 1288 | public: // interface |
| 1289 | /// init c'tor |
| 1290 | explicit TDLFacetMinInclusivecxx . . $ TDLFacetMinInclusive#TDLFacetMinInclusive(961156e2a7e7c16b). ( const TDLDataValuecxx . . $ TDLDataValue#* V ) : TDLFacetExpressioncxx . . $ TDLFacetExpression#TDLFacetExpression(961156e2a7e7c16b).(V) {} |
| 1291 | |
| 1292 | /// accept method for the visitor pattern |
| 1293 | void acceptcxx . . $ TDLFacetMinInclusive#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(cc6658167ed2f952).(*this); } |
| 1294 | }; // TDLFacetMinInclusive |
| 1295 | |
| 1296 | //------------------------------------------------------------------ |
| 1297 | /// min-exclusive facet expression |
| 1298 | //------------------------------------------------------------------ |
| 1299 | class TDLFacetMinExclusivecxx . . $ TDLFacetMinExclusive#: public TDLFacetExpressioncxx . . $ TDLFacetExpression# |
| 1300 | { |
| 1301 | public: // interface |
| 1302 | /// init c'tor |
| 1303 | explicit TDLFacetMinExclusivecxx . . $ TDLFacetMinExclusive#TDLFacetMinExclusive(961156e2a7e7c16b). ( const TDLDataValuecxx . . $ TDLDataValue#* V ) : TDLFacetExpressioncxx . . $ TDLFacetExpression#TDLFacetExpression(961156e2a7e7c16b).(V) {} |
| 1304 | |
| 1305 | /// accept method for the visitor pattern |
| 1306 | void acceptcxx . . $ TDLFacetMinExclusive#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(344b36942db9bea6).(*this); } |
| 1307 | }; // TDLFacetMinExclusive |
| 1308 | |
| 1309 | //------------------------------------------------------------------ |
| 1310 | /// max-inclusive facet expression |
| 1311 | //------------------------------------------------------------------ |
| 1312 | class TDLFacetMaxInclusivecxx . . $ TDLFacetMaxInclusive#: public TDLFacetExpressioncxx . . $ TDLFacetExpression# |
| 1313 | { |
| 1314 | public: // interface |
| 1315 | /// init c'tor |
| 1316 | explicit TDLFacetMaxInclusivecxx . . $ TDLFacetMaxInclusive#TDLFacetMaxInclusive(961156e2a7e7c16b). ( const TDLDataValuecxx . . $ TDLDataValue#* V ) : TDLFacetExpressioncxx . . $ TDLFacetExpression#TDLFacetExpression(961156e2a7e7c16b).(V) {} |
| 1317 | |
| 1318 | /// accept method for the visitor pattern |
| 1319 | void acceptcxx . . $ TDLFacetMaxInclusive#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(31c6e1344b72769c).(*this); } |
| 1320 | }; // TDLFacetMaxInclusive |
| 1321 | |
| 1322 | //------------------------------------------------------------------ |
| 1323 | /// max-exclusive facet expression |
| 1324 | //------------------------------------------------------------------ |
| 1325 | class TDLFacetMaxExclusivecxx . . $ TDLFacetMaxExclusive#: public TDLFacetExpressioncxx . . $ TDLFacetExpression# |
| 1326 | { |
| 1327 | public: // interface |
| 1328 | /// init c'tor |
| 1329 | explicit TDLFacetMaxExclusivecxx . . $ TDLFacetMaxExclusive#TDLFacetMaxExclusive(961156e2a7e7c16b). ( const TDLDataValuecxx . . $ TDLDataValue#* V ) : TDLFacetExpressioncxx . . $ TDLFacetExpression#TDLFacetExpression(961156e2a7e7c16b).(V) {} |
| 1330 | |
| 1331 | /// accept method for the visitor pattern |
| 1332 | void acceptcxx . . $ TDLFacetMaxExclusive#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(bf4a8aa1ad2ca79c).(*this); } |
| 1333 | }; // TDLFacetMaxExclusive |
| 1334 | |
| 1335 | |
| 1336 | // data type is defined here as they are more complex than the rest |
| 1337 | |
| 1338 | //------------------------------------------------------------------ |
| 1339 | /// data type implementation for the DL expressions |
| 1340 | //------------------------------------------------------------------ |
| 1341 | class TDLDataTypecxx . . $ TDLDataType# |
| 1342 | { |
| 1343 | protected: // classes |
| 1344 | /// class to create a new entry with a given data type as a parameter |
| 1345 | class DVCreatorcxx . . $ TDLDataType#DVCreator#: public TNameCreatorcxx . . $ TNameCreator#<TDLDataValuecxx . . $ TDLDataValue#> |
| 1346 | { |
| 1347 | protected: // members |
| 1348 | /// type for all the values |
| 1349 | const TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#* typecxx . . $ TDLDataType#DVCreator#type.; |
| 1350 | public: // interface |
| 1351 | /// init c'tor |
| 1352 | explicit DVCreatorcxx . . $ TDLDataType#DVCreator#DVCreator(fcfb4aafcec14950). ( const TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#* t ) : typecxx . . $ TDLDataType#DVCreator#type.(t) {} |
| 1353 | /// create new value of a given type |
| 1354 | TDLDataValuecxx . . $ TDLDataValue#* makeEntrycxx . . $ TDLDataType#DVCreator#makeEntry(63b1048ffd95a582). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& name ) const override { return new TDLDataValuecxx . . $ TDLDataValue#TDLDataValue(19d47b42655c1adb).(name,typecxx . . $ TDLDataType#DVCreator#type.); } |
| 1355 | }; // DVCreator |
| 1356 | |
| 1357 | protected: // members |
| 1358 | /// all the values of the datatype |
| 1359 | TNameSetcxx . . $ TNameSet#<TDLDataValuecxx . . $ TDLDataValue#> Valuescxx . . $ TDLDataType#Values.; |
| 1360 | |
| 1361 | public: // interface |
| 1362 | /// empty c'tor |
| 1363 | explicit TDLDataTypecxx . . $ TDLDataType#TDLDataType(fcfb4aafcec14950). ( const TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#* type ) : Valuescxx . . $ TDLDataType#Values.(new DVCreatorcxx . . $ TDLDataType#DVCreator#(type)) {} |
| 1364 | /// empty d'tor |
| 1365 | virtual ~cxx . . $ TDLDataType#`~TDLDataType`(49f6e7a06ebc5aa8).TDLDataTypecxx . . $ TDLDataType#() = default; |
| 1366 | |
| 1367 | /// get new data value of the given type |
| 1368 | const TDLDataValuecxx . . $ TDLDataValue#* getValuecxx . . $ TDLDataType#getValue(64fba7c86b418ddf). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& name ) { return Valuescxx . . $ TDLDataType#Values..insertcxx . . $ TNameSet#insert(e53703f8e2b82653).(name); } |
| 1369 | }; // TDLDataType |
| 1370 | |
| 1371 | |
| 1372 | //------------------------------------------------------------------ |
| 1373 | /// named data type expression |
| 1374 | //------------------------------------------------------------------ |
| 1375 | class TDLDataTypeNamecxx . . $ TDLDataTypeName#: public TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#, public TDLDataTypecxx . . $ TDLDataType#, public TNamedEntitycxx . . $ TNamedEntity# |
| 1376 | { |
| 1377 | public: // interface |
| 1378 | /// init c'tor |
| 1379 | explicit TDLDataTypeNamecxx . . $ TDLDataTypeName#TDLDataTypeName(9c546c94e5fcce4e). ( const stdcxx . . $ std/::stringcxx . . $ std/string#& name ) : TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#(), TDLDataTypecxx . . $ TDLDataType#TDLDataType(fcfb4aafcec14950).(this), TNamedEntitycxx . . $ TNamedEntity#TNamedEntity(9c546c94e5fcce4e).(name) {} |
| 1380 | |
| 1381 | /// accept method for the visitor pattern |
| 1382 | void acceptcxx . . $ TDLDataTypeName#accept(8c3f5312553ddf9b). ( DLExpressionVisitorcxx . . $ DLExpressionVisitor#& visitor ) const override { visitor.visitcxx . . $ DLExpressionVisitor#visit(430d0acce467aec).(*this); } |
| 1383 | }; // TDLDataTypeName |
| 1384 | |
| 1385 | /// @return named data type that is the most basic datatype underlying TYPE |
| 1386 | inline TDLDataTypeNamecxx . . $ TDLDataTypeName#* |
| 1387 | getBasicDataTypecxx . . $ getBasicDataType(4f1c4d72facb3d6b). ( TDLDataTypeExpressioncxx . . $ TDLDataTypeExpression#* type ) |
| 1388 | { |
| 1389 | TDLDataTypeNamecxx . . $ TDLDataTypeName#* ret = dynamic_cast<TDLDataTypeNamecxx . . $ TDLDataTypeName#*>(type); |
| 1390 | if ( ret == nullptr ) |
| 1391 | { |
| 1392 | TDLDataTypeRestrictioncxx . . $ TDLDataTypeRestriction#* hostType = dynamic_cast<TDLDataTypeRestrictioncxx . . $ TDLDataTypeRestriction#*>(type); |
| 1393 | fpp_assertcxx . . $ EFPPAssertion# ( hostType != nullptr ); |
| 1394 | ret = const_cast<TDLDataTypeNamecxx . . $ TDLDataTypeName#*>(hostType->getExprcxx . . $ TDataExpressionArg#getExpr(1016ee5406d91ab9).()); |
| 1395 | } |
| 1396 | return ret; |
| 1397 | } |
| 1398 | |
| 1399 | #endif |