diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-04-29 10:03:27 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-04-29 10:03:27 +0000 |
commit | b45b770954a4242a64458052d8a6735e398ab670 (patch) | |
tree | 368080e575372dda10d383e70c84d6a8d3c1da6d /TAO/TAO_IDL/be/be_visitor_enum | |
parent | 6799704855bfa2bbffb807a79b2a09fbcc5ae1cb (diff) | |
download | ATCD-b45b770954a4242a64458052d8a6735e398ab670.tar.gz |
ChangeLogTag: Fri Apr 29 09:50:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_enum')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp index d8d075658d3..ba7d8c8f560 100644 --- a/TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_enum/any_op_cs.cpp @@ -59,10 +59,11 @@ be_visitor_enum_any_op_cs::visit_enum (be_enum *node) // type is inserted into an Any and then marshaled. if (node->is_local ()) { - *os << be_nl << be_nl + *os << "namespace TAO" << be_nl + << "{" << be_idt_nl << "template<>" << be_nl << "CORBA::Boolean" << be_nl - << "TAO::Any_Basic_Impl_T<" << node->name () + << "Any_Basic_Impl_T<" << node->name () << ">::marshal_value (TAO_OutputCDR &)" << be_nl << "{" << be_idt_nl << "return false;" << be_uidt_nl @@ -71,11 +72,12 @@ be_visitor_enum_any_op_cs::visit_enum (be_enum *node) *os << be_nl << be_nl << "template<>" << be_nl << "CORBA::Boolean" << be_nl - << "TAO::Any_Basic_Impl_T<" << node->name () + << "Any_Basic_Impl_T<" << node->name () << ">::demarshal_value (TAO_InputCDR &)" << be_nl << "{" << be_idt_nl << "return false;" << be_uidt_nl - << "}"; + << "}" << be_uidt_nl + << "}" << be_nl << be_nl; } // Generate the Any <<= and >>= operator declarations |