1*1c78a5d6SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*1c78a5d6SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*1c78a5d6SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*1c78a5d6SAndrew Rist * distributed with this work for additional information 6*1c78a5d6SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*1c78a5d6SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*1c78a5d6SAndrew Rist * "License"); you may not use this file except in compliance 9*1c78a5d6SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*1c78a5d6SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*1c78a5d6SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*1c78a5d6SAndrew Rist * software distributed under the License is distributed on an 15*1c78a5d6SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*1c78a5d6SAndrew Rist * KIND, either express or implied. See the License for the 17*1c78a5d6SAndrew Rist * specific language governing permissions and limitations 18*1c78a5d6SAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*1c78a5d6SAndrew Rist *************************************************************/ 21*1c78a5d6SAndrew Rist 22*1c78a5d6SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef ADC_DISPLAY_HFI_LINKLIST_HXX 25cdf0e10cSrcweir #define ADC_DISPLAY_HFI_LINKLIST_HXX 26cdf0e10cSrcweir 27cdf0e10cSrcweir 28cdf0e10cSrcweir 29cdf0e10cSrcweir // USED SERVICES 30cdf0e10cSrcweir // BASE CLASSES 31cdf0e10cSrcweir #include "hi_factory.hxx" 32cdf0e10cSrcweir // COMPONENTS 33cdf0e10cSrcweir // PARAMETERS 34cdf0e10cSrcweir #include <ary/idl/i_comrela.hxx> 35cdf0e10cSrcweir #include <ary_i/ci_text2.hxx> 36cdf0e10cSrcweir #include <ary/doc/d_oldidldocu.hxx> 37cdf0e10cSrcweir 38cdf0e10cSrcweir 39cdf0e10cSrcweir 40cdf0e10cSrcweir 41cdf0e10cSrcweir class HF_CommentedLink_Table : public HtmlFactory_Idl 42cdf0e10cSrcweir { 43cdf0e10cSrcweir public: 44cdf0e10cSrcweir HF_CommentedLink_Table( 45cdf0e10cSrcweir Environment & io_rEnv, 46cdf0e10cSrcweir Xml::Element & o_rOut, 47cdf0e10cSrcweir const String & i_sTitle, 48cdf0e10cSrcweir const String & i_sLabel, 49cdf0e10cSrcweir bool i_bBorder = false ); 50cdf0e10cSrcweir virtual ~HF_CommentedLink_Table(); 51cdf0e10cSrcweir 52cdf0e10cSrcweir void Add_Line(); 53cdf0e10cSrcweir Xml::Element & Cur_LinkColumn(); 54cdf0e10cSrcweir Xml::Element & Cur_CommentColumn(); 55cdf0e10cSrcweir 56cdf0e10cSrcweir private: 57cdf0e10cSrcweir // DATA 58cdf0e10cSrcweir Html::Table * pTable; 59cdf0e10cSrcweir Xml::Element * pCurLinkColumn; 60cdf0e10cSrcweir Xml::Element * pCurCommentColumn; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir 63cdf0e10cSrcweir class HF_MemberTable : public HtmlFactory_Idl 64cdf0e10cSrcweir { 65cdf0e10cSrcweir public: 66cdf0e10cSrcweir HF_MemberTable( 67cdf0e10cSrcweir Environment & io_rEnv, 68cdf0e10cSrcweir Xml::Element & o_rOut, 69cdf0e10cSrcweir const String & i_sTitle, 70cdf0e10cSrcweir const String & i_sLabel, 71cdf0e10cSrcweir bool i_bInline = false ); 72cdf0e10cSrcweir virtual ~HF_MemberTable(); 73cdf0e10cSrcweir 74cdf0e10cSrcweir void Add_Line(); 75cdf0e10cSrcweir Xml::Element & Cur_Declaration(); 76cdf0e10cSrcweir Xml::Element & Cur_Description(); 77cdf0e10cSrcweir 78cdf0e10cSrcweir private: 79cdf0e10cSrcweir // DATA 80cdf0e10cSrcweir Html::Table * pTable; 81cdf0e10cSrcweir Xml::Element * pCurDeclaration; 82cdf0e10cSrcweir Xml::Element * pCurDescription; 83cdf0e10cSrcweir bool bInline; 84cdf0e10cSrcweir }; 85cdf0e10cSrcweir 86cdf0e10cSrcweir 87cdf0e10cSrcweir 88cdf0e10cSrcweir 89cdf0e10cSrcweir class HF_IdlLinkList : public HtmlFactory_Idl 90cdf0e10cSrcweir { 91cdf0e10cSrcweir public: 92cdf0e10cSrcweir typedef ary::StdConstIterator<ary::idl::CommentedRelation> 93cdf0e10cSrcweir comref_list; 94cdf0e10cSrcweir 95cdf0e10cSrcweir HF_IdlLinkList( 96cdf0e10cSrcweir Environment & io_rEnv, 97cdf0e10cSrcweir Xml::Element * o_pOut ); 98cdf0e10cSrcweir virtual ~HF_IdlLinkList(); 99cdf0e10cSrcweir 100cdf0e10cSrcweir void Produce_NamespaceMembers( 101cdf0e10cSrcweir const String & i_sTitle, 102cdf0e10cSrcweir const String & i_sLabel, 103cdf0e10cSrcweir const std::vector<ary::idl::Ce_id> & 104cdf0e10cSrcweir i_rList, 105cdf0e10cSrcweir bool i_bNestedNamespaces = false ) const; 106cdf0e10cSrcweir void Produce_GlobalLinks( 107cdf0e10cSrcweir const String & i_sTitle, 108cdf0e10cSrcweir const String & i_sLabel, 109cdf0e10cSrcweir ce_list & i_rList ) const; 110cdf0e10cSrcweir void Produce_GlobalCommentedLinks( 111cdf0e10cSrcweir const String & i_sTitle, 112cdf0e10cSrcweir const String & i_sLabel, 113cdf0e10cSrcweir comref_list & i_rList ) const; 114cdf0e10cSrcweir void Produce_MemberLinks( 115cdf0e10cSrcweir const String & i_sTitle, 116cdf0e10cSrcweir const String & i_sLabel, 117cdf0e10cSrcweir ce_list & i_rList ) const; 118cdf0e10cSrcweir private: 119cdf0e10cSrcweir void Get_EntryData_NamespaceMembers( 120cdf0e10cSrcweir String & o_sEntryName, 121cdf0e10cSrcweir String & o_sEntryLink, 122cdf0e10cSrcweir const ce_info * & o_pDocuText, 123cdf0e10cSrcweir ce_id i_nMemberId, 124cdf0e10cSrcweir bool i_bIsNestedNamespace ) const; 125cdf0e10cSrcweir const ce_info * Get_EntryDocu( 126cdf0e10cSrcweir ce_id i_nMemberId ) const; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir 129cdf0e10cSrcweir 130cdf0e10cSrcweir 131cdf0e10cSrcweir 132cdf0e10cSrcweir 133cdf0e10cSrcweir 134cdf0e10cSrcweir 135cdf0e10cSrcweir 136cdf0e10cSrcweir // IMPLEMENTATION 137cdf0e10cSrcweir 138cdf0e10cSrcweir 139cdf0e10cSrcweir #endif 140cdf0e10cSrcweir 141cdf0e10cSrcweir 142