summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_eventtype/any_op_cs.cpp
blob: afd3ee3f1fbbc03d5cc40235268320540357e0e7 (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
//
// $Id$
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    any_op_cs.cpp
//
// = DESCRIPTION
//    Visitor generating Any operators for Eventtypes in the client source
//
// = AUTHOR
//    Jeff Parsons
//
// ============================================================================

ACE_RCSID (be_visitor_eventtype, 
           any_op_cs, 
           "$Id$")

// ******************************************************
// Eventtype visitor for Any operators in the client source
// ******************************************************

be_visitor_eventtype_any_op_cs::be_visitor_eventtype_any_op_cs (
    be_visitor_context *ctx
  )
  : be_visitor_valuetype (ctx)
{
}

be_visitor_eventtype_any_op_cs::~be_visitor_eventtype_any_op_cs (void)
{
}

int
be_visitor_eventtype_any_op_cs::visit_eventtype (be_eventtype *node)
{
  be_visitor_context ctx (*this->ctx_);
  ctx.state (TAO_CodeGen::TAO_VALUETYPE_ANY_OP_CS);
  be_visitor_valuetype_any_op_cs visitor (&ctx);
  return visitor.visit_valuetype (node);
}