diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_valuebox/any_op_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_valuebox/any_op_cs.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuebox/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuebox/any_op_cs.cpp index 63cacd50699..ce748c930f4 100644 --- a/TAO/TAO_IDL/be/be_visitor_valuebox/any_op_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_valuebox/any_op_cs.cpp @@ -92,9 +92,9 @@ be_visitor_valuebox_any_op_cs::visit_valuebox (be_valuebox *node) // emit nested variation of any operators *os << "/// Copying insertion." << be_nl << "void" << be_nl - << "operator<<= (" << be_idt << be_idt_nl + << "operator<<= (" << be_idt_nl << "::CORBA::Any &_tao_any," << be_nl - << node->local_name () << " *_tao_elem)" << be_uidt << be_uidt_nl + << node->local_name () << " *_tao_elem)" << be_uidt_nl << "{" << be_idt_nl << "::CORBA::add_ref (_tao_elem);" << be_nl << "_tao_any <<= &_tao_elem;" << be_uidt_nl @@ -102,16 +102,16 @@ be_visitor_valuebox_any_op_cs::visit_valuebox (be_valuebox *node) *os << "/// Non-copying insertion." << be_nl << "void" << be_nl - << "operator<<= (" << be_idt << be_idt_nl + << "operator<<= (" << be_idt_nl << "::CORBA::Any &_tao_any," << be_nl - << node->local_name () << " **_tao_elem)" << be_uidt << be_uidt_nl + << node->local_name () << " **_tao_elem)" << be_uidt_nl << "{" << be_idt_nl << "TAO::Any_Impl_T<" << node->local_name () << ">::insert (" - << be_idt << be_idt_nl + << be_idt_nl << "_tao_any," << be_nl << node->local_name () << "::_tao_any_destructor," << be_nl << node->tc_name ()->last_component () << "," << be_nl - << "*_tao_elem);" << be_uidt << be_uidt << be_uidt_nl + << "*_tao_elem);" << be_uidt << be_uidt_nl << "}" << be_nl_2; *os << "::CORBA::Boolean" << be_nl @@ -141,9 +141,9 @@ be_visitor_valuebox_any_op_cs::visit_valuebox (be_valuebox *node) *os << "/// Copying insertion." << be_nl << "void" << be_nl - << "operator<<= (" << be_idt << be_idt_nl + << "operator<<= (" << be_idt_nl << "::CORBA::Any &_tao_any," << be_nl - << node->full_name () << " *_tao_elem)" << be_uidt + << node->full_name () << " *_tao_elem)" << be_uidt_nl << "{" << be_idt_nl << "::CORBA::add_ref (_tao_elem);" << be_nl @@ -152,18 +152,18 @@ be_visitor_valuebox_any_op_cs::visit_valuebox (be_valuebox *node) *os << "/// Non-copying insertion." << be_nl << "void" << be_nl - << "operator<<= (" << be_idt << be_idt_nl + << "operator<<= (" << be_idt_nl << "::CORBA::Any &_tao_any," << be_nl - << node->full_name () << " **_tao_elem)" << be_uidt + << node->full_name () << " **_tao_elem)" << be_uidt_nl << "{" << be_idt_nl << "TAO::Any_Impl_T<" << node->name () << ">::insert (" - << be_idt << be_idt_nl + << be_idt_nl << "_tao_any," << be_nl << node->name () << "::_tao_any_destructor," << be_nl << node->tc_name () << "," << be_nl << "*_tao_elem);" << be_uidt - << be_uidt << be_uidt_nl + << be_uidt_nl << "}" << be_nl_2; *os << "::CORBA::Boolean" << be_nl |