#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 "tao/PolicyC.inl"
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.
Namespaces | |
namespace | TAO |
namespace | CORBA |
Classes | |
exception | PolicyError |
exception | InvalidPolicies |
interface | Policy |
Defines | |
#define | TAO_EXPORT_MACRO TAO_Export |
#define | _CORBA_POLICYERROR_CH_ |
#define | _CORBA_INVALIDPOLICIES_CH_ |
#define | _CORBA_POLICY__VAR_OUT_CH_ |
#define | _CORBA_POLICY_CH_ |
#define | _CORBA_POLICY__TRAITS_ |
Functions | |
TAO_Export CORBA::Boolean | operator<< (TAO_OutputCDR &, const CORBA::PolicyError &) |
TAO_Export CORBA::Boolean | operator>> (TAO_InputCDR &, CORBA::PolicyError &) |
TAO_Export CORBA::Boolean | operator<< (TAO_OutputCDR &, const CORBA::InvalidPolicies &) |
TAO_Export CORBA::Boolean | operator>> (TAO_InputCDR &, CORBA::InvalidPolicies &) |
TAO_Export CORBA::Boolean | operator<< (TAO_OutputCDR &, const CORBA::Policy_ptr) |
TAO_Export CORBA::Boolean | operator>> (TAO_InputCDR &, CORBA::Policy_ptr &) |
Variables | |
TAO_Export TAO::Collocation_Proxy_Broker *(* | CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer )(CORBA::Object_ptr obj) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 723 of file PolicyC.cpp. References CORBA::Object_ptr, and CORBA::Policy_ptr.
00727 { 00728 CORBA::Object_ptr _tao_corba_obj = _tao_objref; 00729 return (strm << _tao_corba_obj); 00730 } |
|
Definition at line 662 of file PolicyC.cpp. References CORBA::Exception::_rep_id(), and CORBA::InvalidPolicies::indices.
00666 { 00667 // First marshal the repository ID. 00668 if (strm << _tao_aggregate._rep_id ()) 00669 { 00670 // Now marshal the members (if any). 00671 return ( 00672 (strm << _tao_aggregate.indices) 00673 ); 00674 } 00675 else 00676 { 00677 return false; 00678 } 00679 } |
|
Definition at line 629 of file PolicyC.cpp. References CORBA::Exception::_rep_id(), and CORBA::PolicyError::reason.
00633 { 00634 // First marshal the repository ID. 00635 if (strm << _tao_aggregate._rep_id ()) 00636 { 00637 // Now marshal the members (if any). 00638 return ( 00639 (strm << _tao_aggregate.reason) 00640 ); 00641 } 00642 else 00643 { 00644 return false; 00645 } 00646 } |
|
Definition at line 732 of file PolicyC.cpp. References CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer, TAO_Pseudo_Var_T< T >::in(), TAO_Pseudo_Var_T< T >::inout(), CORBA::Object_var, CORBA::Policy_ptr, and TAO::Narrow_Utils< T >::unchecked_narrow().
00736 { 00737 CORBA::Object_var obj; 00738 00739 if (!(strm >> obj.inout ())) 00740 { 00741 return false; 00742 } 00743 00744 typedef ::CORBA::Policy RHS_SCOPED_NAME; 00745 00746 // Narrow to the right type. 00747 _tao_objref = 00748 TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow ( 00749 obj.in (), 00750 CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer 00751 ); 00752 00753 return 1; 00754 } |
|
Definition at line 681 of file PolicyC.cpp. References CORBA::InvalidPolicies::indices.
00685 { 00686 // Demarshal the members. 00687 return ( 00688 (strm >> _tao_aggregate.indices) 00689 ); 00690 } |
|
Definition at line 648 of file PolicyC.cpp. References CORBA::PolicyError::reason.
00652 { 00653 // Demarshal the members. 00654 return ( 00655 (strm >> _tao_aggregate.reason) 00656 ); 00657 } |
|
Definition at line 369 of file PolicyC.h. Referenced by CORBA::Policy::_narrow(), CORBA::Policy::_unchecked_narrow(), and operator>>(). |