3 //=============================================================================
7 * Visitor for the Attribute class.
9 * @author Aniruddha Gokhale
11 //=============================================================================
14 #ifndef _BE_VISITOR_ATTRIBUTE_ATTRIBUTE_H
15 #define _BE_VISITOR_ATTRIBUTE_ATTRIBUTE_H
17 // ************************************************************
19 // ************************************************************
22 * @class be_visitor_attribute
24 * @brief be_visitor_attribute
26 * This is a concrete visitor to generate code for attributes. We have one
27 * class for mapping into the client and server.
29 class be_visitor_attribute
: public be_visitor_decl
33 be_visitor_attribute (be_visitor_context
*ctx
);
36 ~be_visitor_attribute (void);
38 /// visit attribute. We provide code for this method in the derived class
39 virtual int visit_attribute (be_attribute
*node
);
41 void for_facets (bool val
);
42 void op_scope (be_decl
*node
);
43 void exec_class_extension (const char *extension
);
49 /// Defaults to "exec_i" but in special cases we want to
51 ACE_CString exec_class_extension_
;
54 #endif /* _BE_VISITOR_ATTRIBUTE_ATTRIBUTE_H*/