summaryrefslogtreecommitdiff
path: root/autodoc/source/ary
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-10-31 21:29:39 -0700
committerJoseph Powers <jpowers27@cox.net>2011-10-31 21:30:30 -0700
commit0ba264cc9f8ab33c7081223a3612cfe6604b150f (patch)
tree460cf0e88de102e18c2d083a04b4e5e95933f78d /autodoc/source/ary
parent125aa32e71eb9a8de6214a7f7bc3e3be13b14a7a (diff)
Delete some unused .hxx files from autodoc
Diffstat (limited to 'autodoc/source/ary')
-rw-r--r--autodoc/source/ary/inc/cross_refs.hxx101
-rw-r--r--autodoc/source/ary/inc/sorted_idset.hxx99
-rw-r--r--autodoc/source/ary/inc/traits_impl.hxx122
3 files changed, 0 insertions, 322 deletions
diff --git a/autodoc/source/ary/inc/cross_refs.hxx b/autodoc/source/ary/inc/cross_refs.hxx
deleted file mode 100644
index d07a629a4797..000000000000
--- a/autodoc/source/ary/inc/cross_refs.hxx
+++ /dev/null
@@ -1,101 +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_CROSS_REFS_HXX
-#define ARY_CROSS_REFS_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
- // COMPONENTS
- // PARAMETERS
-#include "sorted_idset.hxx"
-
-
-template <class VALUE_LIST, class TYPES>
-class CrossReferences
-{
- public:
- typedef TYPES::element_type element;
-
- /// Checks for double occurrences
- void Add(
- VALUE_LIST::index_type
- i_nPosition
- const element & i_rElem );
- void Get_List(
- Dyn_StdConstIterator<element> &
- o_rResult ) const;
- private:
- SortedIdSet<TYPES> aData[VALUE_LIST::max];
-};
-
-
-
-namespace ary
-{
-
-template <class TYPES>
-class SortedIdSet
-{
- public:
- typedef typename TYPES::element_type element;
- typedef typename TYPES::sort_type sorter;
- typedef typename TYPES::find_type finder;
-
- SortedIdSet(
- const finder & i_rFinder )
- : aSorter(i_rFinder),
- aData(aSorter) {}
- ~SortedIdSet() {}
-
- void Get_Begin(
- Dyn_StdConstIterator<element> &
- o_rResult )
- { o_rResult = new SCI_Set<FINDER>(aData); }
- void Add(
- const element & i_rElement )
- { aData.insert(i_rElement); }
-
- private:
- typedef std::set<element, sorter> Set;
-
- // DATA
- sorter aSorter;
- Set aData;
-};
-
-
-} // namespace ary
-
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/source/ary/inc/sorted_idset.hxx b/autodoc/source/ary/inc/sorted_idset.hxx
deleted file mode 100644
index 4113bfb3f47d..000000000000
--- a/autodoc/source/ary/inc/sorted_idset.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_SORTED_IDSET_HXX
-#define ARY_SORTED_IDSET_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
- // COMPONENTS
-#include <set>
- // PARAMETERS
-#include "csi_impl.hxx"
-
-
-template <class XY> class SortedIdSet;
-
-class Interface_2s
-{
- public:
- /// Checks for double occurrences
- void Add_ExportingService(
- Ce_id i_nId );
- void Get_ExportingServices(
- Dyn_StdConstIterator<Ce_id> &
- o_rResult ) const;
- private:
- Dyn<SortedIdSet> pExportingServices;
-};
-
-
-
-namespace ary
-{
-
-template <class TYPES>
-class SortedIdSet
-{
- public:
- typedef typename TYPES::element_type element;
- typedef typename TYPES::sort_type sorter;
- typedef typename TYPES::find_type finder;
-
- SortedIdSet(
- const finder & i_rFinder )
- : aSorter(i_rFinder),
- aData(aSorter) {}
- ~SortedIdSet() {}
-
- void Get_Begin(
- Dyn_StdConstIterator<element> &
- o_rResult )
- { o_rResult = new SCI_Set<FINDER>(aData); }
- void Add(
- const element & i_rElement )
- { aData.insert(i_rElement); }
-
- private:
- typedef std::set<element, sorter> Set;
-
- // DATA
- sorter aSorter;
- Set aData;
-};
-
-
-} // namespace ary
-
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/source/ary/inc/traits_impl.hxx b/autodoc/source/ary/inc/traits_impl.hxx
deleted file mode 100644
index b7ac789e486b..000000000000
--- a/autodoc/source/ary/inc/traits_impl.hxx
+++ /dev/null
@@ -1,122 +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_TRAITS_IMPL_HXX
-#define ARY_TRAITS_IMPL_HXX
-
-
-// USED SERVICES
-#include <ary/getncast.hxx>
-
-
-namespace ary
-{
-namespace traits
-{
-
-
-/** Finds the node assigned to an entity, if that entity has a specific
- actual type.
-
- @tpl NODE
- The assumed actual type of io_node.
-*/
-template<class NODE>
-const typename NODE::node_t *
- NodeOf(
- const typename NODE::traits_t::entity_base_type &
- io_node );
-
-/** Finds the node assigned to an entity, if that entity has a specific
- actual type.
-
- @tpl NODE
- The assumed actual type of io_node.
-*/
-template<class NODE>
-typename NODE::node_t *
- NodeOf(
- typename NODE::traits_t::entity_base_type &
- io_node );
-
-/** Finds a child to a node.
-*/
-template<class NODE, class KEY>
-typename NODE::traits_t::id_type
- Search_Child(
- const typename NODE::traits_t::entity_base_type &
- i_node,
- const KEY & i_localKey );
-
-
-
-
-// IMPLEMENTATION
-
-template<class NODE>
-const typename NODE::node_t *
-NodeOf(const typename NODE::traits_t::entity_base_type & io_node)
-{
- const NODE *
- pn = ary_cast<NODE>(&io_node);
- if (pn != 0)
- return & pn->AsNode();
- return 0;
-}
-
-template<class NODE>
-typename NODE::node_t *
-NodeOf(typename NODE::traits_t::entity_base_type & io_node)
-{
- NODE *
- pn = ary_cast<NODE>(&io_node);
- if (pn != 0)
- return & pn->AsNode();
- return 0;
-}
-
-template<class NODE, class KEY>
-typename NODE::traits_t::id_type
-Search_Child( const typename NODE::traits_t::entity_base_type & i_node,
- const KEY & i_localKey )
-{
- const NODE *
- pn = ary_cast<NODE>(&i_node);
- if (pn != 0)
- return pn->Search_Child(i_localKey);
- return typename NODE::traits_t::id_type(0);
-}
-
-
-
-
-} // namespace traits
-} // namespace ary
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */