1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef ARY_IDL_IK_PROPERTY_HXX 25 #define ARY_IDL_IK_PROPERTY_HXX 26 27 28 // USED SERVICES 29 // BASE CLASSES 30 #include <ary/idl/ik_ce.hxx> 31 // COMPONENTS 32 // PARAMETERS 33 34 35 namespace ary 36 { 37 namespace idl 38 { 39 40 namespace ifc_property 41 { 42 43 using ifc_ce::DocText; 44 45 46 struct attr: public ifc_ce::attr 47 { 48 static bool HasAnyStereotype( 49 const CodeEntity & i_ce ); 50 static bool IsReadOnly( 51 const CodeEntity & i_ce ); 52 static bool IsBound( 53 const CodeEntity & i_ce ); 54 static bool IsConstrained( 55 const CodeEntity & i_ce ); 56 static bool IsMayBeAmbiguous( 57 const CodeEntity & i_ce ); 58 static bool IsMayBeDefault( 59 const CodeEntity & i_ce ); 60 static bool IsMayBeVoid( 61 const CodeEntity & i_ce ); 62 static bool IsRemovable( 63 const CodeEntity & i_ce ); 64 static bool IsTransient( 65 const CodeEntity & i_ce ); 66 static Type_id Type( 67 const CodeEntity & i_ce ); 68 }; 69 70 struct xref : public ifc_ce::xref 71 { 72 }; 73 74 struct doc : public ifc_ce::doc 75 { 76 }; 77 78 79 } // namespace ifc_property 80 81 } // namespace idl 82 } // namespace ary 83 84 85 #endif 86