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_MODULE_HXX 25 #define ARY_IDL_IK_MODULE_HXX 26 27 28 29 // USED SERVICES 30 // BASE CLASSES 31 #include <ary/idl/ik_ce.hxx> 32 // COMPONENTS 33 // PARAMETERS 34 35 36 namespace ary 37 { 38 namespace idl 39 { 40 41 class CePilot; 42 43 namespace ifc_module 44 { 45 46 using ifc_ce::Dyn_CeIterator; 47 using ifc_ce::DocText; 48 49 50 struct attr : public ifc_ce::attr 51 { 52 // KORR_FUTURE 53 // This has to be changed that way, that the differencing takes place 54 // within hfi_module.cxx and not here. 55 // So the class CePilot is not needed here, etc. 56 // Too much scope pollution. 57 static void Get_AllChildrenSeparated( 58 std::vector< const CodeEntity* > & o_nestedModules, 59 std::vector< const CodeEntity* > & o_services, 60 std::vector< const CodeEntity* > & o_interfaces, 61 std::vector< const CodeEntity* > & o_structs, 62 std::vector< const CodeEntity* > & o_exceptions, 63 std::vector< const CodeEntity* > & o_enums, 64 std::vector< const CodeEntity* > & o_typedefs, 65 std::vector< const CodeEntity* > & o_constantGroups, 66 std::vector< const CodeEntity* > & o_singletons, 67 const CePilot & i_pilot, 68 const CodeEntity & i_ce ); 69 70 static void Get_SubModules( 71 Dyn_CeIterator & o_result, 72 const CodeEntity & i_ce ); 73 static void Get_Services( 74 Dyn_CeIterator & o_result, 75 const CodeEntity & i_ce ); 76 static void Get_Interfaces( 77 Dyn_CeIterator & o_result, 78 const CodeEntity & i_ce ); 79 static void Get_Structs( 80 Dyn_CeIterator & o_result, 81 const CodeEntity & i_ce ); 82 static void Get_Exceptions( 83 Dyn_CeIterator & o_result, 84 const CodeEntity & i_ce ); 85 static void Get_Enums( 86 Dyn_CeIterator & o_result, 87 const CodeEntity & i_ce ); 88 static void Get_Typedefs( 89 Dyn_CeIterator & o_result, 90 const CodeEntity & i_ce ); 91 static void Get_ConstantsGroups( 92 Dyn_CeIterator & o_result, 93 const CodeEntity & i_ce ); 94 }; 95 96 struct xref : public ifc_ce::xref 97 { 98 }; 99 100 struct doc : public ifc_ce::doc 101 { 102 }; 103 104 } // namespace ifc_module 105 106 } // namespace idl 107 } // namespace ary 108 109 110 #endif 111