diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-19 22:33:47 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-19 22:33:47 +0000 |
commit | cb50de58c200cfe74125166b4e0c0e5f7f217d58 (patch) | |
tree | e168d3d78ef2d261ef4cb7ce56aca2129ab34372 /TAO/tao/PolicyC.cpp | |
parent | 506197ee83fc0a72a0f3abd5f49494de51931f62 (diff) | |
download | ATCD-cb50de58c200cfe74125166b4e0c0e5f7f217d58.tar.gz |
ChangeLogTag:Sat Feb 19 14:23:38 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/PolicyC.cpp')
-rw-r--r-- | TAO/tao/PolicyC.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/TAO/tao/PolicyC.cpp b/TAO/tao/PolicyC.cpp index dd5be304cd6..1722ccd8b78 100644 --- a/TAO/tao/PolicyC.cpp +++ b/TAO/tao/PolicyC.cpp @@ -617,7 +617,8 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA_PolicyError *&_tao else { ACE_NEW_RETURN (_tao_elem, CORBA_PolicyError, 0); - TAO_InputCDR stream (_tao_any._tao_get_cdr ()); + TAO_InputCDR stream (_tao_any._tao_get_cdr (), + _tao_any._tao_byte_order ()); if (stream.decode (CORBA::_tc_PolicyError, _tao_elem, 0, ACE_TRY_ENV) == CORBA::TypeCode::TRAVERSE_CONTINUE) { @@ -684,7 +685,8 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA_InvalidPolicies *& else { ACE_NEW_RETURN (_tao_elem, CORBA_InvalidPolicies, 0); - TAO_InputCDR stream (_tao_any._tao_get_cdr ()); + TAO_InputCDR stream (_tao_any._tao_get_cdr (), + _tao_any._tao_byte_order ()); if (stream.decode (CORBA::_tc_InvalidPolicies, _tao_elem, 0, ACE_TRY_ENV) == CORBA::TypeCode::TRAVERSE_CONTINUE) { @@ -733,7 +735,8 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA_Policy_ptr &_tao_e CORBA::TypeCode_var type = _tao_any.type (); if (!type->equal (CORBA::_tc_Policy, ACE_TRY_ENV)) return 0; // not equal ACE_TRY_CHECK; - TAO_InputCDR stream (_tao_any._tao_get_cdr ()); + TAO_InputCDR stream (_tao_any._tao_get_cdr (), + _tao_any._tao_byte_order ()); CORBA::Object_var _tao_obj_var; ACE_NEW_RETURN (tmp, CORBA::Object_ptr, 0); if (stream.decode (CORBA::_tc_Policy, &_tao_obj_var.out (), 0, ACE_TRY_ENV) @@ -805,7 +808,8 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA_PolicyList *&_tao_ else { ACE_NEW_RETURN (_tao_elem, CORBA_PolicyList, 0); - TAO_InputCDR stream (_tao_any._tao_get_cdr ()); + TAO_InputCDR stream (_tao_any._tao_get_cdr (), + _tao_any._tao_byte_order ()); if (stream.decode (CORBA::_tc_PolicyList, _tao_elem, 0, ACE_TRY_ENV) == CORBA::TypeCode::TRAVERSE_CONTINUE) { @@ -874,7 +878,8 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA_PolicyTypeSeq *&_t else { ACE_NEW_RETURN (_tao_elem, CORBA_PolicyTypeSeq, 0); - TAO_InputCDR stream (_tao_any._tao_get_cdr ()); + TAO_InputCDR stream (_tao_any._tao_get_cdr (), + _tao_any._tao_byte_order ()); if (stream.decode (CORBA::_tc_PolicyTypeSeq, _tao_elem, 0, ACE_TRY_ENV) == CORBA::TypeCode::TRAVERSE_CONTINUE) { @@ -922,7 +927,8 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA::SetOverrideType & CORBA::TypeCode_var type = _tao_any.type (); if (!type->equal (CORBA::_tc_SetOverrideType, ACE_TRY_ENV)) return 0; // not equal ACE_TRY_CHECK; - TAO_InputCDR stream (_tao_any._tao_get_cdr ()); + TAO_InputCDR stream (_tao_any._tao_get_cdr (), + _tao_any._tao_byte_order ()); if (stream.decode (CORBA::_tc_SetOverrideType, &_tao_elem, 0, ACE_TRY_ENV) == CORBA::TypeCode::TRAVERSE_CONTINUE) return 1; |