blob: 2884d9459e98d57f737fad4abd2b16210cf4945c (
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
|
/* -*- c++ -*- */
//=============================================================================
/**
* @file root_sth.h
*
* Concrete visitor for the Root class
* This one provides code generation for elements of the Root node in the
* server template header.
*
* @author Jeff Parsons
*/
//=============================================================================
#ifndef _BE_VISITOR_ROOT_ROOT_STH_H_
#define _BE_VISITOR_ROOT_ROOT_STH_H_
/**
* @class be_visitor_root_sth
*
* @brief be_visitor_root_sth
*
* This is a concrete visitor to generate the server template
* header for root.
*/
class be_visitor_root_sth : public be_visitor_root
{
public:
be_visitor_root_sth (be_visitor_context *ctx);
~be_visitor_root_sth (void);
virtual int visit_root (be_root *node);
virtual int visit_module (be_module *node);
virtual int visit_interface (be_interface *node);
virtual int visit_component (be_component *node);
private:
/// Open file and initialize stream.
int init (void);
};
#endif /* _BE_VISITOR_ROOT_ROOT_STH_H_ */
|