~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/TAO_IDL/ast/ast_concrete_type.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// ast_concrete_type.cpp,v 1.10 2003/06/17 15:09:22 parsons Exp
2
 
 
3
 
/*
4
 
 
5
 
COPYRIGHT
6
 
 
7
 
Copyright 1992, 1993, 1994 Sun Microsystems, Inc.  Printed in the United
8
 
States of America.  All Rights Reserved.
9
 
 
10
 
This product is protected by copyright and distributed under the following
11
 
license restricting its use.
12
 
 
13
 
The Interface Definition Language Compiler Front End (CFE) is made
14
 
available for your use provided that you include this license and copyright
15
 
notice on all media and documentation and the software program in which
16
 
this product is incorporated in whole or part. You may copy and extend
17
 
functionality (but may not remove functionality) of the Interface
18
 
Definition Language CFE without charge, but you are not authorized to
19
 
license or distribute it to anyone else except as part of a product or
20
 
program developed by you or with the express written consent of Sun
21
 
Microsystems, Inc. ("Sun").
22
 
 
23
 
The names of Sun Microsystems, Inc. and any of its subsidiaries or
24
 
affiliates may not be used in advertising or publicity pertaining to
25
 
distribution of Interface Definition Language CFE as permitted herein.
26
 
 
27
 
This license is effective until terminated by Sun for failure to comply
28
 
with this license.  Upon termination, you shall destroy or return all code
29
 
and documentation for the Interface Definition Language CFE.
30
 
 
31
 
INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF
32
 
ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS
33
 
FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF
34
 
DEALING, USAGE OR TRADE PRACTICE.
35
 
 
36
 
INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT
37
 
ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES
38
 
TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT.
39
 
 
40
 
SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH
41
 
RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY
42
 
INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF.
43
 
 
44
 
IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR
45
 
ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL
46
 
DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
47
 
 
48
 
Use, duplication, or disclosure by the government is subject to
49
 
restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in
50
 
Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR
51
 
52.227-19.
52
 
 
53
 
Sun, Sun Microsystems and the Sun logo are trademarks or registered
54
 
trademarks of Sun Microsystems, Inc.
55
 
 
56
 
SunSoft, Inc.
57
 
2550 Garcia Avenue
58
 
Mountain View, California  94043
59
 
 
60
 
NOTE:
61
 
 
62
 
SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are
63
 
trademarks or registered trademarks of Sun Microsystems, Inc.
64
 
 
65
 
*/
66
 
 
67
 
// AST_ConcreteType nodes denote all non-interface types of IDL.
68
 
// They are AST_Type nodes.
69
 
 
70
 
#include "ast_concrete_type.h"
71
 
 
72
 
ACE_RCSID (ast, 
73
 
           ast_concrete_type, 
74
 
           "ast_concrete_type.cpp,v 1.10 2003/06/17 15:09:22 parsons Exp")
75
 
 
76
 
// Constructor(s) and destructor.
77
 
AST_ConcreteType::AST_ConcreteType (void)
78
 
  : COMMON_Base (),
79
 
    AST_Decl (),
80
 
    AST_Type ()
81
 
{
82
 
}
83
 
 
84
 
AST_ConcreteType::AST_ConcreteType (AST_Decl::NodeType nt,
85
 
                                    UTL_ScopedName *n)
86
 
  : COMMON_Base (),
87
 
    AST_Decl (nt,
88
 
              n),
89
 
    AST_Type (nt,
90
 
              n)
91
 
{
92
 
}
93
 
 
94
 
AST_ConcreteType::~AST_ConcreteType (void)
95
 
{
96
 
}
97
 
 
98
 
// Narrowing methods.
99
 
IMPL_NARROW_METHODS1(AST_ConcreteType, AST_Type)
100
 
IMPL_NARROW_FROM_DECL(AST_ConcreteType)