summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_component_fwd/cdr_op_ci.cpp
blob: 1c09a569583fab59c1502e0434b491763d6e6351 (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
50
51
52
//
// $Id$
//

// ================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    cdr_op_ci.cpp
//
// = DESCRIPTION
//    Visitor generating code for CDR operators for forward
//    declarations of components. This uses compiled marshaling.
//
// = AUTHOR
//    Jeff Parsons
//
// ================================================================

ACE_RCSID (be_visitor_component_fwd, 
           cdr_op_ci, 
           "$Id$")

// ****************************************************************
// Interface visitor for generating CDR operator declarations in the
// client header
// ****************************************************************

be_visitor_component_fwd_cdr_op_ci::be_visitor_component_fwd_cdr_op_ci (
    be_visitor_context *ctx
  )
  : be_visitor_decl (ctx)
{
}

be_visitor_component_fwd_cdr_op_ci::~be_visitor_component_fwd_cdr_op_ci (
    void
  )
{
}

int
be_visitor_component_fwd_cdr_op_ci::visit_component_fwd (
    be_component_fwd *node
  )
{
  be_visitor_context ctx (*this->ctx_);
  be_visitor_interface_fwd_cdr_op_ci visitor (&ctx);
  return visitor.visit_interface_fwd (node);
}