#include "tao/PolicyC.h"
#include "tao/CDR.h"
#include "tao/SystemException.h"
#include "tao/Invocation_Adapter.h"
#include "tao/Object_T.h"
#include "tao/Basic_Arguments.h"
#include "tao/Object_Argument_T.h"
#include "ace/OS_NS_string.h"
#include "tao/AnyTypeCode_Adapter.h"
#include "ace/Dynamic_Service.h"
#include "tao/PolicyC.inl"
Include dependency graph for PolicyC.cpp:
Go to the source code of this file.
Namespaces | |
namespace | CORBA |
namespace | TAO |
Classes | |
class | TAO::Arg_Traits< CORBA::Policy > |
Defines | |
#define | _CORBA_POLICY__ARG_TRAITS_CS_ |
Typedefs | |
typedef Policy * | CORBA::Policy_ptr |
typedef TAO_Objref_Var_T< Policy > | CORBA::Policy_var |
typedef TAO_Objref_Out_T< Policy > | CORBA::Policy_out |
Functions | |
CORBA::Boolean | operator<< (TAO_OutputCDR &strm, const CORBA::PolicyError &_tao_aggregate) |
CORBA::Boolean | operator>> (TAO_InputCDR &strm, CORBA::PolicyError &_tao_aggregate) |
CORBA::Boolean | operator<< (TAO_OutputCDR &strm, const CORBA::InvalidPolicies &_tao_aggregate) |
CORBA::Boolean | operator>> (TAO_InputCDR &strm, CORBA::InvalidPolicies &_tao_aggregate) |
CORBA::Boolean | operator<< (TAO_OutputCDR &strm, const CORBA::Policy_ptr _tao_objref) |
CORBA::Boolean | operator>> (TAO_InputCDR &strm, CORBA::Policy_ptr &_tao_objref) |
Variables | |
TAO::Collocation_Proxy_Broker *(*) | CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer (CORBA::Object_ptr obj)=0 |
#define _CORBA_POLICY__ARG_TRAITS_CS_ |
Definition at line 75 of file PolicyC.cpp.
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | strm, | |
const CORBA::Policy_ptr | _tao_objref | |||
) |
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 }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | strm, | |
const CORBA::InvalidPolicies & | _tao_aggregate | |||
) |
Definition at line 663 of file PolicyC.cpp.
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 }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | strm, | |
const CORBA::PolicyError & | _tao_aggregate | |||
) |
Definition at line 630 of file PolicyC.cpp.
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 }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | strm, | |
CORBA::Policy_ptr & | _tao_objref | |||
) |
Definition at line 733 of file PolicyC.cpp.
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 }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | strm, | |
CORBA::InvalidPolicies & | _tao_aggregate | |||
) |
Definition at line 682 of file PolicyC.cpp.
00686 { 00687 // Demarshal the members. 00688 return ( 00689 (strm >> _tao_aggregate.indices) 00690 ); 00691 }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | strm, | |
CORBA::PolicyError & | _tao_aggregate | |||
) |
Definition at line 649 of file PolicyC.cpp.
00653 { 00654 // Demarshal the members. 00655 return ( 00656 (strm >> _tao_aggregate.reason) 00657 ); 00658 }
TAO::Collocation_Proxy_Broker*(*) CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer(CORBA::Object_ptr obj)=0 |
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>>().