[Libreoffice-commits] .: 3 commits - autodoc/inc autodoc/prj autodoc/source xml2cmp/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Wed Jan 18 23:27:17 PST 2012
autodoc/inc/ary/ary.hxx | 10
autodoc/inc/ary/ary_disp.hxx | 114 ---
autodoc/inc/ary/arygroup.hxx | 110 ---
autodoc/inc/ary/ceslot.hxx | 106 --
autodoc/inc/ary/cessentl.hxx | 91 --
autodoc/inc/ary/cpp/c_builtintype.hxx | 100 --
autodoc/inc/ary/cpp/c_ce.hxx | 106 --
autodoc/inc/ary/cpp/c_class.hxx | 248 -------
autodoc/inc/ary/cpp/c_cppentity.hxx | 94 --
autodoc/inc/ary/cpp/c_de.hxx | 107 ---
autodoc/inc/ary/cpp/c_define.hxx | 85 --
autodoc/inc/ary/cpp/c_enum.hxx | 119 ---
autodoc/inc/ary/cpp/c_enuval.hxx | 99 --
autodoc/inc/ary/cpp/c_funct.hxx | 152 ----
autodoc/inc/ary/cpp/c_gate.hxx | 124 ---
autodoc/inc/ary/cpp/c_macro.hxx | 87 --
autodoc/inc/ary/cpp/c_namesp.hxx | 197 -----
autodoc/inc/ary/cpp/c_osigna.hxx | 125 ---
autodoc/inc/ary/cpp/c_slntry.hxx | 113 ---
autodoc/inc/ary/cpp/c_traits.hxx | 219 ------
autodoc/inc/ary/cpp/c_tydef.hxx | 103 --
autodoc/inc/ary/cpp/c_type.hxx | 136 ---
autodoc/inc/ary/cpp/c_types4cpp.hxx | 137 ---
autodoc/inc/ary/cpp/c_vari.hxx | 117 ---
autodoc/inc/ary/cpp/c_vfflag.hxx | 154 ----
autodoc/inc/ary/cpp/cp_ce.hxx | 176 ----
autodoc/inc/ary/cpp/cp_def.hxx | 102 --
autodoc/inc/ary/cpp/cp_type.hxx | 99 --
autodoc/inc/ary/cpp/inpcontx.hxx | 219 ------
autodoc/inc/ary/cpp/namechain.hxx | 143 ----
autodoc/inc/ary/cpp/usedtype.hxx | 215 ------
autodoc/inc/ary/doc/d_boolean.hxx | 99 --
autodoc/inc/ary/doc/d_oldcppdocu.hxx | 133 ---
autodoc/inc/ary/loc/loc_dir.hxx | 148 ----
autodoc/inc/ary/loc/loc_file.hxx | 71 --
autodoc/inc/ary/loc/loc_filebase.hxx | 75 --
autodoc/inc/ary/loc/loc_le.hxx | 97 --
autodoc/inc/ary/loc/loc_root.hxx | 113 ---
autodoc/inc/ary/loc/loc_traits.hxx | 118 ---
autodoc/inc/ary/loc/loc_types4loc.hxx | 57 -
autodoc/inc/ary/loc/locp_le.hxx | 91 --
autodoc/inc/ary/sequentialids.hxx | 156 ----
autodoc/inc/ary/symtreenode.hxx | 347 ---------
autodoc/inc/autodoc/displaying.hxx | 3
autodoc/inc/autodoc/dsp_html_std.hxx | 125 ---
autodoc/inc/autodoc/parsing.hxx | 14
autodoc/inc/autodoc/prs_code.hxx | 79 --
autodoc/prj/build.lst | 52 -
autodoc/source/ary/cpp/c_builtintype.cxx | 130 ---
autodoc/source/ary/cpp/c_class.cxx | 287 --------
autodoc/source/ary/cpp/c_de.cxx | 54 -
autodoc/source/ary/cpp/c_define.cxx | 79 --
autodoc/source/ary/cpp/c_enum.cxx | 137 ---
autodoc/source/ary/cpp/c_enuval.cxx | 90 --
autodoc/source/ary/cpp/c_funct.cxx | 250 -------
autodoc/source/ary/cpp/c_macro.cxx | 81 --
autodoc/source/ary/cpp/c_namesp.cxx | 295 --------
autodoc/source/ary/cpp/c_osigna.cxx | 79 --
autodoc/source/ary/cpp/c_reposypart.cxx | 526 --------------
autodoc/source/ary/cpp/c_reposypart.hxx | 117 ---
autodoc/source/ary/cpp/c_slots.cxx | 109 ---
autodoc/source/ary/cpp/c_slots.hxx | 87 --
autodoc/source/ary/cpp/c_traits.cxx | 226 ------
autodoc/source/ary/cpp/c_tydef.cxx | 97 --
autodoc/source/ary/cpp/c_vari.cxx | 99 --
autodoc/source/ary/cpp/ca_ce.cxx | 623 -----------------
autodoc/source/ary/cpp/ca_ce.hxx | 216 ------
autodoc/source/ary/cpp/ca_def.cxx | 114 ---
autodoc/source/ary/cpp/ca_def.hxx | 118 ---
autodoc/source/ary/cpp/ca_type.cxx | 139 ---
autodoc/source/ary/cpp/ca_type.hxx | 130 ---
autodoc/source/ary/cpp/cs_ce.cxx | 107 ---
autodoc/source/ary/cpp/cs_ce.hxx | 108 ---
autodoc/source/ary/cpp/cs_def.cxx | 89 --
autodoc/source/ary/cpp/cs_def.hxx | 110 ---
autodoc/source/ary/cpp/cs_type.cxx | 115 ---
autodoc/source/ary/cpp/cs_type.hxx | 141 ---
autodoc/source/ary/cpp/makefile.mk | 80 --
autodoc/source/ary/cpp/namechain.cxx | 199 -----
autodoc/source/ary/cpp/tplparam.cxx | 77 --
autodoc/source/ary/cpp/tplparam.hxx | 87 --
autodoc/source/ary/cpp/usedtype.cxx | 578 ----------------
autodoc/source/ary/doc/d_boolean.cxx | 58 -
autodoc/source/ary/doc/d_oldcppdocu.cxx | 339 ---------
autodoc/source/ary/doc/makefile.mk | 2
autodoc/source/ary/inc/cpp_internalgate.hxx | 69 -
autodoc/source/ary/inc/reposy.hxx | 8
autodoc/source/ary/inc/slots.hxx | 166 ----
autodoc/source/ary/kernel/ary_disp.cxx | 111 ---
autodoc/source/ary/kernel/cessentl.cxx | 89 --
autodoc/source/ary/kernel/makefile.mk | 3
autodoc/source/ary/kernel/reposy.cxx | 68 -
autodoc/source/ary/kernel/slots.cxx | 167 ----
autodoc/source/ary/loc/loc_dir.cxx | 137 ---
autodoc/source/ary/loc/loc_file.cxx | 69 -
autodoc/source/ary/loc/loc_filebase.cxx | 66 -
autodoc/source/ary/loc/loc_root.cxx | 86 --
autodoc/source/ary/loc/loc_traits.cxx | 94 --
autodoc/source/ary/loc/loca_le.cxx | 184 -----
autodoc/source/ary/loc/loca_le.hxx | 101 --
autodoc/source/ary/loc/locs_le.cxx | 70 -
autodoc/source/ary/loc/locs_le.hxx | 91 --
autodoc/source/ary/loc/makefile.mk | 61 -
autodoc/source/display/html/aryattrs.cxx | 251 -------
autodoc/source/display/html/aryattrs.hxx | 157 ----
autodoc/source/display/html/chd_udk2.cxx | 204 -----
autodoc/source/display/html/cre_link.cxx | 272 -------
autodoc/source/display/html/cre_link.hxx | 136 ---
autodoc/source/display/html/dsply_cl.cxx | 111 ---
autodoc/source/display/html/dsply_cl.hxx | 90 --
autodoc/source/display/html/dsply_da.cxx | 202 -----
autodoc/source/display/html/dsply_da.hxx | 110 ---
autodoc/source/display/html/dsply_op.cxx | 210 -----
autodoc/source/display/html/dsply_op.hxx | 107 ---
autodoc/source/display/html/easywri.cxx | 67 -
autodoc/source/display/html/easywri.hxx | 82 --
autodoc/source/display/html/hd_chlst.cxx | 592 ----------------
autodoc/source/display/html/hd_chlst.hxx | 209 -----
autodoc/source/display/html/hd_docu.cxx | 486 -------------
autodoc/source/display/html/hd_docu.hxx | 199 -----
autodoc/source/display/html/hdimpl.cxx | 548 ---------------
autodoc/source/display/html/hdimpl.hxx | 250 -------
autodoc/source/display/html/html_kit.cxx | 307 --------
autodoc/source/display/html/html_kit.hxx | 201 -----
autodoc/source/display/html/makefile.mk | 24
autodoc/source/display/html/nav_main.cxx | 379 ----------
autodoc/source/display/html/nav_main.hxx | 121 ---
autodoc/source/display/html/navibar.cxx | 318 --------
autodoc/source/display/html/navibar.hxx | 121 ---
autodoc/source/display/html/opageenv.cxx | 492 -------------
autodoc/source/display/html/opageenv.hxx | 131 ---
autodoc/source/display/html/outfile.cxx | 390 -----------
autodoc/source/display/html/outfile.hxx | 89 --
autodoc/source/display/html/pagemake.cxx | 578 ----------------
autodoc/source/display/html/pagemake.hxx | 167 ----
autodoc/source/display/html/pm_aldef.cxx | 248 -------
autodoc/source/display/html/pm_aldef.hxx | 91 --
autodoc/source/display/html/pm_base.cxx | 79 --
autodoc/source/display/html/pm_base.hxx | 90 --
autodoc/source/display/html/pm_class.cxx | 813 -----------------------
autodoc/source/display/html/pm_class.hxx | 133 ---
autodoc/source/display/html/pm_help.cxx | 234 ------
autodoc/source/display/html/pm_help.hxx | 65 -
autodoc/source/display/html/pm_index.cxx | 320 ---------
autodoc/source/display/html/pm_index.hxx | 138 ---
autodoc/source/display/html/pm_namsp.cxx | 176 ----
autodoc/source/display/html/pm_namsp.hxx | 80 --
autodoc/source/display/html/pm_start.cxx | 139 ---
autodoc/source/display/html/pm_start.hxx | 65 -
autodoc/source/display/html/protarea.cxx | 140 ---
autodoc/source/display/html/protarea.hxx | 96 --
autodoc/source/display/html/strconst.hxx | 80 --
autodoc/source/display/inc/html/chd_udk2.hxx | 98 --
autodoc/source/display/kernel/displfct.cxx | 7
autodoc/source/display/kernel/displfct.hxx | 2
autodoc/source/exes/adc_uni/adc_cl.cxx | 14
autodoc/source/exes/adc_uni/adc_cmd_parse.cxx | 21
autodoc/source/exes/adc_uni/adc_cmd_parse.hxx | 4
autodoc/source/exes/adc_uni/adc_cmds.cxx | 23
autodoc/source/exes/adc_uni/adc_cmds.hxx | 3
autodoc/source/exes/adc_uni/cmd_run.cxx | 31
autodoc/source/exes/adc_uni/cmd_run.hxx | 4
autodoc/source/exes/adc_uni/makefile.mk | 14
autodoc/source/exes/adc_uni/spec-CommandLine.txt | 6
autodoc/source/inc/adc_cl.hxx | 3
autodoc/source/inc/prprpr.hxx | 61 -
autodoc/source/parser/adoc/a_rdocu.cxx | 92 --
autodoc/source/parser/adoc/adoc_tok.cxx | 49 -
autodoc/source/parser/adoc/cx_a_std.cxx | 518 --------------
autodoc/source/parser/adoc/cx_a_sub.cxx | 184 -----
autodoc/source/parser/adoc/docu_pe.cxx | 405 -----------
autodoc/source/parser/adoc/makefile.mk | 62 -
autodoc/source/parser/adoc/prs_adoc.cxx | 59 -
autodoc/source/parser/adoc/tk_attag.cxx | 86 --
autodoc/source/parser/adoc/tk_docw.cxx | 130 ---
autodoc/source/parser/cpp/all_toks.cxx | 154 ----
autodoc/source/parser/cpp/all_toks.hxx | 221 ------
autodoc/source/parser/cpp/c_dealer.cxx | 149 ----
autodoc/source/parser/cpp/c_dealer.hxx | 110 ---
autodoc/source/parser/cpp/c_rcode.cxx | 161 ----
autodoc/source/parser/cpp/c_rcode.hxx | 106 --
autodoc/source/parser/cpp/cpp_pe.cxx | 80 --
autodoc/source/parser/cpp/cpp_pe.hxx | 83 --
autodoc/source/parser/cpp/cpp_tok.hxx | 65 -
autodoc/source/parser/cpp/cx_base.cxx | 79 --
autodoc/source/parser/cpp/cx_base.hxx | 98 --
autodoc/source/parser/cpp/cx_c_pp.cxx | 180 -----
autodoc/source/parser/cpp/cx_c_pp.hxx | 97 --
autodoc/source/parser/cpp/cx_c_std.cxx | 531 ---------------
autodoc/source/parser/cpp/cx_c_std.hxx | 94 --
autodoc/source/parser/cpp/cx_c_sub.cxx | 160 ----
autodoc/source/parser/cpp/cx_c_sub.hxx | 105 --
autodoc/source/parser/cpp/cxt2ary.cxx | 360 ----------
autodoc/source/parser/cpp/cxt2ary.hxx | 201 -----
autodoc/source/parser/cpp/defdescr.cxx | 227 ------
autodoc/source/parser/cpp/defdescr.hxx | 100 --
autodoc/source/parser/cpp/fevnthdl.hxx | 107 ---
autodoc/source/parser/cpp/icprivow.cxx | 195 -----
autodoc/source/parser/cpp/icprivow.hxx | 126 ---
autodoc/source/parser/cpp/makefile.mk | 87 --
autodoc/source/parser/cpp/pe_base.cxx | 226 ------
autodoc/source/parser/cpp/pe_base.hxx | 126 ---
autodoc/source/parser/cpp/pe_class.cxx | 496 --------------
autodoc/source/parser/cpp/pe_class.hxx | 255 -------
autodoc/source/parser/cpp/pe_defs.cxx | 182 -----
autodoc/source/parser/cpp/pe_defs.hxx | 96 --
autodoc/source/parser/cpp/pe_enum.cxx | 191 -----
autodoc/source/parser/cpp/pe_enum.hxx | 134 ---
autodoc/source/parser/cpp/pe_enval.cxx | 170 ----
autodoc/source/parser/cpp/pe_enval.hxx | 101 --
autodoc/source/parser/cpp/pe_expr.cxx | 179 -----
autodoc/source/parser/cpp/pe_expr.hxx | 107 ---
autodoc/source/parser/cpp/pe_file.cxx | 320 ---------
autodoc/source/parser/cpp/pe_file.hxx | 198 -----
autodoc/source/parser/cpp/pe_funct.cxx | 612 -----------------
autodoc/source/parser/cpp/pe_funct.hxx | 283 --------
autodoc/source/parser/cpp/pe_ignor.cxx | 118 ---
autodoc/source/parser/cpp/pe_ignor.hxx | 77 --
autodoc/source/parser/cpp/pe_namsp.cxx | 165 ----
autodoc/source/parser/cpp/pe_namsp.hxx | 101 --
autodoc/source/parser/cpp/pe_param.cxx | 282 -------
autodoc/source/parser/cpp/pe_param.hxx | 141 ---
autodoc/source/parser/cpp/pe_tpltp.cxx | 178 -----
autodoc/source/parser/cpp/pe_tpltp.hxx | 108 ---
autodoc/source/parser/cpp/pe_tydef.cxx | 145 ----
autodoc/source/parser/cpp/pe_tydef.hxx | 93 --
autodoc/source/parser/cpp/pe_type.cxx | 556 ---------------
autodoc/source/parser/cpp/pe_type.hxx | 187 -----
autodoc/source/parser/cpp/pe_vafu.cxx | 651 ------------------
autodoc/source/parser/cpp/pe_vafu.hxx | 292 --------
autodoc/source/parser/cpp/pe_vari.cxx | 189 -----
autodoc/source/parser/cpp/pe_vari.hxx | 132 ---
autodoc/source/parser/cpp/pev.hxx | 306 --------
autodoc/source/parser/cpp/preproc.cxx | 233 ------
autodoc/source/parser/cpp/preproc.hxx | 118 ---
autodoc/source/parser/cpp/prs_cpp.cxx | 250 -------
autodoc/source/parser/cpp/sdocdist.hxx | 161 ----
autodoc/source/parser/cpp/sfscope.hxx | 72 --
autodoc/source/parser/cpp/sownstck.hxx | 327 ---------
autodoc/source/parser/cpp/srecover.hxx | 134 ---
autodoc/source/parser/cpp/tkp_cpp.cxx | 94 --
autodoc/source/parser/cpp/tkp_cpp.hxx | 101 --
autodoc/source/parser/cpp/tokintpr.hxx | 120 ---
autodoc/source/parser/inc/adoc/a_rdocu.hxx | 73 --
autodoc/source/parser/inc/adoc/adoc_tok.hxx | 64 -
autodoc/source/parser/inc/adoc/atokdeal.hxx | 62 -
autodoc/source/parser/inc/adoc/cx_a_std.hxx | 107 ---
autodoc/source/parser/inc/adoc/cx_a_sub.hxx | 148 ----
autodoc/source/parser/inc/adoc/docu_pe.hxx | 195 -----
autodoc/source/parser/inc/adoc/prs_adoc.hxx | 57 -
autodoc/source/parser/inc/adoc/tk_attag.hxx | 100 --
autodoc/source/parser/inc/adoc/tk_docw.hxx | 119 ---
autodoc/source/parser/inc/adoc/tokintpr.hxx | 119 ---
autodoc/source/parser/inc/cpp/ctokdeal.hxx | 76 --
autodoc/source/parser/inc/cpp/prs_cpp.hxx | 70 -
autodoc/source/parser/inc/doc_deal.hxx | 92 --
autodoc/source/parser/inc/semantic/callf.hxx | 289 --------
autodoc/source/parser/inc/semantic/parseenv.hxx | 112 ---
autodoc/source/parser/inc/semantic/sub_pe.hxx | 114 ---
autodoc/source/parser/inc/semantic/sub_peu.hxx | 133 ---
autodoc/source/parser/inc/tokens/tokdeal.hxx | 15
autodoc/source/parser/kernel/parsefct.cxx | 14
autodoc/source/parser/kernel/parsefct.hxx | 4
autodoc/source/parser/semantic/makefile.mk | 58 -
autodoc/source/parser/semantic/parseenv.cxx | 89 --
xml2cmp/source/support/cmdline.cxx | 71 --
xml2cmp/source/support/cmdline.hxx | 11
xml2cmp/source/xcd/cr_index.cxx | 3
xml2cmp/source/xcd/cr_index.hxx | 4
xml2cmp/source/xcd/main.cxx | 29
270 files changed, 20 insertions(+), 41153 deletions(-)
New commits:
commit 8419668ea809036e734201770ff7a5a778509cce
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 19 00:02:54 2012 +0100
Remove obsolete autodoc C++ functionality.
diff --git a/autodoc/inc/ary/ary.hxx b/autodoc/inc/ary/ary.hxx
index d15ed4d..daa5945 100644
--- a/autodoc/inc/ary/ary.hxx
+++ b/autodoc/inc/ary/ary.hxx
@@ -40,11 +40,6 @@ namespace idl
{
class Gate;
}
-
-namespace cpp
-{
- class Gate;
-}
}
@@ -58,7 +53,6 @@ namespace ary
Create and destroy the repository and
give access to the "Gates" for different tasks.
- @collab ::ary::cpp::Gate
@collab ::ary::idl::Gate
*/
@@ -72,13 +66,9 @@ class Repository
// INQUIRY
virtual const String &
Title() const = 0;
- virtual const ::ary::cpp::Gate &
- Gate_Cpp() const = 0;
virtual const ::ary::idl::Gate &
Gate_Idl() const = 0;
// ACCESS
- virtual ::ary::cpp::Gate &
- Gate_Cpp() = 0;
virtual ::ary::idl::Gate &
Gate_Idl() = 0;
virtual void Set_Title(
diff --git a/autodoc/inc/ary/ary_disp.hxx b/autodoc/inc/ary/ary_disp.hxx
deleted file mode 100644
index 566f320..0000000
--- a/autodoc/inc/ary/ary_disp.hxx
+++ /dev/null
@@ -1,114 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_ARY_DISP_HXX
-#define ARY_ARY_DISP_HXX
-// KORR_DEPRECATED_3.0
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <cosv/tpl/processor.hxx>
- // COMPONENTS
- // PARAMETERS
-#include <ary/types.hxx>
-#include <ary/cpp/c_types4cpp.hxx>
-
-namespace ary
-{
-namespace cpp
-{
- class Gate;
-}
-
-class Display : public csv::ProcessorIfc
-{
- public:
- virtual ~Display() {}
-
- // OPERATIONS
- void StartSlot();
- void FinishSlot();
-
- /** This method depends on the result of Get_ReFinder().
- If Get_ReFinder() != 0, then DisplayGate::Find_Re() is called
- and if valid, cpp::CppEntity::Accept( *this ) is called.
- If Get_ReFinder() == 0, simply do_DisplaySlot_Rid() is called
- with just the id as parameter.
- */
- void DisplaySlot_Rid(
- ary::Rid i_nId );
-// void DisplaySlot_Lid(
-// ary::Lid i_nId );
- /** This method depends on the result of Get_ReFinder().
- If Get_ReFinder() != 0, then DisplayGate::Find_Re() is called
- and if valid, cpp::CppEntity::Accept( *this ) is called.
- If Get_ReFinder() == 0, simply do_DisplaySlot_LocalCe() is called
- with just the id as parameter.
- */
- void DisplaySlot_LocalCe(
- ary::cpp::Ce_id i_nId,
- const String & i_sName );
- // INQUIRY
- const cpp::Gate * Get_ReFinder() const;
-
- private:
- virtual void do_StartSlot();
- virtual void do_FinishSlot();
-
-
- virtual void do_DisplaySlot_Rid(
- ary::Rid i_nId );
- virtual void do_DisplaySlot_LocalCe(
- ary::cpp::Ce_id i_nId,
- const String & i_sName );
- virtual const cpp::Gate *
- inq_Get_ReFinder() const = 0;
-};
-
-
-// IMPLEMENTATION
-
-
-inline void
-Display::StartSlot()
- { do_StartSlot(); }
-inline void
-Display::FinishSlot()
- { do_FinishSlot(); }
-inline const cpp::Gate *
-Display::Get_ReFinder() const
- { return inq_Get_ReFinder(); }
-
-
-
-
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/arygroup.hxx b/autodoc/inc/ary/arygroup.hxx
deleted file mode 100644
index 1acb07e..0000000
--- a/autodoc/inc/ary/arygroup.hxx
+++ /dev/null
@@ -1,110 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_ARYGROUP_HXX
-#define ARY_ARYGROUP_HXX
-// KORR_DEPRECATED_3.0
-
-
-// USED SERVICES
- // BASE CLASSES
- // OTHER
-#include <ary/types.hxx>
-
-
-namespace ary
-{
-namespace cpp
-{
- class CppEntity;
-}
-
-class Slot;
-
-namespace group
-{
- typedef std::vector< SlotAccessId > SlotList;
-}
-}
-
-
-
-
-namespace ary
-{
-
-
-
-class AryGroup
-{
- public:
- // LIFECYCLE
- virtual ~AryGroup() {}
-
- // INQUIRY
- Gid Id_Group() const;
- const cpp::CppEntity &
- RE_Group() const;
- const group::SlotList &
- Slots() const;
- DYN Slot * Create_Slot(
- SlotAccessId i_nSlot ) const;
-
-
- private:
- virtual Gid inq_Id_Group() const = 0;
- virtual const cpp::CppEntity &
- inq_RE_Group() const = 0;
- virtual const group::SlotList &
- inq_Slots() const = 0;
- virtual DYN Slot * inq_Create_Slot(
- SlotAccessId i_nSlot ) const = 0;
-};
-
-
-
-// IMPLEMENTATION
-inline Gid
-AryGroup::Id_Group() const
- { return inq_Id_Group(); }
-inline const cpp::CppEntity &
-AryGroup::RE_Group() const
- { return inq_RE_Group(); }
-inline const group::SlotList &
-AryGroup::Slots() const
- { return inq_Slots(); }
-inline DYN Slot *
-AryGroup::Create_Slot( SlotAccessId i_nSlot ) const
- { return inq_Create_Slot(i_nSlot); }
-
-
-
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/ceslot.hxx b/autodoc/inc/ary/ceslot.hxx
deleted file mode 100644
index 9dcd159..0000000
--- a/autodoc/inc/ary/ceslot.hxx
+++ /dev/null
@@ -1,106 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CESLOT_HXX
-#define ARY_CESLOT_HXX
-// KORR_DEPRECATED_3.0
-
-
-// USED SERVICES
- // BASE CLASSES
- // COMPONENTS
- // PARAMETERS
-
-namespace ary
-{
-
-class Display;
-
-/** differentiation of Slots
-
- Slots:
- - ReadWrite or ReadOnly
- - ContentType
- - Groups
- - MemberLink 'EnumValue from Enum' or 'Class from Namespace'
- - MemberData 'Parameter from Operation'
- - SimpleLink
- - CommentedLink 'Baseclass from Class'
- - DefaultCommentedLink 'Class from GlobaIndex'
-*/
-
-class Slot
-{
- public:
- virtual ~Slot() {}
-
- virtual void StoreAt(
- Display & o_rDestination ) const;
- virtual uintt Size() const = 0;
-
- private:
- virtual void StoreEntries(
- Display & o_rDestination ) const = 0;
-};
-
-class Slot_AutoPtr
-{
- public:
- Slot_AutoPtr(
- Slot * i_pSlot = 0 )
- : pSlot(i_pSlot) {}
- ~Slot_AutoPtr() { if (pSlot != 0) delete pSlot; }
-
- Slot_AutoPtr & operator=(
- Slot * i_pSlot )
- { if (pSlot != 0) delete pSlot;
- pSlot = i_pSlot;
- return *this; }
- operator bool() const { return pSlot != 0; }
-
- const Slot & operator*() { csv_assert(pSlot != 0);
- return *pSlot; }
- const Slot * operator->() { csv_assert(pSlot != 0);
- return pSlot; }
-
- private:
- // Forbidden functions
- Slot_AutoPtr(const Slot_AutoPtr &);
- Slot_AutoPtr & operator=(const Slot_AutoPtr &);
-
- // DATA
- Slot * pSlot;
-};
-
-
-
-
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cessentl.hxx b/autodoc/inc/ary/cessentl.hxx
deleted file mode 100644
index cc402ae..0000000
--- a/autodoc/inc/ary/cessentl.hxx
+++ /dev/null
@@ -1,91 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CESSENTL_HXX
-#define ARY_CESSENTL_HXX
-// KORR_DEPRECATED_3.0
-
-
-// USED SERVICES
- // BASE CLASSES
- // COMPONENTS
- // PARAMETERS
-#include <ary/cpp/c_types4cpp.hxx>
-#include <ary/loc/loc_types4loc.hxx>
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-class CeEssentials
-{ // Non inline functions are implemented in ceworker.cxx .
- public:
- // LIFECYCLE
- CeEssentials();
- CeEssentials(
- const String & i_sLocalName,
- Ce_id i_nOwner,
- loc::Le_id i_nLocation );
- ~CeEssentials();
- // INQUIRY
- const String & LocalName() const;
- Ce_id Owner() const;
- loc::Le_id Location() const;
-
- // ACCESS
- private:
- String sLocalName;
- Ce_id nOwner;
- loc::Le_id nLocation;
-};
-
-
-
-// IMPLEMENTATION
-inline const String &
-CeEssentials::LocalName() const
- { return sLocalName; }
-inline Ce_id
-CeEssentials::Owner() const
- { return nOwner; }
-inline loc::Le_id
-CeEssentials::Location() const
- { return nLocation; }
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_builtintype.hxx b/autodoc/inc/ary/cpp/c_builtintype.hxx
deleted file mode 100644
index 0fff94d..0000000
--- a/autodoc/inc/ary/cpp/c_builtintype.hxx
+++ /dev/null
@@ -1,100 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_BUILTINTYPE_HXX
-#define ARY_CPP_C_BUILTINTYPE_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_type.hxx>
- // COMPONENTS
- // PARAMETERS
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** Represents types like void, int, double.
-*/
-class BuiltInType : public Type
-{
- public:
- enum E_ClassId { class_id = 1200 };
-
- BuiltInType(
- const String & i_sName,
- E_TypeSpecialisation
- i_Specialisation );
-
- String SpecializedName() const;
-
- static String SpecializedName_(
- const char * i_sName,
- E_TypeSpecialisation
- i_eTypeSpecialisation );
- private:
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
- // Interface Object:
- virtual ClassId get_AryClass() const;
-
- // Interface Type:
- virtual bool inq_IsConst() const;
- virtual void inq_Get_Text(
- StreamStr & o_rPreName,
- StreamStr & o_rName,
- StreamStr & o_rPostName,
- const Gate & i_rGate ) const;
- // DATA
- String sName;
- E_TypeSpecialisation
- eSpecialisation;
-};
-
-
-
-inline String
-BuiltInType::SpecializedName() const
-{
- return SpecializedName_(sName, eSpecialisation);
-}
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_ce.hxx b/autodoc/inc/ary/cpp/c_ce.hxx
deleted file mode 100644
index 5f7e635..0000000
--- a/autodoc/inc/ary/cpp/c_ce.hxx
+++ /dev/null
@@ -1,106 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_CE_HXX
-#define ARY_CPP_C_CE_HXX
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_cppentity.hxx>
- // COMPONENTS
-#include <ary/doc/d_docu.hxx>
- // PARAMETERS
-#include <ary/cpp/c_types4cpp.hxx>
-#include <ary/cpp/c_traits.hxx>
-#include <ary/loc/loc_types4loc.hxx>
-
-
-namespace ary
-{
-namespace cpp
-{
-
-typedef loc::Le_id Lid;
-
-
-
-/** Represents a C++ code entity.
-*/
-class CodeEntity : public ary::cpp::CppEntity
-{
- public:
- typedef Ce_Traits traits_t;
-
- // LIFECYCLE
- virtual ~CodeEntity() {}
-
- // INQUIRY
- Ce_id CeId() const { return Ce_id(Id()); }
- const String & LocalName() const;
- Cid Owner() const;
- Lid Location() const;
- bool IsVisible() const;
-
- // ACCESS
- void Set_InVisible() { bIsVisible = false; }
-
- protected:
- CodeEntity() : bIsVisible(true) {}
-
- private:
- // Locals
- virtual const String &
- inq_LocalName() const = 0;
- virtual Cid inq_Owner() const = 0;
- virtual Lid inq_Location() const = 0;
-
- // DATA
- mutable bool bIsVisible;
-};
-
-
-// IMPLEMENTATION
-inline const String &
-CodeEntity::LocalName() const
- { return inq_LocalName(); }
-inline Cid
-CodeEntity::Owner() const
- { return inq_Owner(); }
-inline Lid
-CodeEntity::Location() const
- { return inq_Location(); }
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_class.hxx b/autodoc/inc/ary/cpp/c_class.hxx
deleted file mode 100644
index 49b75b7..0000000
--- a/autodoc/inc/ary/cpp/c_class.hxx
+++ /dev/null
@@ -1,248 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_CLASS_HXX
-#define ARY_CPP_C_CLASS_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_ce.hxx>
-#include <ary/arygroup.hxx>
- // OTHER
-#include <ary/symtreenode.hxx>
-#include <ary/cessentl.hxx>
-#include <ary/sequentialids.hxx>
-#include <ary/cpp/c_types4cpp.hxx>
-#include <ary/cpp/c_slntry.hxx>
-
-namespace ary
-{
-namespace cpp
-{
- class Enum;
- class Typedef;
- class Function;
- class Variable;
-}
-}
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** A C++ class.
-*/
-class Class : public CodeEntity,
- public AryGroup
-{
- public:
- enum E_ClassId { class_id = 1001 };
-
- enum E_Slots
- {
- SLOT_Bases = 1,
- SLOT_NestedClasses,
- SLOT_Enums,
- SLOT_Typedefs,
- SLOT_Operations,
- SLOT_StaticOperations,
- SLOT_Data,
- SLOT_StaticData,
- SLOT_FriendClasses,
- SLOT_FriendOperations
- };
-
- typedef ::ary::symtree::Node<CeNode_Traits> node_t;
-
-
- // LIFECYCLE
- Class(
- const String & i_sLocalName,
- Ce_id i_nOwner,
- E_Protection i_eProtection,
- loc::Le_id i_nFile,
- E_ClassKey i_eClassKey );
- ~Class();
-
- // OPERATIONS
- void Add_BaseClass(
- const S_Classes_Base &
- i_rBaseClass );
- void Add_TemplateParameterType(
- const String & i_sLocalName,
- Type_id i_nIdAsType );
- void Add_KnownDerivative(
- Ce_id i_nId )
- { aKnownDerivatives.Add(i_nId); }
-
- void Add_LocalClass(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalEnum(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalTypedef(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalOperation(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalStaticOperation(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalData(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalStaticData(
- const String & i_sLocalName,
- Cid i_nId );
-
- void UpdateVirtuality(
- E_Virtuality i_eVirtuality )
- { if ( int(i_eVirtuality) > int(eVirtuality) )
- eVirtuality = i_eVirtuality; }
- const List_TplParam &
- TemplateParameters() const
- { return aTemplateParameterTypes; }
- const List_Bases & BaseClasses() const { return aBaseClasses; }
- const SequentialIds<Ce_id> &
- KnownDerivatives() const
- { return aKnownDerivatives; }
-
- // INQUIRY
- E_ClassKey ClassKey() const;
- E_Protection Protection() const;
- E_Virtuality Virtuality() const { return eVirtuality; }
-
- Ce_id Search_Child(
- const String & i_key ) const;
- Rid Search_LocalClass(
- const String & i_sName ) const;
- const node_t & AsNode() const;
-
- // ACCESS
- node_t & AsNode();
-
- private:
- NON_COPYABLE(Class);
-
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
-
- // Interface ary::cpp::CodeEntity
- virtual const String &
- inq_LocalName() const;
- virtual Cid inq_Owner() const;
- virtual loc::Le_id inq_Location() const;
-
- // Interface ary::cpp::CppEntity
- virtual ClassId get_AryClass() const;
-
- // Interface ary::AryGroup
- virtual Gid inq_Id_Group() const;
- virtual const cpp::CppEntity &
- inq_RE_Group() const;
- virtual const group::SlotList &
- inq_Slots() const;
- virtual DYN Slot * inq_Create_Slot(
- SlotAccessId i_nSlot ) const;
- // Local
- typedef List_LocalCe::const_iterator CIterator_Locals;
- typedef List_LocalCe::iterator Iterator_Locals;
- typedef SequentialIds<Ce_id> IdSequence;
-
- CIterator_Locals PosOfName(
- const List_LocalCe& i_rList,
- const String & i_sName ) const;
- // DATA
- CeEssentials aEssentials;
- node_t aAssignedNode;
-
- List_Bases aBaseClasses;
- List_TplParam aTemplateParameterTypes;
-
- List_LocalCe aClasses;
- List_LocalCe aEnums;
- List_LocalCe aTypedefs;
- List_LocalCe aOperations;
- List_LocalCe aStaticOperations;
- List_LocalCe aData;
- List_LocalCe aStaticData;
-
- IdSequence aFriendClasses;
- IdSequence aFriendOperations;
- IdSequence aKnownDerivatives;
-
- E_ClassKey eClassKey;
- E_Protection eProtection;
- E_Virtuality eVirtuality;
-};
-
-
-
-
-// IMPLEMENTATION
-inline E_ClassKey
-Class::ClassKey() const
-{
- return eClassKey;
-}
-
-inline E_Protection
-Class::Protection() const
-{
- return eProtection;
-}
-
-inline const Class::node_t &
-Class::AsNode() const
-{
- return aAssignedNode;
-}
-
-inline Class::node_t &
-Class::AsNode()
-{
- return aAssignedNode;
-}
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_cppentity.hxx b/autodoc/inc/ary/cpp/c_cppentity.hxx
deleted file mode 100644
index fab3d2f..0000000
--- a/autodoc/inc/ary/cpp/c_cppentity.hxx
+++ /dev/null
@@ -1,94 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_CPPENTITY_HXX
-#define ARY_CPP_C_CPPENTITY_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/entity.hxx>
- // OTHER
-#include <ary/doc/d_docu.hxx>
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** A C++ code entity as parsed by Autodoc.
-*/
-class CppEntity : public Entity
-{
- public:
- // LIFECYCLE
- virtual ~CppEntity() {}
-
- // OPERATIONS
-
- // INQUIRY
- const ary::doc::Documentation &
- Docu() const;
- // ACCESS
- void Set_Docu(
- DYN ary::doc::Node &
- pass_docudata );
- private:
- // DATA
- ary::doc::Documentation
- aDocu;
-};
-
-
-
-
-// IMPLEMENTATION
-inline const doc::Documentation &
-CppEntity::Docu() const
-{
- return aDocu;
-}
-
-inline void
-CppEntity::Set_Docu(ary::doc::Node & pass_docudata)
-{
- aDocu.Set_Data(pass_docudata);
-}
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_de.hxx b/autodoc/inc/ary/cpp/c_de.hxx
deleted file mode 100644
index 8426222..0000000
--- a/autodoc/inc/ary/cpp/c_de.hxx
+++ /dev/null
@@ -1,107 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_DE_HXX
-#define ARY_CPP_C_DE_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_cppentity.hxx>
- // OTHER
-#include <ary/loc/loc_types4loc.hxx>
-#include <ary/cpp/c_traits.hxx>
-
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** Describes a C/C++ #define statement. May be a define or a macro, for which
- two cases the two different constructors are to be used.
-
- This class is used by cpp::PreProcessor.
-*/
-class DefineEntity : public ary::cpp::CppEntity
-{
- public:
- typedef Def_Traits traits_t;
-
- virtual ~DefineEntity() {}
-
- // INQUIRY
- De_id DefId() const { return De_id(Id()); }
- const String & LocalName() const;
- loc::Le_id Location() const;
- const StringVector &
- DefinitionText() const;
- // ACCESS
- protected:
- DefineEntity(
- const String & i_name,
- loc::Le_id i_declaringFile );
- private:
- // Locals
- virtual const StringVector &
- inq_DefinitionText() const = 0;
-
- // DATA
- String sName;
- loc::Le_id nLocation;
-};
-
-
-
-
-// IMPLEMENTATION
-inline const String &
-DefineEntity::LocalName() const
- { return sName; }
-
-inline loc::Le_id
-DefineEntity::Location() const
- { return nLocation; }
-
-inline const StringVector &
-DefineEntity::DefinitionText() const
- { return inq_DefinitionText(); }
-
-
-
-
-
-} // end namespace cpp
-} // end namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_define.hxx b/autodoc/inc/ary/cpp/c_define.hxx
deleted file mode 100644
index 460ddb7..0000000
--- a/autodoc/inc/ary/cpp/c_define.hxx
+++ /dev/null
@@ -1,85 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_DEFINE_HXX
-#define ARY_CPP_C_DEFINE_HXX
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_de.hxx>
- // OTHER
-
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** A C/C++ #define ("#define DEF") statement, but no macro.
-
- @see Macro
-*/
-class Define : public DefineEntity
-{
- public:
- enum E_ClassId { class_id = 1601 };
-
- Define( /// Used for: #define DEFINE xyz
- const String & i_name,
- const StringVector &
- i_definition,
- loc::Le_id i_declaringFile );
- virtual ~Define();
- private:
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
-
- // Interface ary::Object:
- virtual ClassId get_AryClass() const;
-
- // Interface DefineEntity:
- virtual const StringVector &
- inq_DefinitionText() const;
- // DATA
- StringVector aDefinition;
-};
-
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_enum.hxx b/autodoc/inc/ary/cpp/c_enum.hxx
deleted file mode 100644
index 4704c70..0000000
--- a/autodoc/inc/ary/cpp/c_enum.hxx
+++ /dev/null
@@ -1,119 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_ENUM_HXX
-#define ARY_CPP_C_ENUM_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_ce.hxx>
-#include <ary/arygroup.hxx>
- // OTHER
-#include <ary/cessentl.hxx>
-#include <ary/cpp/c_types4cpp.hxx>
-#include <ary/sequentialids.hxx>
-
-
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** A C++ enum declaration.
-*/
-class Enum : public CodeEntity,
- public AryGroup
-{
- public:
- enum E_ClassId { class_id = 1002 };
-
- enum E_Slots
- {
- SLOT_Values = 1
- };
-
- // LIFECYCLE
- Enum(
- const String & i_sLocalName,
- Ce_id i_nOwner,
- E_Protection i_eProtection,
- Lid i_nFile );
- ~Enum();
-
- // OPERATIONS
- void Add_Value(
- Ce_id i_nId );
-
- // INQUIRY
- E_Protection Protection() const { return eProtection; }
-
- private:
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
-
- // Interface ary::cpp::CodeEntity
- virtual const String &
- inq_LocalName() const;
- virtual Cid inq_Owner() const;
- virtual Lid inq_Location() const;
-
- // Interface ary::cpp::CppEntity
- virtual ClassId get_AryClass() const;
-
- // Interface ary::AryGroup
- virtual Gid inq_Id_Group() const;
- virtual const cpp::CppEntity &
- inq_RE_Group() const;
- virtual const group::SlotList &
- inq_Slots() const;
- virtual DYN Slot * inq_Create_Slot(
- SlotAccessId i_nSlot ) const;
-
- // DATA
- CeEssentials aEssentials;
- SequentialIds<Ce_id>
- aValues;
- E_Protection eProtection;
-};
-
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_enuval.hxx b/autodoc/inc/ary/cpp/c_enuval.hxx
deleted file mode 100644
index 3ed523b..0000000
--- a/autodoc/inc/ary/cpp/c_enuval.hxx
+++ /dev/null
@@ -1,99 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_ENUVAL_HXX
-#define ARY_CPP_C_ENUVAL_HXX
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_ce.hxx>
- // OTHER
-#include <ary/cessentl.hxx>
-#include <ary/cpp/c_types4cpp.hxx>
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-
-/** A C++ enum value declaration and definition.
-*/
-class EnumValue : public CodeEntity
-{
- public:
- enum E_ClassId { class_id = 1006 };
-
- // LIFECYCLE
- EnumValue(
- const String & i_sLocalName,
- Ce_id i_nOwner,
- String i_sInitialisation );
- ~EnumValue();
- // INQUIRY
- const String & Initialisation() const;
-
- private:
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
-
- // Interface ary::cpp::CodeEntity
- virtual const String &
- inq_LocalName() const;
- virtual Cid inq_Owner() const;
- virtual Lid inq_Location() const;
-
- // Interface ary::cpp::CppEntity
- virtual ClassId get_AryClass() const;
-
- // DATA
- CeEssentials aEssentials;
- String sInitialisation;
-};
-
-
-
-
-// IMPLEMENTATION
-inline const String &
-EnumValue::Initialisation() const
- { return sInitialisation; }
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_funct.hxx b/autodoc/inc/ary/cpp/c_funct.hxx
deleted file mode 100644
index 917ff82..0000000
--- a/autodoc/inc/ary/cpp/c_funct.hxx
+++ /dev/null
@@ -1,152 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_FUNCT_HXX
-#define ARY_CPP_C_FUNCT_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_ce.hxx>
- // OTHER
-#include <ary/cessentl.hxx>
-#include <ary/cpp/c_types4cpp.hxx>
-#include <ary/cpp/c_slntry.hxx>
-#include <ary/cpp/c_vfflag.hxx>
-#include <ary/cpp/c_osigna.hxx>
-
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-
-/** A C++ function declaration.
-*/
-class Function : public CodeEntity
-{
- public:
- enum E_ClassId { class_id = 1004 };
-
- Function(
- const String & i_sLocalName,
- Ce_id i_nOwner,
- E_Protection i_eProtection,
- loc::Le_id i_nFile,
- Type_id i_nReturnType,
- const std::vector<S_Parameter> &
- i_parameters,
- E_ConVol i_conVol,
- E_Virtuality i_eVirtuality,
- FunctionFlags i_aFlags,
- bool i_bThrowExists,
- const std::vector<Type_id> &
- i_rExceptions );
- ~Function();
-
-
- // OPERATIONS
- void Add_TemplateParameterType(
- const String & i_sLocalName,
- Type_id i_nIdAsType );
-
- // INQUIRY
- const OperationSignature &
- Signature() const;
- Type_id ReturnType() const;
- E_Protection Protection() const { return eProtection; }
- E_Virtuality Virtuality() const { return eVirtuality; }
- const FunctionFlags &
- Flags() const { return aFlags; }
- const StringVector &
- ParamInfos() const { return aParameterInfos; }
- const std::vector<Type_id> *
- Exceptions() const { return pExceptions.Ptr(); }
-
- const List_TplParam &
- TemplateParameters() const
- { return aTemplateParameterTypes; }
- bool IsIdentical(
- const Function & i_f ) const;
-
- private:
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
-
- // Interface ary::cpp::CodeEntity
- virtual const String &
- inq_LocalName() const;
- virtual Cid inq_Owner() const;
- virtual Lid inq_Location() const;
-
- // Interface ary::cpp::CppEntity
- virtual ClassId get_AryClass() const;
-
- // Local Types
- typedef StringVector ParameterInfoList;
- typedef std::vector<Type_id> ExceptionTypeList;
-
- // DATA
- CeEssentials aEssentials;
- List_TplParam aTemplateParameterTypes;
- OperationSignature aSignature;
- Type_id nReturnType;
- E_Protection eProtection;
- E_Virtuality eVirtuality;
- FunctionFlags aFlags;
- ParameterInfoList aParameterInfos;
- Dyn<ExceptionTypeList>
- pExceptions; // if (NOT pExceptions) there is no throw,
- // else, there is one, but the list still may be empty.
-};
-
-
-
-
-// IMPLEMENTATION
-inline const OperationSignature &
-Function::Signature() const
- { return aSignature; }
-inline Type_id
-Function::ReturnType() const
- { return nReturnType; }
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_gate.hxx b/autodoc/inc/ary/cpp/c_gate.hxx
deleted file mode 100644
index df0af5a..0000000
--- a/autodoc/inc/ary/cpp/c_gate.hxx
+++ /dev/null
@@ -1,124 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_GATE_HXX
-#define ARY_CPP_C_GATE_HXX
-
-
-// USED SERVICES
- // BASE CLASSES
- // OTHER
-#include <ary/cpp/c_types4cpp.hxx>
-
-
-
-namespace autodoc
-{
- class Options;
-}
-namespace ary
-{
- class Entity;
-
-namespace cpp
-{
- class CodeEntity;
- class CppEntity;
- class CePilot;
- class DefPilot;
- class TypePilot;
-}
-namespace loc
-{
- class LocationPilot;
-}
-}
-
-
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-
-/** Acess to all stored objcts in the repository, which are
- relevant to C++.
-*/
-class Gate
-{
- public:
- // LIFECYCLE
- virtual ~Gate() {}
-
-
- // OPERATIONS
- virtual void Calculate_AllSecondaryInformation() = 0;
-// const ::autodoc::Options &
-// i_options ) = 0;
-
- // INQUIRY
- virtual const String &
- RepositoryTitle() const = 0;
- virtual const CodeEntity *
- Search_RelatedCe(
- Type_id i_type ) const = 0;
- virtual const ::ary::cpp::CppEntity *
- Search_Entity(
- GlobalId i_id ) const = 0;
- virtual uintt Get_AlphabeticalList(
- List_GlobalIds & o_result,
- const char * i_begin,
- const char * i_end ) const = 0;
- virtual const CePilot &
- Ces() const = 0;
- virtual const DefPilot &
- Defs() const = 0;
- virtual const TypePilot &
- Types() const = 0;
- virtual const loc::LocationPilot &
- Locations() const = 0;
-
- // ACCESS
- virtual CePilot & Ces() = 0;
- virtual DefPilot & Defs() = 0;
- virtual TypePilot & Types() = 0;
- virtual loc::LocationPilot &
- Locations() = 0;
-};
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_macro.hxx b/autodoc/inc/ary/cpp/c_macro.hxx
deleted file mode 100644
index 8740c2e..0000000
--- a/autodoc/inc/ary/cpp/c_macro.hxx
+++ /dev/null
@@ -1,87 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_MACRO_HXX
-#define ARY_CPP_C_MACRO_HXX
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_de.hxx>
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** A C/C++ macro ("#define ABC(a,b)") statement, but no simple define.
-
- @see Define
-*/
-class Macro : public DefineEntity
-{
- public:
- enum E_ClassId { class_id = 1602 };
-
- Macro();
- Macro( /// Used for: #define DEFINE xyz
- const String & i_name,
- const StringVector &
- i_params,
- const StringVector &
- i_definition,
- loc::Le_id i_declaringFile );
- ~Macro();
- const StringVector & Params() const { return aParams; }
-
- private:
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
- // Interface ary::Object
- virtual ClassId get_AryClass() const;
-
- // Interface DefineEntity:
- virtual const StringVector &
- inq_DefinitionText() const;
- // DATA
- StringVector aParams;
- StringVector aDefinition;
-};
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_namesp.hxx b/autodoc/inc/ary/cpp/c_namesp.hxx
deleted file mode 100644
index d15c526..0000000
--- a/autodoc/inc/ary/cpp/c_namesp.hxx
+++ /dev/null
@@ -1,197 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_NAMESP_HXX
-#define ARY_CPP_C_NAMESP_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_ce.hxx>
-#include <ary/arygroup.hxx>
- // OTHER
-#include <ary/symtreenode.hxx>
-#include <ary/cessentl.hxx>
-#include <ary/cpp/c_types4cpp.hxx>
-#include <ary/cpp/c_slntry.hxx>
-
-namespace ary
-{
-namespace cpp
-{
- class Gate;
- class OperationSignature;
-}
-}
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-
-/** A C++ namespace.
-*/
-class Namespace : public CodeEntity,
- public AryGroup
-{
- public:
- enum E_ClassId { class_id = 1000 };
-
- enum E_Slots
- {
- SLOT_SubNamespaces = 1,
- SLOT_Classes,
- SLOT_Enums,
- SLOT_Typedefs,
- SLOT_Operations,
- SLOT_Variables,
- SLOT_Constants
- };
-
- typedef ::ary::symtree::Node<CeNode_Traits> node_t;
-
- Namespace();
- Namespace(
- const String & i_sName,
- Namespace & i_rParent );
- ~Namespace();
- // OPERATIONS
- void Add_LocalNamespace(
- Namespace & io_rLocalNamespace );
- void Add_LocalClass(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalEnum(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalTypedef(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalOperation(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalVariable(
- const String & i_sLocalName,
- Cid i_nId );
- void Add_LocalConstant(
- const String & i_sLocalName,
- Cid i_nId );
-
- // INQUIRY
- virtual uintt Depth() const;
- Namespace * Parent() const;
-
- Ce_id Search_Child(
- const String & i_key ) const;
- Namespace * Search_LocalNamespace(
- const String & i_sLocalName ) const;
- uintt Get_SubNamespaces(
- std::vector< const Namespace* > &
- o_rResultList ) const;
- Ce_id Search_LocalClass(
- const String & i_sName ) const;
- void Search_LocalOperations(
- std::vector<Ce_id> &
- o_result,
- const String & i_sName ) const;
- const node_t & AsNode() const;
-
- // ACCESS
- node_t & AsNode();
-
- private:
- NON_COPYABLE(Namespace);
-
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
-
- // Interface CodeEntity
- virtual const String &
- inq_LocalName() const;
- virtual Cid inq_Owner() const;
- virtual Lid inq_Location() const;
-
- // Interface ary::cpp::CppEntity
- virtual ClassId get_AryClass() const;
-
- // Interface AryGroup
- virtual Gid inq_Id_Group() const;
- virtual const cpp::CppEntity &
- inq_RE_Group() const;
- virtual const ary::group::SlotList &
- inq_Slots() const;
- virtual DYN Slot * inq_Create_Slot(
- SlotAccessId i_nSlot ) const;
- // Local
- typedef std::multimap<String, Ce_id> Map_Operations;
-
- // DATA
- CeEssentials aEssentials;
- node_t aAssignedNode;
-
- Map_NamespacePtr aLocalNamespaces;
- Map_LocalCe aLocalClasses;
- Map_LocalCe aLocalEnums;
- Map_LocalCe aLocalTypedefs;
- Map_Operations aLocalOperations;
- Map_LocalCe aLocalVariables;
- Map_LocalCe aLocalConstants;
-
- Namespace * pParent;
- uintt nDepth;
-};
-
-
-
-// IMPLEMENTATION
-inline const Namespace::node_t &
-Namespace::AsNode() const
-{
- return aAssignedNode;
-}
-
-inline Namespace::node_t &
-Namespace::AsNode()
-{
- return aAssignedNode;
-}
-
-
-
-
-} // namespace cpp
-} // ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_osigna.hxx b/autodoc/inc/ary/cpp/c_osigna.hxx
deleted file mode 100644
index 4434f65..0000000
--- a/autodoc/inc/ary/cpp/c_osigna.hxx
+++ /dev/null
@@ -1,125 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_OSIGNA_HXX
-#define ARY_CPP_C_OSIGNA_HXX
-
-// USED SERVICES
- // BASE CLASSES
- // OTHER
-#include <ary/cpp/c_types4cpp.hxx>
-
-namespace ary
-{
-namespace cpp
-{
- class Gate;
-}
-}
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** The signature of a C++ function. That is: parameter types and
- const/volatile modifiers.
-*/
-class OperationSignature
-{
- public:
- typedef std::vector<Type_id> ParameterTypeList;
-
- OperationSignature(
- ParameterTypeList i_parameterTypes, // Non const, because it will be swapped with aParameterTypes.
- E_ConVol i_conVol );
-
- bool operator==(
- const OperationSignature &
- i_rSig ) const;
- bool operator<(
- const OperationSignature &
- i_rSig ) const;
-
- // INQUIRY
- const ParameterTypeList &
- Parameters() const;
- E_ConVol ConVol() const;
-
- /** Compares the signatures by length an then by ids of
- parameter types. So the result is not always human
- reconstructable.
- @return like in strcmp().
- */
- int Compare(
- const OperationSignature &
- i_rSig ) const;
- private:
- // DATA
- ParameterTypeList aParameterTypes;
- E_ConVol eConVol;
-};
-
-
-
-
-// IMPLEMENTATION
-inline bool
-OperationSignature::operator==( const OperationSignature & i_rSign ) const
-{
- return Compare(i_rSign) == 0;
-}
-
-inline bool
-OperationSignature::operator<( const OperationSignature & i_rSign ) const
-{
- return Compare(i_rSign) < 0;
-}
-
-inline const OperationSignature::ParameterTypeList &
-OperationSignature::Parameters() const
-{
- return aParameterTypes;
-}
-
-inline E_ConVol
-OperationSignature::ConVol() const
-{
- return eConVol;
-}
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_slntry.hxx b/autodoc/inc/ary/cpp/c_slntry.hxx
deleted file mode 100644
index 3ce8424..0000000
--- a/autodoc/inc/ary/cpp/c_slntry.hxx
+++ /dev/null
@@ -1,113 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_SLNTRY_HXX
-#define ARY_CPP_C_SLNTRY_HXX
-// KORR_DEPRECATED_3.0
-
-// USED SERVICES
-#include <ary/cpp/c_types4cpp.hxx>
-#include <ary/namesort.hxx>
-
-
-namespace ary
-{
-namespace cpp
-{
- class Namespace;
-
-
-
-typedef Namespace * NamespacePtr;
-struct Less_NamespacePtr
-{
- bool operator()( /// @return true if (i_p1->Name() < i_p2->Name()) .
- const NamespacePtr& i_p1,
- const NamespacePtr& i_p2 );
-};
-
-
-
-
-struct S_Classes_Base
-{
- Type_id nId;
- E_Protection eProtection;
- E_Virtuality eVirtuality;
- String sComment;
-
- S_Classes_Base()
- : nId(0),
- eProtection(PROTECT_global),
- eVirtuality(VIRTUAL_none)
- // sComment
- { }
-};
-
-struct S_TplParam
-{
- String sName;
- Type_id nId;
-
- S_TplParam(
- String i_sName,
- Type_id i_nId )
- : sName(i_sName), nId(i_nId) {}
- const String & Name() const { return sName; }
-};
-
-
-struct S_LocalCe
-{
- String sLocalName;
- Ce_id nId;
-
- S_LocalCe() : nId(0) {}
- S_LocalCe(
- const String & i_sLocalName,
- Cid i_nId )
- : sLocalName(i_sLocalName), nId(i_nId) {}
- bool operator<(
- const S_LocalCe & i_rCe ) const
- { return LesserName()(sLocalName,i_rCe.sLocalName); }
-};
-
-typedef std::vector< S_LocalCe > List_LocalCe;
-
-
-typedef std::map<String, NamespacePtr> Map_NamespacePtr;
-typedef std::vector< S_Classes_Base > List_Bases;
-typedef std::vector< S_TplParam > List_TplParam;
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_traits.hxx b/autodoc/inc/ary/cpp/c_traits.hxx
deleted file mode 100644
index 060b0d2..0000000
--- a/autodoc/inc/ary/cpp/c_traits.hxx
+++ /dev/null
@@ -1,219 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_TRAITS_HXX
-#define ARY_CPP_C_TRAITS_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
- // OTHER
-#include <ary/cpp/c_types4cpp.hxx>
-
-
-
-namespace ary
-{
-namespace symtree
-{
- template <class X> class Node;
-}
-}
-
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** Basic traits for derived ones of ->CodeEntity.
-*/
-struct Ce_Traits
-{
- typedef CodeEntity entity_base_type;
- typedef Ce_id id_type;
-
- static entity_base_type &
- EntityOf_(
- id_type i_id );
-};
-
-
-/** An instance of SYMBOL_TRAITS for ->::ary::SortedIds<>.
-
- @see ::ary::SortedIds<>
-*/
-struct CeNode_Traits : public Ce_Traits
-{
- static const symtree::Node<CeNode_Traits> *
- NodeOf_(
- const entity_base_type &
- i_entity );
- static symtree::Node<CeNode_Traits> *
- NodeOf_(
- entity_base_type & i_entity );
- static entity_base_type *
- ParentOf_(
- const entity_base_type &
- i_entity );
- template <class KEY>
- static id_type Search_(
- const entity_base_type &
- i_entity,
- const KEY & i_localKey );
-};
-
-
-/** An instance of COMPARE for ->::ary::SortedIds<>.
-
- @see ::ary::SortedIds<>
-*/
-struct Ce_Compare : public Ce_Traits
-{
- typedef String key_type;
-
- static const key_type &
- KeyOf_(
- const entity_base_type &
- i_entity );
- static bool Lesser_(
- const key_type & i_1,
- const key_type & i_2 );
-};
-
-/** An instance of COMPARE for ->::ary::SortedIds<>.
-
- @see ::ary::SortedIds<>
-*/
-struct Ce_GlobalCompare : public Ce_Traits
-{
- typedef entity_base_type key_type;
-
- static const key_type &
- KeyOf_(
- const entity_base_type &
- i_entity )
- { return i_entity; }
- static bool Lesser_(
- const key_type & i_1,
- const key_type & i_2 );
-};
-
-
-/** Basic traits for derivd ones of ->DefineEntity.
-*/
-struct Def_Traits
-{
- typedef DefineEntity entity_base_type;
- typedef De_id id_type;
-
- static entity_base_type &
- EntityOf_(
- id_type i_id );
-};
-
-
-/** An instance of COMPARE for ->::ary::SortedIds<>.
-
- @see ::ary::SortedIds<>
-*/
-struct Def_Compare : public Def_Traits
-{
- typedef String key_type;
-
- static const key_type &
- KeyOf_(
- const entity_base_type &
- i_entity );
- static bool Lesser_(
- const key_type & i_1,
- const key_type & i_2 );
-};
-
-/** Basic traits for derivd ones of ->Type.
-*/
-struct Type_Traits
-{
- typedef Type entity_base_type;
- typedef Type_id id_type;
-
- static entity_base_type &
- EntityOf_(
- id_type i_id );
-};
-
-/** An instance of COMPARE for ->::ary::SortedIds<>.
-
- @see ::ary::SortedIds<>
-*/
-struct UsedType_Compare : public Type_Traits
-{
- typedef UsedType key_type;
-
- static const key_type &
- KeyOf_(
- const entity_base_type &
- i_entity );
- static bool Lesser_(
- const key_type & i_1,
- const key_type & i_2 );
-};
-
-
-
-
-
-
-// IMPLEMENTATION
-
-/// Implementation helper for ->CeNode_Traits::Search_ .
-Ce_id CeNode_Search(
- const CodeEntity & i_entity,
- const String & i_localKey );
-
-
-template <class KEY>
-Ce_Traits::id_type
-CeNode_Traits::Search_( const entity_base_type & i_entity,
- const KEY & i_localKey )
-{
- return CeNode_Search(i_entity, i_localKey);
-}
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_tydef.hxx b/autodoc/inc/ary/cpp/c_tydef.hxx
deleted file mode 100644
index eefbda5..0000000
--- a/autodoc/inc/ary/cpp/c_tydef.hxx
+++ /dev/null
@@ -1,103 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_TYDEF_HXX
-#define ARY_CPP_C_TYDEF_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_ce.hxx>
- // OTHER
-#include <ary/cessentl.hxx>
-#include <ary/cpp/c_types4cpp.hxx>
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** A C++ typedef declaration.
-*/
-class Typedef : public CodeEntity
-{
- public:
- // LIFECYCLE
- enum E_ClassId { class_id = 1003 };
-
- Typedef(
- const String & i_sLocalName,
- Ce_id i_nOwner,
- E_Protection i_eProtection,
- Lid i_nFile,
- Type_id i_nDescribingType );
- ~Typedef();
- // INQUIRY
- Type_id DescribingType() const;
- E_Protection Protection() const { return eProtection; }
-
- private:
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
-
- // Interface ary::cpp::CodeEntity
- virtual const String &
- inq_LocalName() const;
- virtual Cid inq_Owner() const;
- virtual Lid inq_Location() const;
-
- // Interface ary::cpp::CppEntity
- virtual ClassId get_AryClass() const;
-
- // DATA
- CeEssentials aEssentials;
- Type_id nDescribingType;
- E_Protection eProtection;
-};
-
-
-
-// IMPLEMENTATION
-inline Type_id
-Typedef::DescribingType() const
-{
- return nDescribingType;
-}
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_type.hxx b/autodoc/inc/ary/cpp/c_type.hxx
deleted file mode 100644
index 513ec0c..0000000
--- a/autodoc/inc/ary/cpp/c_type.hxx
+++ /dev/null
@@ -1,136 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_TYPE_HXX
-#define ARY_CPP_C_TYPE_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/entity.hxx>
- // OTHER
-#include <ary/cpp/c_types4cpp.hxx>
-#include <ary/cpp/c_traits.hxx>
-
-
-namespace ary
-{
-namespace cpp
-{
- class Gate;
-}
-}
-
-
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-
-/** Base of all C++ types
-*/
-class Type : public ::ary::Entity
-{
- public:
- typedef Type_Traits traits_t;
-
- virtual ~Type() {}
-
- Type_id TypeId() const { return Type_id(Id()); }
- Ce_id RelatedCe() const;
- bool IsConst() const;
- void Get_Text(
- StreamStr & o_rOut,
- const Gate & i_rGate ) const;
-
- /** It is guaranteed, that the output is correct, also,
- if all three output-streams are the same instance.
- */
- void Get_Text(
- StreamStr & o_rPreName,
- StreamStr & o_rName,
- StreamStr & o_rPostName,
- const Gate & i_rGate ) const;
-
- private:
- virtual Rid inq_RelatedCe() const; // Defaulted to 0. Implemented in c_builtintype.cxx.
- virtual bool inq_IsConst() const = 0;
- virtual void inq_Get_Text(
- StreamStr & o_rPreName,
- StreamStr & o_rName,
- StreamStr & o_rPostName,
- const Gate & i_rGate ) const = 0;
-};
-
-
-
-
-// IMPLEMENTATION
-inline Ce_id
-Type::RelatedCe() const
-{
- return Ce_id(inq_RelatedCe());
-}
-
-inline bool
-Type::IsConst() const
-{
- return inq_IsConst();
-}
-
-inline void
-Type::Get_Text( StreamStr & o_rOut,
- const Gate & i_rGate ) const
-{
- inq_Get_Text( o_rOut, o_rOut, o_rOut, i_rGate );
-}
-
-inline void
-Type::Get_Text( StreamStr & o_rPreName,
- StreamStr & o_rName,
- StreamStr & o_rPostName,
- const Gate & i_rGate ) const
-{
- inq_Get_Text( o_rPreName,o_rName,o_rPostName, i_rGate );
-}
-
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_types4cpp.hxx b/autodoc/inc/ary/cpp/c_types4cpp.hxx
deleted file mode 100644
index 2d39819..0000000
--- a/autodoc/inc/ary/cpp/c_types4cpp.hxx
+++ /dev/null
@@ -1,137 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_TYPES4CPP_HXX
-#define ARY_CPP_C_TYPES4CPP_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
- // OTHER
-#include <cosv/tpl/range.hxx>
-#include <ary/types.hxx>
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-class Namespace;
-class CodeEntity;
-class Type;
-class DefineEntity;
-class Gate;
-class CePilot;
-class TypePilot;
-class SecondariesPilot;
-class Ce_Storage;
-class Def_Storage;
-class Type_Storage;
-class UsedType;
-
-
-typedef TypedId< ::ary::cpp::CodeEntity > Ce_id;
-typedef TypedId< ::ary::cpp::Type > Type_id;
-typedef TypedId< ::ary::cpp::DefineEntity > De_id;
-
-
-typedef std::vector<Ce_id> CesList;
-typedef std::vector<De_id> DefsList;
-typedef std::vector<Type_id> TypesList;
-
-typedef std::vector<Ce_id>::const_iterator CesConstIterator;
-typedef std::vector<De_id>::const_iterator DefsConstIterator;
-typedef std::vector<Type_id>::const_iterator TypesConstIterator;
-
-typedef csv::range< CesConstIterator > CesResultList;
-typedef csv::range< DefsConstIterator > DefsResultList;
-typedef csv::range< TypesConstIterator > TypesResultList;
-
-
-typedef std::map<String, Ce_id> Map_LocalCe;
-
-
-
-enum E_Protection
-{
- PROTECT_global = 0,
- PROTECT_local, /// within Functions
- PROTECT_public,
- PROTECT_protected,
- PROTECT_private
-};
-
-/** The sequence of E_Virtuality's values must not be changed,
- because they are used in int-comparisons.
-*/
-enum E_Virtuality
-{
- VIRTUAL_none = 0,
- VIRTUAL_virtual,
- VIRTUAL_abstract
-};
-
-enum E_ClassKey
-{
- CK_class,
- CK_struct,
- CK_union
-};
-
-enum E_TypeSpecialisation
-{
- TYSP_none = 0,
- TYSP_unsigned,
- TYSP_signed
-};
-
-enum E_ConVol
-{
- CONVOL_none = 0,
- CONVOL_const = 0x0001,
- CONVOL_volatile = 0x0002,
- CONVOL_both = 0x0003
-};
-
-
-
-// Backwards compatibility:
-typedef Ce_id Cid;
-typedef Type_id Tid;
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_vari.hxx b/autodoc/inc/ary/cpp/c_vari.hxx
deleted file mode 100644
index e8b2e44..0000000
--- a/autodoc/inc/ary/cpp/c_vari.hxx
+++ /dev/null
@@ -1,117 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_VARI_HXX
-#define ARY_CPP_C_VARI_HXX
-
-
-// USED SERVICES
- // BASE CLASSES
-#include <ary/cpp/c_ce.hxx>
- // OTHER
-#include <ary/cessentl.hxx>
-#include <ary/cpp/c_types4cpp.hxx>
-#include <ary/cpp/c_vfflag.hxx>
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** A C++ variable or constant declaration.
-*/
-class Variable : public CodeEntity
-{
- public:
- // LIFECYCLE
- enum E_ClassId { class_id = 1005 };
-
- Variable(
- const String & i_sLocalName,
- Ce_id i_nOwner,
- E_Protection i_eProtection,
- loc::Le_id i_nFile,
- Type_id i_nType,
- VariableFlags i_aFlags,
- const String & i_sArraySize,
- const String & i_sInitValue );
- ~Variable();
-
-
- // INQUIRY
- Type_id Type() const;
- const String & ArraySize() const;
- const String & Initialisation() const;
- E_Protection Protection() const { return eProtection; }
-
- private:
- // Interface csv::ConstProcessorClient
- virtual void do_Accept(
- csv::ProcessorIfc & io_processor ) const;
-
- // Interface ary::cpp::CodeEntity
- virtual const String &
- inq_LocalName() const;
- virtual Cid inq_Owner() const;
- virtual Lid inq_Location() const;
-
- // Interface ary::cpp::CppEntity
- virtual ClassId get_AryClass() const;
-
- // DATA
- CeEssentials aEssentials;
- Type_id nType;
- E_Protection eProtection;
- VariableFlags aFlags;
- String sArraySize;
- String sInitialisation;
-};
-
-
-
-// IMPLEMENTATION
-inline Type_id
-Variable::Type() const
- { return nType; }
-inline const String &
-Variable::ArraySize() const
- { return sArraySize; }
-inline const String &
-Variable::Initialisation() const
- { return sInitialisation; }
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/c_vfflag.hxx b/autodoc/inc/ary/cpp/c_vfflag.hxx
deleted file mode 100644
index c198dac..0000000
--- a/autodoc/inc/ary/cpp/c_vfflag.hxx
+++ /dev/null
@@ -1,154 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_C_VFFLAG_HXX
-#define ARY_CPP_C_VFFLAG_HXX
-
-// USED SERVICES
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-/** Properties of C++ variables.
-*/
-struct VariableFlags
-{
- public:
- enum E_Flags
- {
- f_static_local = 0x0001,
- f_static_member = 0x0002,
- f_extern = 0x0004,
- f_mutable = 0x0008
- };
-
- VariableFlags(
- UINT16 i_nFlags = 0 )
- : nFlags(i_nFlags) {}
-
- void Reset() { nFlags = 0; }
-
- void SetStaticLocal() { nFlags |= f_static_local; }
- void SetStaticMember() { nFlags |= f_static_member; }
- void SetExtern() { nFlags |= f_extern; }
- void SetMutable() { nFlags |= f_mutable; }
-
- bool IsStaticLocal() const { return (nFlags & f_static_local) != 0; }
- bool IsStaticMember() const { return (nFlags & f_static_member) != 0; }
- bool IsExtern() const { return (nFlags & f_extern) != 0; }
- bool IsMutable() const { return (nFlags & f_mutable) != 0; }
-
- private:
- UINT16 nFlags;
-};
-
-
-/** Properties of C++ functions.
-*/
-struct FunctionFlags
-{
- public:
- enum E_Flags
- {
- f_static_local = 0x0001,
- f_static_member = 0x0002,
- f_extern = 0x0004,
- f_externC = 0x0008,
- f_mutable = 0x0010,
- f_inline = 0x0100,
- f_register = 0x0200,
- f_explicit = 0x0400
- };
-
- FunctionFlags(
- UINT16 i_nFlags = 0 )
- : nFlags(i_nFlags) {}
-
- bool operator==(
- const FunctionFlags &
- i_ff ) const
- { return nFlags == i_ff.nFlags; }
- bool operator!=(
- const FunctionFlags &
- i_ff ) const
- { return NOT operator==(i_ff); }
-
- void Reset() { nFlags = 0; }
-
- void SetStaticLocal() { nFlags |= f_static_local; }
- void SetStaticMember() { nFlags |= f_static_member; }
- void SetExtern() { nFlags |= f_extern; }
- void SetExternC() { nFlags |= f_externC; }
- void SetMutable() { nFlags |= f_mutable; }
- void SetInline() { nFlags |= f_inline; }
- void SetRegister() { nFlags |= f_register; }
- void SetExplicit() { nFlags |= f_explicit; }
-
- bool IsStaticLocal() const { return (nFlags & f_static_local) != 0; }
- bool IsStaticMember() const { return (nFlags & f_static_member) != 0; }
- bool IsExtern() const { return (nFlags & f_extern) != 0; }
- bool IsExternC() const { return (nFlags & f_externC) != 0; }
- bool IsMutable() const { return (nFlags & f_mutable) != 0; }
- bool IsInline() const { return (nFlags & f_inline) != 0; }
- bool IsRegister() const { return (nFlags & f_register) != 0; }
- bool IsExplicit() const { return (nFlags & f_explicit) != 0; }
-
- private:
- UINT16 nFlags;
-};
-
-
-/** A C++ function parameter.
-*/
-struct S_Parameter
-{
- String sName;
- String sSizeExpression;
- String sInitExpression;
- Type_id nType;
-
- S_Parameter() : nType(0) {}
- ~S_Parameter() {}
- void Empty() { nType = Type_id(0);
- sName.clear();
- sSizeExpression.clear();
- sInitExpression.clear(); }
-};
-
-
-
-
-} // namespace cpp
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/inc/ary/cpp/cp_ce.hxx b/autodoc/inc/ary/cpp/cp_ce.hxx
deleted file mode 100644
index cb86e44..0000000
--- a/autodoc/inc/ary/cpp/cp_ce.hxx
+++ /dev/null
@@ -1,176 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_CPP_CP_CE_HXX
-#define ARY_CPP_CP_CE_HXX
-
-
-// USED SERVICES
- // BASE CLASSES
- // OTHER
-#include <ary/cpp/c_types4cpp.hxx>
-
-namespace ary
-{
- class QualifiedName;
-
-namespace cpp
-{
- class Class;
- class CodeEntity;
- class Enum;
- class EnumValue;
- class Function;
- class InputContext;
- class Namespace;
- class OperationSignature;
- class Typedef;
- class Variable;
-
- struct FunctionFlags;
- struct S_Parameter;
- struct VariableFlags;
-}
-}
-
-
-
-
-
-namespace ary
-{
-namespace cpp
-{
-
-
-
-/** Acess to all declared C++ code entites (types, variables, operations)
- in the repository.
-*/
-class CePilot
-{
- public:
- // LIFECYCLE
- virtual ~CePilot() {}
-
- // OPERATIONS
- virtual Namespace &
- CheckIn_Namespace(
- const InputContext &
- i_context,
- const String & i_localName ) = 0;
- virtual Class & Store_Class(
- const InputContext &
- i_context,
- const String & i_localName,
- E_ClassKey i_classKey ) = 0;
- virtual Enum & Store_Enum(
- const InputContext &
- i_context,
- const String & i_localName ) = 0;
- virtual Typedef & Store_Typedef(
- const InputContext &
- i_context,
- const String & i_localName,
- Type_id i_referredType ) = 0;
-
- /// @return 0, if the function is duplicate.
- virtual Function * Store_Operation(
- const InputContext &
- i_context,
- const String & i_localName,
- Type_id i_returnType,
- const std::vector<S_Parameter> &
- i_parameters,
- E_Virtuality i_virtuality,
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list