2 //=============================================================================
6 * Extension of class AST_Field that provides additional means for C++
9 * @author Copyright 1994-1995 by Sun Microsystems
10 * @author Inc. and Aniruddha Gokhale
12 //=============================================================================
18 #include "ast_field.h"
23 class be_field
: public virtual AST_Field
,
24 public virtual be_decl
27 be_field (AST_Type
*ft
,
29 Visibility vis
= vis_NA
);
31 // Non-virtual override of frontend method.
32 be_type
*field_type (void) const;
34 // Generate debugging ostream operator for members.
35 void gen_member_ostream_operator (TAO_OutStream
*os
,
36 const char *instance_name
,
38 bool accessor
= false);
40 // Accessors for the member.
41 bool port_name_prefixed (void) const;
42 void port_name_prefixed (bool val
);
45 virtual int accept (be_visitor
*visitor
);
48 virtual void destroy (void);
52 DEF_NARROW_FROM_DECL (be_field
);
55 // If the name of a provides or uses node has already been
56 // prefixed with the (mirror)port name(s), we don't want
57 // to prefix it again.
58 bool port_name_prefixed_
;