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_SERVICE_HXX 25 #define ARY_IDL_IK_SERVICE_HXX 26 27 28 29 // USED SERVICES 30 // BASE CLASSES 31 #include <ary/idl/i_param.hxx> 32 #include <ary/idl/ik_ce.hxx> 33 // COMPONENTS 34 // PARAMETERS 35 36 37 namespace ary 38 { 39 namespace idl 40 { 41 42 43 44 namespace ifc_function 45 { 46 47 using ::ary::idl::ifc_ce::Dyn_CeIterator; 48 using ::ary::idl::ifc_ce::Dyn_TypeIterator; 49 using ::ary::idl::ifc_ce::DocText; 50 51 52 struct attr: public ifc_ce::attr 53 { 54 static Type_id ReturnType( 55 const CodeEntity & i_ce ); 56 static bool IsOneway( 57 const CodeEntity & i_ce ); 58 static bool HasEllipse( 59 const CodeEntity & i_ce ); 60 static void Get_Parameters( 61 Dyn_StdConstIterator<ary::idl::Parameter> & 62 o_result, 63 const CodeEntity & i_ce ); 64 static void Get_Exceptions( 65 Dyn_TypeIterator & o_result, 66 const CodeEntity & i_ce ); 67 }; 68 69 struct xref : public ifc_ce::xref 70 { 71 }; 72 73 struct doc : public ifc_ce::doc 74 { 75 // aStateMachine.AddToken( "@param", nTok_at_param, A_nAtTagDefStatus, finAtTag ); 76 // aStateMachine.AddToken( "@throws", nTok_at_throws, A_nAtTagDefStatus, finAtTag ); 77 // aStateMachine.AddToken( "@exception", 78 // aStateMachine.AddToken( "@return", nTok_at_return, A_nAtTagDefStatus, finAtTag ); 79 // aStateMachine.AddToken( "@returns", nTok_at_return, A_nAtTagDefStatus, finAtTag ); 80 }; 81 82 83 } // namespace ifc_function 84 85 86 87 } // namespace idl 88 } // namespace ary 89 90 91 #endif 92 93