2 //=============================================================================
6 * Extension of class AST_Array that provides additional means for C++
9 * @author Copyright 1994-1995 by Sun Microsystems
10 * @author Inc. and Aniruddha Gokhale
12 //=============================================================================
18 #include "ast_array.h"
24 class be_array
: public virtual AST_Array
,
25 public virtual be_type
28 be_array (UTL_ScopedName
*n
,
36 /// Generate dimensions. If slice == 1, generate dimensions for the slice
38 int gen_dimensions (TAO_OutStream
*os
,
39 unsigned short slice
= 0);
41 /// Overridden from class be_type.
42 virtual void gen_ostream_operator (TAO_OutStream
*os
,
44 virtual void gen_member_ostream_operator (TAO_OutStream
*os
,
45 const char *instance_name
,
50 virtual int accept (be_visitor
*visitor
);
53 virtual void destroy (void);
57 DEF_NARROW_FROM_DECL (be_array
);
60 /// Create a name for us.
61 virtual int create_name (void);
63 virtual void compute_tc_name (void);