Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_visitor_attr_init.h
blob25b6bbdfdfb76242fa912a2c9773e7ccf7bd971a
1 /* -*- c++ -*- */
2 //=============================================================================
3 /**
4 * @file be_visitor_attr_init.h
6 * Encapsulation of rules for generating attribute initializatin
8 * @author Johnny Willemsen
9 */
10 //=============================================================================
13 #ifndef BE_VISITOR_ATTR_INIT_H
14 #define BE_VISITOR_ATTR_INIT_H
16 #include "be_visitor_decl.h"
18 class TAO_OutStream;
20 /**
21 * @class be_visitor_attr_init
23 * @brief be_visitor_attr_init
25 * Contains overloaded methods that generate null return
26 * values, compliant with the CORBA IDL C++ mapping, and
27 * portable to all platforms supported by ACE.
29 class be_visitor_attr_init : public be_visitor_decl
31 public:
32 be_visitor_attr_init (be_visitor_context *ctx);
33 virtual ~be_visitor_attr_init ();
35 virtual int visit_array (be_array *);
36 virtual int visit_component (be_component *);
37 virtual int visit_enum (be_enum *);
38 virtual int visit_eventtype (be_eventtype *);
39 virtual int visit_home (be_home *);
40 virtual int visit_interface (be_interface *);
41 virtual int visit_predefined_type (be_predefined_type *);
42 virtual int visit_sequence (be_sequence *);
43 virtual int visit_string (be_string *);
44 virtual int visit_structure (be_structure *);
45 virtual int visit_typedef (be_typedef *);
46 virtual int visit_union (be_union *);
47 virtual int visit_valuebox (be_valuebox *);
48 virtual int visit_valuetype (be_valuetype *);
50 protected:
51 TAO_OutStream & os_;
54 #endif /* BE_VISITOR_ATTR_INIT_H */