diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_component/cdr_op_ci.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_component/cdr_op_ci.cpp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_component/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_component/cdr_op_ci.cpp new file mode 100644 index 00000000000..214aff3c953 --- /dev/null +++ b/TAO/TAO_IDL/be/be_visitor_component/cdr_op_ci.cpp @@ -0,0 +1,48 @@ +// +// $Id$ +// + +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// cdr_op_ci.cpp +// +// = DESCRIPTION +// Visitor generating code for CDR operators for components +// +// = AUTHOR +// Jeff Parsons +// +// ============================================================================ + +ACE_RCSID (be_visitor_component, + cdr_op_ci, + "$Id$") + +// *************************************************************************** +// Component visitor for generating CDR operator declarations in the client +// stubs file +// *************************************************************************** + +be_visitor_component_cdr_op_ci::be_visitor_component_cdr_op_ci ( + be_visitor_context *ctx + ) + : be_visitor_component (ctx) +{ +} + +be_visitor_component_cdr_op_ci::~be_visitor_component_cdr_op_ci (void) +{ +} + +int +be_visitor_component_cdr_op_ci::visit_component (be_component *node) +{ + be_visitor_context ctx (*this->ctx_); + ctx.state (TAO_CodeGen::TAO_INTERFACE_CDR_OP_CI); + be_visitor_interface_cdr_op_ci visitor (&ctx); + return visitor.visit_interface (node); +} |