Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_visitor_structure / structure.h
blobd2c31903e83d29183ddf3ed81adf28108e59c335
1 /* -*- c++ -*- */
3 //=============================================================================
4 /**
5 * @file structure.h
7 * Concrete visitor for the STRUCTURE class
8 * This one provides the generic visitor for the Structure node.
10 * @author Aniruddha Gokhale
12 //=============================================================================
14 #ifndef _BE_VISITOR_STRUCTURE_STRUCTURE_H_
15 #define _BE_VISITOR_STRUCTURE_STRUCTURE_H_
17 /**
18 * @class be_visitor_structure
20 * @brief be_visitor_structure
22 * This is the base visitor for structure
24 class be_visitor_structure : public be_visitor_scope
26 public:
27 /// constructur
28 be_visitor_structure (be_visitor_context *ctx);
30 /// destructur
31 ~be_visitor_structure () override = default;
33 /// visit structure. We provide code for this method in the derived class
34 int visit_structure (be_structure *node) override;
36 // =visit operations on syntactically valid elements in our scope
38 /// visit field
39 int visit_field (be_field *node) override;
42 #endif /* _BE_VISITOR_STRUCTURE_STRUCTURE_H_ */