#include "ace/config-all.h"
#include "tao/ORB.h"
#include "tao/Environment.h"
#include "tao/Object.h"
#include "tao/Objref_VarOut_T.h"
#include "tao/UShortSeqC.h"
#include "tao/CurrentC.h"
#include "tao/Policy_ForwardC.h"
Include dependency graph for PolicyC.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
TAO_Export CORBA::Boolean operator<< | ( | TAO_OutputCDR & | , | |
const CORBA::Policy_ptr | ||||
) |
Definition at line 724 of file PolicyC.cpp.
00728 { 00729 CORBA::Object_ptr _tao_corba_obj = _tao_objref; 00730 return (strm << _tao_corba_obj); 00731 }
TAO_Export CORBA::Boolean operator<< | ( | TAO_OutputCDR & | , | |
const CORBA::InvalidPolicies & | ||||
) |
Definition at line 663 of file PolicyC.cpp.
References CORBA::Exception::_rep_id(), and CORBA::InvalidPolicies::indices.
00667 { 00668 // First marshal the repository ID. 00669 if (strm << _tao_aggregate._rep_id ()) 00670 { 00671 // Now marshal the members (if any). 00672 return ( 00673 (strm << _tao_aggregate.indices) 00674 ); 00675 } 00676 else 00677 { 00678 return false; 00679 } 00680 }
TAO_Export CORBA::Boolean operator<< | ( | TAO_OutputCDR & | , | |
const CORBA::PolicyError & | ||||
) |
Definition at line 630 of file PolicyC.cpp.
References CORBA::Exception::_rep_id(), and CORBA::PolicyError::reason.
00634 { 00635 // First marshal the repository ID. 00636 if (strm << _tao_aggregate._rep_id ()) 00637 { 00638 // Now marshal the members (if any). 00639 return ( 00640 (strm << _tao_aggregate.reason) 00641 ); 00642 } 00643 else 00644 { 00645 return false; 00646 } 00647 }
TAO_Export CORBA::Boolean operator>> | ( | TAO_InputCDR & | , | |
CORBA::Policy_ptr & | ||||
) |
Definition at line 733 of file PolicyC.cpp.
References CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer, TAO_Pseudo_Var_T< T >::in(), and TAO_Pseudo_Var_T< T >::inout().
00737 { 00738 CORBA::Object_var obj; 00739 00740 if (!(strm >> obj.inout ())) 00741 { 00742 return false; 00743 } 00744 00745 typedef ::CORBA::Policy RHS_SCOPED_NAME; 00746 00747 // Narrow to the right type. 00748 _tao_objref = 00749 TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow ( 00750 obj.in (), 00751 CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer 00752 ); 00753 00754 return 1; 00755 }
TAO_Export CORBA::Boolean operator>> | ( | TAO_InputCDR & | , | |
CORBA::InvalidPolicies & | ||||
) |
Definition at line 682 of file PolicyC.cpp.
References CORBA::InvalidPolicies::indices.
00686 { 00687 // Demarshal the members. 00688 return ( 00689 (strm >> _tao_aggregate.indices) 00690 ); 00691 }
TAO_Export CORBA::Boolean operator>> | ( | TAO_InputCDR & | , | |
CORBA::PolicyError & | ||||
) |
Definition at line 649 of file PolicyC.cpp.
References CORBA::PolicyError::reason.
00653 { 00654 // Demarshal the members. 00655 return ( 00656 (strm >> _tao_aggregate.reason) 00657 ); 00658 }
TAO_Export TAO::Collocation_Proxy_Broker*(*) CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer(CORBA::Object_ptr obj) |
Definition at line 398 of file PolicyC.cpp.
Referenced by CORBA::Policy::_narrow(), CORBA::Policy::_unchecked_narrow(), CORBA::Policy::CORBA_Policy_setup_collocation(), and operator>>().