summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_module/cdr_op.cpp
blob: 75c65619fd062c3b9dc0c0ff08ce71fa07a86147 (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

//=============================================================================
/**
 *  @file    cdr_op.cpp
 *
 *  Visitor generating code for the CDR operators for types defined in Module's
 *  scope.
 *
 *  @author Aniruddha Gokhale
 */
//=============================================================================

#include "module.h"

be_visitor_module_cdr_op::be_visitor_module_cdr_op (be_visitor_context *ctx)
  : be_visitor_module (ctx)
{
}

be_visitor_module_cdr_op::~be_visitor_module_cdr_op ()
{
}

int
be_visitor_module_cdr_op::visit_module (be_module *node)
{
  if (this->visit_scope (node) == -1)
    {
      ACE_ERROR_RETURN ((LM_ERROR,
                         "(%N:%l) be_visitor_module_cdr_op::visit_module - "
                         "codegen for scope failed\n"),
                        -1);
    }

  return 0;
}