diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-06-27 09:21:28 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-06-27 09:21:28 +0000 |
commit | 78099acaa00a6736a69a932270a809fc86797f7c (patch) | |
tree | 7e26d2b1409e28435be6a58ad2f0c978cf608ac1 /TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp | |
parent | 0daf5eb789c7b5abfc2ab2dfd1e7674d476f4e0e (diff) | |
download | ATCD-78099acaa00a6736a69a932270a809fc86797f7c.tar.gz |
ChangeLogTag: Wed Jun 27 09:10:21 UTC 2007 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp index 8986fd0f56b..7d9996e6df4 100644 --- a/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_structure/cdr_op_ch.cpp @@ -58,9 +58,17 @@ be_visitor_structure_cdr_op_ch::visit_structure (be_structure *node) *os << be_global->stub_export_macro () << " ::CORBA::Boolean" << " operator<< (TAO_OutputCDR &, const " << node->name () << " &);" << be_nl; + *os << be_global->stub_export_macro () << " ::CORBA::Boolean" << " operator>> (TAO_InputCDR &, " - << node->name () << " &);"; + << node->name () << " &);" << be_nl; + + if (be_global->gen_ostream_operators ()) + { + *os << be_global->stub_export_macro () << " std::ostream&" + << " operator<< (std::ostream &strm, const " + << node->name () << " &);" << be_nl; + } *os << be_global->core_versioning_end () << be_nl; @@ -77,6 +85,6 @@ be_visitor_structure_cdr_op_ch::visit_structure (be_structure *node) } - node->cli_hdr_cdr_op_gen (1); + node->cli_hdr_cdr_op_gen (true); return 0; } |