1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef ADC_DISPLAY_HI_ARY_HXX
30 #define ADC_DISPLAY_HI_ARY_HXX
36 #include <ary/idl/i_types4idl.hxx>
38 #include <ary/idl/i_gate.hxx>
39 #include <ary/doc/d_docu.hxx>
40 #include <ary/doc/d_oldidldocu.hxx>
61 inline const ary::doc::OldIdlDocu
*
62 Get_IdlDocu(const ary::doc::Documentation
& i_doc
)
64 return dynamic_cast< const ary::doc::OldIdlDocu
* >(i_doc
.Data());
71 /** A helper class to wrap the access to data in the Autodoc Repository.
78 const ary::idl::Gate
&
81 const ary::idl::Module
&
82 GlobalNamespace() const;
83 const ary::idl::Module
&
85 ary::idl::Ce_id i_ce
) const;
86 const ary::idl::CodeEntity
&
88 ary::idl::Ce_id i_ce
) const;
89 const ary::idl::Type
&
91 ary::idl::Type_id i_type
) const;
92 ary::idl::Ce_id
CeFromType(
93 ary::idl::Type_id i_type
) const;
94 bool IsBuiltInOrRelated(
95 const ary::idl::Type
&
98 StringVector
& o_module
,
99 String
& o_mainEntity
,
100 String
& o_memberEntity
,
101 const char * i_sText
,
102 const ary::idl::Module
&
103 i_referingScope
) const;
104 bool Search_CesModule(
105 StringVector
& o_module
,
106 const String
& i_scope
,
108 const ary::idl::Module
&
109 i_referingScope
) const;
110 const ary::idl::Module
*
116 StringVector
& o_module
,
119 const ary::idl::CodeEntity
&
122 StringVector
& o_module
,
124 ary::idl::Ce_id
& o_nCe
,
125 int & o_sequenceCount
,
126 const ary::idl::Type
&
129 std::vector
<ary::idl::Ce_id
> &
131 ary::idl::alphabetical_index::E_Letter
134 const ary::idl::CePilot
&
137 const ary::idl::Module
*
139 const ary::idl::Module
&
141 const String
& i_name
) const;
143 /// Gets "::"-separated names out of a string.
145 const char * & io_TextPtr
,
146 String
& o_name
) const;
149 const ary::idl::Gate
&
151 const ary::idl::CePilot
&
153 const ary::idl::TypePilot
&
156 const ary::idl::Gate
&
164 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */