1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: hi_ary.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef ADC_DISPLAY_HI_ARY_HXX
32 #define ADC_DISPLAY_HI_ARY_HXX
38 #include <ary/idl/i_types4idl.hxx>
40 #include <ary/idl/i_gate.hxx>
41 #include <ary/doc/d_docu.hxx>
42 #include <ary/doc/d_oldidldocu.hxx>
63 inline const ary::doc::OldIdlDocu
*
64 Get_IdlDocu(const ary::doc::Documentation
& i_doc
)
66 return dynamic_cast< const ary::doc::OldIdlDocu
* >(i_doc
.Data());
73 /** A helper class to wrap the access to data in the Autodoc Repository.
80 const ary::idl::Gate
&
83 const ary::idl::Module
&
84 GlobalNamespace() const;
85 const ary::idl::Module
&
87 ary::idl::Ce_id i_ce
) const;
88 const ary::idl::CodeEntity
&
90 ary::idl::Ce_id i_ce
) const;
91 const ary::idl::Type
&
93 ary::idl::Type_id i_type
) const;
94 ary::idl::Ce_id
CeFromType(
95 ary::idl::Type_id i_type
) const;
96 bool IsBuiltInOrRelated(
97 const ary::idl::Type
&
100 StringVector
& o_module
,
101 String
& o_mainEntity
,
102 String
& o_memberEntity
,
103 const char * i_sText
,
104 const ary::idl::Module
&
105 i_referingScope
) const;
106 bool Search_CesModule(
107 StringVector
& o_module
,
108 const String
& i_scope
,
110 const ary::idl::Module
&
111 i_referingScope
) const;
112 const ary::idl::Module
*
118 StringVector
& o_module
,
121 const ary::idl::CodeEntity
&
124 StringVector
& o_module
,
126 ary::idl::Ce_id
& o_nCe
,
127 int & o_sequenceCount
,
128 const ary::idl::Type
&
131 std::vector
<ary::idl::Ce_id
> &
133 ary::idl::alphabetical_index::E_Letter
136 const ary::idl::CePilot
&
139 const ary::idl::Module
*
141 const ary::idl::Module
&
143 const String
& i_name
) const;
145 /// Gets "::"-separated names out of a string.
147 const char * & io_TextPtr
,
148 String
& o_name
) const;
151 const ary::idl::Gate
&
153 const ary::idl::CePilot
&
155 const ary::idl::TypePilot
&
158 const ary::idl::Gate
&