Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_visitor_attr_assign.h
blob2366290a19b1cc57f4df6e7bb9a1dd62397c524e
1 /* -*- c++ -*- */
2 //=============================================================================
3 /**
4 * @file be_visitor_attr_assign.h
6 * Encapsulation of rules for component attribute assignment.
8 * @author Jeff Parsons
9 */
10 //=============================================================================
12 #ifndef BE_VISITOR_ATTR_ASSIGN_H
13 #define BE_VISITOR_ATTR_ASSIGN_H
15 #include "be_visitor_decl.h"
17 class TAO_OutStream;
19 /**
20 * @class be_visitor_attr_assign
22 * @brief be_visitor_attr_assign
24 * Contains overloaded methods that generate assignment
25 * statements in component attribute set operations.
27 class be_visitor_attr_assign : public be_visitor_decl
29 public:
30 be_visitor_attr_assign (be_visitor_context *ctx);
31 virtual ~be_visitor_attr_assign (void);
33 virtual int visit_array (be_array *);
34 virtual int visit_component (be_component *);
35 virtual int visit_enum (be_enum *);
36 virtual int visit_eventtype (be_eventtype *);
37 virtual int visit_home (be_home *);
38 virtual int visit_interface (be_interface *);
39 virtual int visit_predefined_type (be_predefined_type *);
40 virtual int visit_sequence (be_sequence *);
41 virtual int visit_string (be_string *);
42 virtual int visit_structure (be_structure *);
43 virtual int visit_typedef (be_typedef *);
44 virtual int visit_union (be_union *);
45 virtual int visit_valuebox (be_valuebox *);
46 virtual int visit_valuetype (be_valuetype *);
48 void attr_name (const char *name);
50 private:
51 const char *attr_name_;
52 ACE_CString attr_name_string_;
55 #endif /* BE_VISITOR_ATTR_ASSIGN_H */