summaryrefslogtreecommitdiff
path: root/TAO/tao/CDR.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-19 22:33:47 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-19 22:33:47 +0000
commitcb50de58c200cfe74125166b4e0c0e5f7f217d58 (patch)
treee168d3d78ef2d261ef4cb7ce56aca2129ab34372 /TAO/tao/CDR.cpp
parent506197ee83fc0a72a0f3abd5f49494de51931f62 (diff)
downloadATCD-cb50de58c200cfe74125166b4e0c0e5f7f217d58.tar.gz
ChangeLogTag:Sat Feb 19 14:23:38 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/CDR.cpp')
-rw-r--r--TAO/tao/CDR.cpp106
1 files changed, 0 insertions, 106 deletions
diff --git a/TAO/tao/CDR.cpp b/TAO/tao/CDR.cpp
index 71b2fb542bb..3755ec6ffe6 100644
--- a/TAO/tao/CDR.cpp
+++ b/TAO/tao/CDR.cpp
@@ -144,61 +144,6 @@ TAO_OutputCDR::encode (CORBA::TypeCode_ptr tc,
ACE_TRY_ENV);
}
-CORBA::Boolean
-operator<< (TAO_OutputCDR& cdr,
- const CORBA::Any &x)
-{
- // @@ This function should *not* use the interpreter, there must be
- // a way to do this with just CDR operations!!!!
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode::traverse_status status =
- TAO_MARSHAL_ANY::instance ()->encode (0,
- &x,
- 0,
- &cdr,
- ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- if (status== CORBA::TypeCode::TRAVERSE_CONTINUE)
- return 1;
- // else return 0 at the end of the function
- }
- ACE_CATCH (CORBA_Exception, ex)
- {
- return 0;
- }
- ACE_ENDTRY;
- return 0;
-}
-
-CORBA::Boolean
-operator<< (TAO_OutputCDR& cdr, const CORBA::TypeCode *x)
-{
- ACE_TRY_NEW_ENV
- {
- // @@ This function should *not* use the interpreter, there must
- // be a way to do this with just CDR operations!!!!
- CORBA::TypeCode::traverse_status status =
- TAO_MARSHAL_TYPECODE::instance ()->encode (0,
- &x,
- 0,
- &cdr,
- ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- if (status == CORBA::TypeCode::TRAVERSE_CONTINUE)
- return 1;
- // else return 0 at the end of the function
- }
- ACE_CATCH (CORBA_Exception, ex)
- {
- return 0;
- }
- ACE_ENDTRY;
- return 0;
-}
-
CORBA::TypeCode::traverse_status
TAO_OutputCDR::append (CORBA::TypeCode_ptr tc,
TAO_InputCDR *src,
@@ -282,54 +227,3 @@ TAO_InputCDR::skip (CORBA::TypeCode_ptr tc,
this,
ACE_TRY_ENV);
}
-
-CORBA::Boolean
-operator>> (TAO_InputCDR &cdr,
- CORBA::Any &x)
-{
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode::traverse_status status =
- TAO_MARSHAL_ANY::instance ()->decode (0,
- &x,
- 0,
- &cdr,
- ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- if (status != CORBA::TypeCode::TRAVERSE_CONTINUE)
- return 0;
- }
- ACE_CATCH (CORBA_Exception, ex)
- {
- return 0;
- }
- ACE_ENDTRY;
-
- return 1;
-}
-
-CORBA::Boolean
-operator>> (TAO_InputCDR& cdr, CORBA::TypeCode *&x)
-{
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode::traverse_status status =
- TAO_MARSHAL_TYPECODE::instance ()->decode (0,
- &x,
- 0,
- &cdr,
- ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- if (status != CORBA::TypeCode::TRAVERSE_CONTINUE)
- return 0;
- }
- ACE_CATCH (CORBA_Exception, ex)
- {
- return 0;
- }
- ACE_ENDTRY;
-
- return 1;
-}