summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_module/cdr_op.h
blob: c78e389a3b2b47bd1cd6e2d41805e4a44ddf1788 (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    cdr_op.h
 *
 *  Concrete visitor for the Module class
 *  This one provides visitors to generate the CDR operators for elements in
 *  the Module's scope.
 *
 *  @author Aniruddha Gokhale
 */
//=============================================================================


#ifndef _BE_VISITOR_MODULE_CDR_OP_H_
#define _BE_VISITOR_MODULE_CDR_OP_H_

/**
 * @class be_visitor_module_cdr_op
 *
 * @brief be_visitor_module_cdr_op
 *
 * This is a concrete visitor for module that generates the CDR operator
 * declarations and implementations
 */
class be_visitor_module_cdr_op : public be_visitor_module
{

public:
  /// constructor
  be_visitor_module_cdr_op (be_visitor_context *ctx);

  /// destructor
  ~be_visitor_module_cdr_op ();

  /// visit module
  virtual int visit_module (be_module *node);
};

#endif /* _BE_VISITOR_MODULE_CDR_OP_H_ */