diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-24 19:41:03 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-24 19:41:03 +0000 |
commit | 01a0813ecb7d32d93a905892429311290065b6ff (patch) | |
tree | e0163714cb16ff8133aa6cf0800231032870ebb3 | |
parent | fd1e64ceda29edbdbcc8ed04a31f13479bb4e4fe (diff) | |
download | ATCD-01a0813ecb7d32d93a905892429311290065b6ff.tar.gz |
ChangeLogTag: Thu Apr 24 13:52:44 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp index 87a5036bda0..5f07b464c8e 100644 --- a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp +++ b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ci.cpp @@ -102,8 +102,22 @@ be_visitor_structure_cdr_op_ci::visit_structure (be_structure *node) *os << "ACE_INLINE" << be_nl << "CORBA::Boolean operator>> (" << be_idt << be_idt_nl - << "TAO_InputCDR &strm," << be_nl - << node->name () << " &_tao_aggregate" << be_uidt_nl + << "TAO_InputCDR &"; + + if (! node->is_local ()) + { + *os << "strm"; + } + + *os << "," << be_nl + << node->name () << " &"; + + if (! node->is_local ()) + { + *os << "_tao_aggregate"; + } + + *os << be_uidt_nl << ")" << be_uidt_nl << "{" << be_idt_nl; |