diff options
author | Adam Mitz <mitza@objectcomputing.com> | 2022-06-23 21:30:05 -0500 |
---|---|---|
committer | Adam Mitz <mitza@objectcomputing.com> | 2022-06-23 21:30:05 -0500 |
commit | ae3ff95027b1845e284c9869737d94c54e3ed38c (patch) | |
tree | e29628ff0a87a1d13120ece7829b2850132a26ac /TAO | |
parent | 2c2be5bf757c0d167a38045fdeb598af8d750ac6 (diff) | |
download | ATCD-ae3ff95027b1845e284c9869737d94c54e3ed38c.tar.gz |
struct anyops: use fully-qualified scope
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp | 6 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp | 18 |
2 files changed, 12 insertions, 12 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp index 471318a1cc9..90f928f7a8e 100644 --- a/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp @@ -81,11 +81,11 @@ be_visitor_structure_any_op_ch::visit_structure (be_structure *node) *os << be_global->anyops_versioning_begin () << be_nl; - *os << macro << " void operator<<= (::CORBA::Any &, const " << node->name () + *os << macro << " void operator<<= (::CORBA::Any &, const ::" << node->name () << " &); // copying version" << be_nl; - *os << macro << " void operator<<= (::CORBA::Any &, " << node->name () + *os << macro << " void operator<<= (::CORBA::Any &, ::" << node->name () << "*); // noncopying version" << be_nl; - *os << macro << " ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const " + *os << macro << " ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const ::" << node->name () << " *&);"; *os << be_global->anyops_versioning_end () << be_nl; diff --git a/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp index 26a749fb194..e8e4213eb71 100644 --- a/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_structure/any_op_cs.cpp @@ -161,13 +161,13 @@ be_visitor_structure_any_op_cs::visit_structure (be_structure *node) *os << "/// Copying insertion." << be_nl << "void operator<<= (" << be_idt_nl << "::CORBA::Any &_tao_any," << be_nl - << "const " << node->name () << " &_tao_elem)" + << "const ::" << node->name () << " &_tao_elem)" << be_uidt_nl << "{" << be_idt_nl - << "TAO::Any_Dual_Impl_T<" << node->name () << ">::insert_copy (" + << "TAO::Any_Dual_Impl_T< ::" << node->name () << ">::insert_copy (" << be_idt_nl << "_tao_any," << be_nl - << node->name () << "::_tao_any_destructor," << be_nl + << "::" << node->name () << "::_tao_any_destructor," << be_nl << node->tc_name () << "," << be_nl << "_tao_elem);" << be_uidt << be_uidt_nl @@ -177,13 +177,13 @@ be_visitor_structure_any_op_cs::visit_structure (be_structure *node) *os << "/// Non-copying insertion." << be_nl << "void operator<<= (" << be_idt_nl << "::CORBA::Any &_tao_any," << be_nl - << node->name () << " *_tao_elem)" + << "::" << node->name () << " *_tao_elem)" << be_uidt_nl << "{" << be_idt_nl - << "TAO::Any_Dual_Impl_T<" << node->name () << ">::insert (" + << "TAO::Any_Dual_Impl_T< ::" << node->name () << ">::insert (" << be_idt_nl << "_tao_any," << be_nl - << node->name () << "::_tao_any_destructor," << be_nl + << "::" << node->name () << "::_tao_any_destructor," << be_nl << node->tc_name () << "," << be_nl << "_tao_elem);" << be_uidt << be_uidt_nl @@ -193,13 +193,13 @@ be_visitor_structure_any_op_cs::visit_structure (be_structure *node) *os << "/// Extraction to const pointer." << be_nl << "::CORBA::Boolean operator>>= (" << be_idt_nl << "const ::CORBA::Any &_tao_any," << be_nl - << "const " << node->name () << " *&_tao_elem)" + << "const ::" << node->name () << " *&_tao_elem)" << be_uidt_nl << "{" << be_idt_nl - << "return TAO::Any_Dual_Impl_T<" << node->name () << ">::extract (" + << "return TAO::Any_Dual_Impl_T< ::" << node->name () << ">::extract (" << be_idt_nl << "_tao_any," << be_nl - << node->name () << "::_tao_any_destructor," << be_nl + << "::" << node->name () << "::_tao_any_destructor," << be_nl << node->tc_name () << "," << be_nl << "_tao_elem);" << be_uidt << be_uidt_nl |