summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_valuetype_fwd/cdr_op_ch.h
blob: 0a3761bf5f204896b5310486fe2635afadfd7f1e (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    cdr_op_ch.h
 *
 *  Concrete visitor for the valuetype_fwd class
 *  This one provides code generation for the CDR operators
 *  (actually just their declarations) for the valuetype forward
 *  declaration in the client inline.
 *
 *  @author Boris Kolpackov <bosk@ipmce.ru> based on code from Torsten Kuepper based on code from Aniruddha Gokhale & Carlos O'Ryan
 */
//=============================================================================


#ifndef BE_VISITOR_VALUETYPE_FWD_CDR_OP_CH_H
#define BE_VISITOR_VALUETYPE_FWD_CDR_OP_CH_H

/**
 * @class be_visitor_valuetype_fwd_cdr_op_ch
 *
 * @brief be_visitor_valuetype_fwd_cdr_op_ch
 *
 * This is a concrete visitor for valuetype that generates the CDR
 * operator forward declarations.
 */
class be_visitor_valuetype_fwd_cdr_op_ch : public be_visitor_decl
{

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

  /// destructor
  ~be_visitor_valuetype_fwd_cdr_op_ch ();

  virtual int visit_valuetype_fwd (be_valuetype_fwd *node);
  virtual int visit_eventtype_fwd (be_eventtype_fwd *node);
};

#endif /* BE_VISITOR_VALUETYPE_FWD_CDR_OP_CH_H */