2 //=============================================================================
6 * Visitor generating code for the CDR operators for types defined
9 * @author Aniruddha Gokhale
11 //=============================================================================
15 // ***************************************************************************
16 // Root visitor for generating CDR operator declarations in the client header
18 // ***************************************************************************
20 be_visitor_root_cdr_op::be_visitor_root_cdr_op (be_visitor_context
*ctx
)
21 : be_visitor_root (ctx
)
25 be_visitor_root_cdr_op::~be_visitor_root_cdr_op (void)
30 be_visitor_root_cdr_op::visit_root (be_root
*node
)
32 if (this->visit_scope (node
) == -1)
34 ACE_ERROR_RETURN ((LM_ERROR
,
35 ACE_TEXT ("be_visitor_root_cdr_op::")
36 ACE_TEXT ("visit_root - codegen ")
37 ACE_TEXT ("for scope failed\n")),