summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_component_fwd/cdr_op_ch.h
blob: 1294a1f282c5e01011e448e02b828fc1e14ab1f9 (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_ch.h
//
// = DESCRIPTION
//    Concrete visitor for the ComponentFwd class
//    This one provides code generation for the CDR operators for the forward
//    declared component in the client header, if the node is not later defined
//
// = AUTHOR
//    Jeff Parsons
//
// ============================================================================

#ifndef _BE_VISITOR_COMPONENT_FWD_CDR_OP_CH_H_
#define _BE_VISITOR_COMPONENT_FWD_CDR_OP_CH_H_

class be_visitor_component_fwd_cdr_op_ch : public be_visitor_decl
{
  //
  // = TITLE
  //   be_visitor_component_fwd_cdr_op_ch
  //
  // = DESCRIPTION
  //   This is a concrete visitor for forward declared component that generates
  //   the CDR operator declarations, if the node is not later defined.
  //

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

  ~be_visitor_component_fwd_cdr_op_ch (void);
  // destructor

  virtual int visit_component_fwd (be_component_fwd *node);
  // visit forward declared component.
};

#endif /* _BE_VISITOR_COMPONENT_FWD_CDR_OP_CH_H_ */