diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-07-06 10:24:12 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-07-06 10:24:12 +0000 |
commit | 49dd4fbe54c558bd5789feaa8adaf6462c8bee9c (patch) | |
tree | 5e70aaa521feb0483aeedf82d88c41b047972a27 /TAO/tao/Object.cpp | |
parent | f4f219d4e97f06ee04659187f1573322948c5354 (diff) | |
download | ATCD-49dd4fbe54c558bd5789feaa8adaf6462c8bee9c.tar.gz |
ChangeLogTag: Fri Jul 6 10:18:16 UTC 2007 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Object.cpp')
-rw-r--r-- | TAO/tao/Object.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp index a9f7211e2e7..90def769086 100644 --- a/TAO/tao/Object.cpp +++ b/TAO/tao/Object.cpp @@ -158,6 +158,8 @@ CORBA::Object::marshal (const CORBA::Object_ptr x, return x->marshal (cdr); } +#if defined (GEN_OSTREAM_OPS) + /*static*/ std::ostream & CORBA::Object::_tao_stream (std::ostream &strm, const CORBA::Object_ptr _tao_objref) @@ -171,6 +173,8 @@ CORBA::Object::_tao_stream_v (std::ostream &strm) const return strm << "\"IDL:omg.org/CORBA/Object:1.0\""; } +#endif /* GEN_OSTREAM_OPS */ + bool CORBA::Object::can_convert_to_ior (void) const { @@ -928,12 +932,15 @@ operator>> (TAO_InputCDR& cdr, CORBA::Object*& x) return (CORBA::Boolean) cdr.good_bit (); } +#if defined (GEN_OSTREAM_OPS) + std::ostream& operator<< (std::ostream &strm, CORBA::Object_ptr _tao_objref) { return CORBA::Object::_tao_stream (strm, _tao_objref); } +#endif /* GEN_OSTREAM_OPS */ // ========================================================= // Traits specializations for CORBA::Object. |