blob: ee0e57fdd13f49a4c2aa021b0dd9f217aadce282 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/* -*- c++ -*- */
//=============================================================================
/**
* @file any_op_ch.h
*
* Concrete visitor for the Structure class
* This one provides code generation for the Any operators for the structure
* in the client header.
*
* @author Aniruddha Gokhale
*/
//=============================================================================
#ifndef _BE_VISITOR_STRUCTURE_ANY_OP_CH_H_
#define _BE_VISITOR_STRUCTURE_ANY_OP_CH_H_
/**
* @class be_visitor_structure_any_op_ch
*
* @brief be_visitor_structure_any_op_ch
*
* This is a concrete visitor for structure that generates the Any operator
* declarations
*/
class be_visitor_structure_any_op_ch : public be_visitor_structure
{
public:
/// constructor
be_visitor_structure_any_op_ch (be_visitor_context *ctx);
/// destructor
~be_visitor_structure_any_op_ch (void);
/// visit structure
virtual int visit_structure (be_structure *node);
/// visit field
virtual int visit_field (be_field *node);
/// visit union
virtual int visit_union (be_union *node);
/// visit field
virtual int visit_enum (be_enum *node);
};
#endif /* _BE_VISITOR_STRUCTURE_ANY_OP_CH_H_ */
|