summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_component_fwd/component_fwd_ch.cpp
blob: 8e3336853b481c28369700e8f2f516b790136aee (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
//
// $Id$
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    component_fwd_ch.cpp
//
// = DESCRIPTION
//    Visitor generating code for Component_Fwd node in the client header.
//
// = AUTHOR
//    Jeff Parsons
//
// ============================================================================

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

// ********************************************************************
// Visitor implementation for the Component_Fwd type
// This one for the client header file
// ********************************************************************

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

be_visitor_component_fwd_ch::~be_visitor_component_fwd_ch (void)
{
}

// Visit the component_fwd_ch node and its scope.
int
be_visitor_component_fwd_ch::visit_component_fwd (be_component_fwd *node)
{
  be_visitor_context ctx (*this->ctx_);
  be_visitor_interface_fwd_ch visitor (&ctx);
  return visitor.visit_interface_fwd (node);
}