diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp deleted file mode 100644 index e7edc5c7ad5..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ci.cpp +++ /dev/null @@ -1,71 +0,0 @@ -// -// $Id$ -// - -// ================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// cdr_op_ci.cpp -// -// = DESCRIPTION -// Visitor generating code for CDR operators for forward -// declarations of interfaces. This uses compiled marshaling. -// -// = AUTHOR -// Aniruddha Gokhale & Carlos O'Ryan -// -// ================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_interface_fwd.h" - -ACE_RCSID(be_visitor_interface_fwd, cdr_op_ci, "$Id$") - -// **************************************************************** -// Interface visitor for generating CDR operator declarations in the -// client header -// **************************************************************** - -be_visitor_interface_fwd_cdr_op_ci:: -be_visitor_interface_fwd_cdr_op_ci (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_interface_fwd_cdr_op_ci:: -~be_visitor_interface_fwd_cdr_op_ci (void) -{ -} - -int -be_visitor_interface_fwd_cdr_op_ci:: -visit_interface_fwd (be_interface_fwd *node) -{ - if (node->cli_inline_cdr_op_gen () || node->imported ()) - return 0; - - TAO_OutStream *os = this->ctx_->stream (); - - // generate the CDR << and >> operator declarations - os->indent (); - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator<< (" << be_idt << be_idt_nl - << "TAO_OutputCDR &," << be_nl - << "const " << node->name () << "_ptr" << be_uidt_nl - << ");" << be_uidt_nl; - *os << "ACE_INLINE CORBA::Boolean" << be_nl - << "operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &," << be_nl - << node->name () << "_ptr &" << be_uidt_nl - << ");" << be_uidt << "\n"; - - node->cli_inline_cdr_op_gen (1); - return 0; -} - |