Bump for 3.6-28
[LibreOffice.git] / autodoc / source / ary / idl / it_tplparam.cxx
blobf8a3097e44a0dff59a32c42c74ef4450532b20f7
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #include <precomp.h>
30 #include "it_tplparam.hxx"
33 // NOT FULLY DEFINED SERVICES
34 #include <cosv/tpl/processor.hxx>
38 namespace ary
40 namespace idl
45 TemplateParamType::TemplateParamType( const char * i_sName )
46 : Named_Type(i_sName)
50 TemplateParamType::~TemplateParamType()
54 ClassId
55 TemplateParamType::get_AryClass() const
57 return class_id;
60 void
61 TemplateParamType::do_Accept( csv::ProcessorIfc & io_processor ) const
63 csv::CheckedCall(io_processor, *this);
66 void
67 TemplateParamType::inq_Get_Text( StringVector & , // o_module
68 String & o_name,
69 Ce_id & , // o_nRelatedCe
70 int & , // o_nSequenceCount
71 const Gate & ) const // i_rGate
73 o_name = Name();
77 //************* Implemented default function for idl::Type ********//
79 const std::vector<Type_id> *
80 Type::inq_TemplateParameters() const
82 return 0;
85 const Type &
86 Type::inq_FirstEnclosedNonSequenceType(const Gate & ) const
88 return *this;
92 } // namespace idl
93 } // namespace ary
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */