Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 : #include <precomp.h>
21 : #include "it_tplparam.hxx"
22 :
23 :
24 : // NOT FULLY DEFINED SERVICES
25 : #include <cosv/tpl/processor.hxx>
26 :
27 :
28 :
29 : namespace ary
30 : {
31 : namespace idl
32 : {
33 :
34 :
35 :
36 3 : TemplateParamType::TemplateParamType( const char * i_sName )
37 3 : : Named_Type(i_sName)
38 : {
39 3 : }
40 :
41 0 : TemplateParamType::~TemplateParamType()
42 : {
43 0 : }
44 :
45 : ClassId
46 15 : TemplateParamType::get_AryClass() const
47 : {
48 15 : return class_id;
49 : }
50 :
51 : void
52 0 : TemplateParamType::do_Accept( csv::ProcessorIfc & io_processor ) const
53 : {
54 0 : csv::CheckedCall(io_processor, *this);
55 0 : }
56 :
57 : void
58 3 : TemplateParamType::inq_Get_Text( StringVector & , // o_module
59 : String & o_name,
60 : Ce_id & , // o_nRelatedCe
61 : int & , // o_nSequenceCount
62 : const Gate & ) const // i_rGate
63 : {
64 3 : o_name = Name();
65 3 : }
66 :
67 :
68 : //************* Implemented default function for idl::Type ********//
69 :
70 : const std::vector<Type_id> *
71 3 : Type::inq_TemplateParameters() const
72 : {
73 3 : return 0;
74 : }
75 :
76 : const Type &
77 15937 : Type::inq_FirstEnclosedNonSequenceType(const Gate & ) const
78 : {
79 15937 : return *this;
80 : }
81 :
82 :
83 : } // namespace idl
84 3 : } // namespace ary
85 :
86 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|