summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_component/component_is.cpp
blob: 5acd37d6a981470899693175e29ccc5e84a349e7 (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
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    component_is.cpp
//
// = DESCRIPTION
//    Visitor generating code for Components 
//    in the implementation skeletons file.
//
// = AUTHOR
//   Jeff Parsons
//
// ============================================================================

// ************************************************************
// Component visitor for implementation skeletons.
// ************************************************************

ACE_RCSID (be_visitor_component, 
           component_is, 
           "$Id$")

be_visitor_component_is::be_visitor_component_is (be_visitor_context *ctx)
  : be_visitor_component (ctx)
{
}

be_visitor_component_is::~be_visitor_component_is (void)
{
}

int
be_visitor_component_is::visit_component (be_component *node)
{
  be_visitor_context ctx (*this->ctx_);
  be_visitor_interface_is visitor (&ctx);
  return visitor.visit_interface (node);
}