diff options
Diffstat (limited to 'autodoc/source/ary/cpp/ca_type.hxx')
-rw-r--r-- | autodoc/source/ary/cpp/ca_type.hxx | 130 |
1 files changed, 0 insertions, 130 deletions
diff --git a/autodoc/source/ary/cpp/ca_type.hxx b/autodoc/source/ary/cpp/ca_type.hxx deleted file mode 100644 index 123912d7c389..000000000000 --- a/autodoc/source/ary/cpp/ca_type.hxx +++ /dev/null @@ -1,130 +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_CA_TYPE_HXX -#define ARY_CPP_CA_TYPE_HXX - -// USED SERVICES - // BASE CLASSES -#include <ary/cpp/cp_type.hxx> - // OTHER -#include "cs_type.hxx" - - - -namespace ary -{ -namespace cpp -{ - class RepositoryPartition; -} -} - - - - - -namespace ary -{ -namespace cpp -{ - - - -/** Administrates all C++ types as uses in user declarations - as return-, parameter- or variable-types. -*/ -class TypeAdmin : public TypePilot -{ - public: - // LIFECYCLE - TypeAdmin( - RepositoryPartition & - io_myReposyPartition ); - virtual ~TypeAdmin(); - - // INQUIRY - /// @return A list of all stored types that are not C++ or STL builtin types. - const Type_Storage & - Storage() const; - - // ACCESS - Type_Storage & Storage(); - - // INHERITED - // Interface TypePilot: - virtual const Type & - CheckIn_UsedType( - const InputContext & - i_context, - DYN UsedType & pass_type ); - virtual const Type & - Find_Type( - Type_id i_type ) const; - virtual bool Get_TypeText( - StreamStr & o_result, - Type_id i_type ) const; - virtual bool Get_TypeText( - StreamStr & o_preName, /// ::ary::cpp:: - StreamStr & o_name, /// MyClass - StreamStr & o_postName, /// <TplArgument> * const & - Type_id i_type ) const; - virtual Type_id Tid_Ellipse() const; - - private: - // DATA - Type_Storage aStorage; - RepositoryPartition * - pCppRepositoryPartition; -}; - - - - -// IMPLEMENTATION -inline const Type_Storage & -TypeAdmin::Storage() const -{ - return aStorage; -} - -inline Type_Storage & -TypeAdmin::Storage() -{ - return aStorage; -} - - - - - -} // namespace cpp -} // namespace ary -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |