diff options
Diffstat (limited to 'TAO/tao/ObjectIDList.cpp')
-rw-r--r-- | TAO/tao/ObjectIDList.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/TAO/tao/ObjectIDList.cpp b/TAO/tao/ObjectIDList.cpp index 4425eb9cac4..a283fcd3fed 100644 --- a/TAO/tao/ObjectIDList.cpp +++ b/TAO/tao/ObjectIDList.cpp @@ -98,40 +98,6 @@ void operator<<= ( ACE_ENDTRY; } -CORBA::Boolean -operator<< ( - TAO_OutputCDR &strm, - const CORBA_ORB_ObjectIdList &_tao_sequence - ) -{ - if (strm << _tao_sequence.length ()) - { - // encode all elements - CORBA::Boolean _tao_marshal_flag = 1; - for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++) - _tao_marshal_flag = (strm << _tao_sequence[i].in ()); - return _tao_marshal_flag; - } - return 0; // error -} - -CORBA::Boolean -operator>> (TAO_InputCDR &strm, CORBA_ORB_ObjectIdList &_tao_sequence) -{ - CORBA::ULong _tao_seq_len; - if (strm >> _tao_seq_len) - { - // set the length of the sequence - _tao_sequence.length (_tao_seq_len); - // retrieve all the elements - CORBA::Boolean _tao_marshal_flag = 1; - for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++) - _tao_marshal_flag = (strm >> _tao_sequence[i].out ()); - return _tao_marshal_flag; - } - return 0; // error -} - void operator<<= (CORBA::Any &_tao_any, CORBA_ORB_ObjectIdList *_tao_elem) // non copying { ACE_TRY_NEW_ENV |