diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-20 18:17:28 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-20 18:17:28 +0000 |
commit | ef7550f22cdb046951d76753dd4f022affe5dad4 (patch) | |
tree | 4aba0f96d57c9511984c1f0141f343f15f63e2ea /TAO/TAO_IDL/be/be_exception.cpp | |
parent | 2328e128aa77b5339a52e8df3ae27f812e548db8 (diff) | |
download | ATCD-ef7550f22cdb046951d76753dd4f022affe5dad4.tar.gz |
Removed generation of ostream operators for user exceptions, and the
option to suppress them.
Diffstat (limited to 'TAO/TAO_IDL/be/be_exception.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_exception.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/TAO/TAO_IDL/be/be_exception.cpp b/TAO/TAO_IDL/be/be_exception.cpp index e4d1db32990..c8f59253a37 100644 --- a/TAO/TAO_IDL/be/be_exception.cpp +++ b/TAO/TAO_IDL/be/be_exception.cpp @@ -103,43 +103,6 @@ be_exception::in_recursion (be_type *node) } int -be_exception::gen_iostream_op_hdr (TAO_OutStream *os) -{ - *os << "# if !defined (ACE_LACKS_IOSTREAM_TOTALLY)" << be_nl << be_nl; - *os << idl_global->stub_export_macro (); - *os << " ostream& operator<< (ostream &, const " - << this->full_name () << " &);" << be_nl << be_nl; - *os << "# endif /* ACE_LACKS_IOSTREAM_TOTALLY */" << be_nl; - - return 0; -} - -int -be_exception::gen_iostream_op_impl (TAO_OutStream *os) -{ - *os << "#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)" << be_nl << be_nl; - *os << "ACE_INLINE" << be_nl; - *os << "ostream & operator<< (ostream &os, const " - << this->full_name ()<< " &_tao_aggregate)" << be_nl; - *os << "{" << be_idt_nl; - *os << "CORBA::TypeCode_ptr tc = _tao_aggregate._type ();" << be_nl; - *os << "if (tc)" << be_idt_nl; - *os << "{" << be_idt_nl; - *os << "os << tc->name () << \" (\";" << be_uidt_nl; - *os << "}" << be_uidt_nl; - *os << "os << _tao_aggregate._id ();" << be_nl; - *os << "if (tc)" << be_idt_nl; - *os << "{" << be_idt_nl; - *os << "os << \")\";" << be_uidt_nl; - *os << "}" << be_uidt_nl; - *os << "return os;" << be_uidt_nl; - *os << "}" << be_nl << be_nl; - *os << "#endif /* ACE_LACKS_IOSTREAM_TOTALLY */" << be_nl << be_nl; - - return 0; -} - -int be_exception::accept (be_visitor *visitor) { return visitor->visit_exception (this); |