1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28 #ifndef ARY_IDL_IK_MODULE_HXX 29 #define ARY_IDL_IK_MODULE_HXX 30 31 32 33 // USED SERVICES 34 // BASE CLASSES 35 #include <ary/idl/ik_ce.hxx> 36 // COMPONENTS 37 // PARAMETERS 38 39 40 namespace ary 41 { 42 namespace idl 43 { 44 45 class CePilot; 46 47 namespace ifc_module 48 { 49 50 using ifc_ce::Dyn_CeIterator; 51 using ifc_ce::DocText; 52 53 54 struct attr : public ifc_ce::attr 55 { 56 // KORR_FUTURE 57 // This has to be changed that way, that the differencing takes place 58 // within hfi_module.cxx and not here. 59 // So the class CePilot is not needed here, etc. 60 // Too much scope pollution. 61 static void Get_AllChildrenSeparated( 62 std::vector< const CodeEntity* > & o_nestedModules, 63 std::vector< const CodeEntity* > & o_services, 64 std::vector< const CodeEntity* > & o_interfaces, 65 std::vector< const CodeEntity* > & o_structs, 66 std::vector< const CodeEntity* > & o_exceptions, 67 std::vector< const CodeEntity* > & o_enums, 68 std::vector< const CodeEntity* > & o_typedefs, 69 std::vector< const CodeEntity* > & o_constantGroups, 70 std::vector< const CodeEntity* > & o_singletons, 71 const CePilot & i_pilot, 72 const CodeEntity & i_ce ); 73 74 static void Get_SubModules( 75 Dyn_CeIterator & o_result, 76 const CodeEntity & i_ce ); 77 static void Get_Services( 78 Dyn_CeIterator & o_result, 79 const CodeEntity & i_ce ); 80 static void Get_Interfaces( 81 Dyn_CeIterator & o_result, 82 const CodeEntity & i_ce ); 83 static void Get_Structs( 84 Dyn_CeIterator & o_result, 85 const CodeEntity & i_ce ); 86 static void Get_Exceptions( 87 Dyn_CeIterator & o_result, 88 const CodeEntity & i_ce ); 89 static void Get_Enums( 90 Dyn_CeIterator & o_result, 91 const CodeEntity & i_ce ); 92 static void Get_Typedefs( 93 Dyn_CeIterator & o_result, 94 const CodeEntity & i_ce ); 95 static void Get_ConstantsGroups( 96 Dyn_CeIterator & o_result, 97 const CodeEntity & i_ce ); 98 }; 99 100 struct xref : public ifc_ce::xref 101 { 102 }; 103 104 struct doc : public ifc_ce::doc 105 { 106 }; 107 108 } // namespace ifc_module 109 110 } // namespace idl 111 } // namespace ary 112 113 114 #endif 115