summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_root/cdr_op.h
blob: 2df86ebcdfede886a377c7a971b5c63aace5e054 (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
/* -*- c++ -*- */
//
// $Id$
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    cdr_op.h
//
// = DESCRIPTION
//    Concrete visitor for the Root class
//    This one provides code generation for the CDR operators for elements of
//    the Root scope.
//
// = AUTHOR
//    Aniruddha Gokhale
//
// ============================================================================

#ifndef _BE_VISITOR_ROOT_CDR_OP_H_
#define _BE_VISITOR_ROOT_CDR_OP_H_

class be_visitor_root_cdr_op : public be_visitor_root
{
  //
  // = TITLE
  //   be_visitor_root_cdr_op
  //
  // = DESCRIPTION
  //   This is a concrete visitor for root that generates the CDR operator
  //   declarations and implementations
  //

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

  ~be_visitor_root_cdr_op (void);
  // destructor

  virtual int visit_root (be_root *node);
  // visit root
};

#endif /* _BE_VISITOR_ROOT_CDR_OP_H_ */