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 : #ifndef ARY_IDL_IT_CE_HXX
21 : #define ARY_IDL_IT_CE_HXX
22 :
23 : // BASE CLASSES
24 : #include <ary/idl/i_type.hxx>
25 :
26 :
27 :
28 :
29 : namespace ary
30 : {
31 : namespace idl
32 : {
33 :
34 :
35 : /** A named ->Type related to its corresponding
36 : ->CodeEntity.
37 : */
38 : class Ce_Type : public Type
39 : {
40 : public:
41 : enum E_ClassId { class_id = 2201 };
42 :
43 : // LIFECYCLE
44 : Ce_Type(
45 : Ce_id i_relatedCe,
46 : const std::vector<Type_id> *
47 : i_templateParameters );
48 : virtual ~Ce_Type();
49 :
50 : // INQUIRY
51 34585 : Ce_id RelatedCe() const { return nRelatedCe; }
52 :
53 : private:
54 : // Interface csv::ConstProcessorClient:
55 : virtual void do_Accept(
56 : csv::ProcessorIfc & io_processor ) const;
57 : // Interface Object:
58 : virtual ClassId get_AryClass() const;
59 :
60 : // Interface Type:
61 : virtual void inq_Get_Text(
62 : StringVector & o_module,
63 : String & o_name,
64 : Ce_id & o_nRelatedCe,
65 : int & o_nSequemceCount,
66 : const Gate & i_rGate ) const;
67 : virtual const std::vector<Type_id> *
68 : inq_TemplateParameters() const;
69 : // DATA
70 : Ce_id nRelatedCe;
71 : Dyn< std::vector<Type_id> >
72 : pTemplateParameters;
73 : };
74 :
75 :
76 :
77 :
78 : } // namespace idl
79 : } // namespace ary
80 : #endif
81 :
82 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|