Policy_ForwardC.h File Reference

#include "ace/config-all.h"
#include "tao/TAO_Export.h"
#include "tao/Environment.h"
#include "tao/Sequence_T.h"
#include "tao/Objref_VarOut_T.h"
#include "tao/Seq_Var_T.h"
#include "tao/Seq_Out_T.h"

Include dependency graph for Policy_ForwardC.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  CORBA
namespace  TAO

Defines

#define TAO_EXPORT_MACRO   TAO_Export
#define _CORBA_POLICY__VAR_OUT_CH_
#define _CORBA_POLICYLIST_CH_
#define _CORBA_POLICYTYPESEQ_CH_
#define _CORBA_POLICYCURRENT__VAR_OUT_CH_
#define _CORBA_POLICY__TRAITS_
#define _CORBA_POLICYCURRENT__TRAITS_

Functions

TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::Policy_ptr)
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::Policy_ptr &)
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::PolicyList &)
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::PolicyList &)
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::PolicyTypeSeq &)
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::PolicyTypeSeq &)
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, CORBA::SetOverrideType)
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::SetOverrideType &)


Define Documentation

#define _CORBA_POLICY__TRAITS_
 

Definition at line 232 of file Policy_ForwardC.h.

#define _CORBA_POLICY__VAR_OUT_CH_
 

Definition at line 73 of file Policy_ForwardC.h.

#define _CORBA_POLICYCURRENT__TRAITS_
 

Definition at line 253 of file Policy_ForwardC.h.

#define _CORBA_POLICYCURRENT__VAR_OUT_CH_
 

Definition at line 189 of file Policy_ForwardC.h.

#define _CORBA_POLICYLIST_CH_
 

Definition at line 96 of file Policy_ForwardC.h.

#define _CORBA_POLICYTYPESEQ_CH_
 

Definition at line 143 of file Policy_ForwardC.h.

#define TAO_EXPORT_MACRO   TAO_Export
 

Definition at line 53 of file Policy_ForwardC.h.


Function Documentation

TAO_Export CORBA::Boolean operator<< TAO_OutputCDR ,
CORBA::SetOverrideType 
 

Definition at line 203 of file Policy_ForwardC.cpp.

00204 {
00205   return strm << static_cast<CORBA::ULong> (_tao_enumerator);
00206 }

TAO_Export CORBA::Boolean operator<< TAO_OutputCDR ,
const CORBA::PolicyTypeSeq
 

Definition at line 182 of file Policy_ForwardC.cpp.

References TAO::marshal_sequence().

00186 {
00187   return TAO::marshal_sequence(strm, _tao_sequence);
00188 }

TAO_Export CORBA::Boolean operator<< TAO_OutputCDR ,
const CORBA::PolicyList
 

Definition at line 158 of file Policy_ForwardC.cpp.

References TAO::marshal_sequence().

00162 {
00163   return TAO::marshal_sequence(strm, _tao_sequence);
00164 }

TAO_Export CORBA::Boolean operator<< TAO_OutputCDR ,
const CORBA::Policy_ptr 
 

Definition at line 1011 of file PolicyC.cpp.

01015 {
01016   CORBA::Object_ptr _tao_corba_obj = _tao_objref;
01017   return (strm << _tao_corba_obj);
01018 }

TAO_Export CORBA::Boolean operator>> TAO_InputCDR ,
CORBA::SetOverrideType
 

Definition at line 208 of file Policy_ForwardC.cpp.

00209 {
00210   CORBA::ULong _tao_temp = 0;
00211   CORBA::Boolean const _tao_success = strm >> _tao_temp;
00212 
00213   if (_tao_success)
00214     {
00215       _tao_enumerator = static_cast<CORBA::SetOverrideType> (_tao_temp);
00216     }
00217 
00218   return _tao_success;
00219 }

TAO_Export CORBA::Boolean operator>> TAO_InputCDR ,
CORBA::PolicyTypeSeq
 

Definition at line 190 of file Policy_ForwardC.cpp.

References TAO::demarshal_sequence().

00194 {
00195   return TAO::demarshal_sequence(strm, _tao_sequence);
00196 }

TAO_Export CORBA::Boolean operator>> TAO_InputCDR ,
CORBA::PolicyList
 

Definition at line 166 of file Policy_ForwardC.cpp.

References TAO::demarshal_sequence().

00170 {
00171   return TAO::demarshal_sequence(strm, _tao_sequence);
00172 }

TAO_Export CORBA::Boolean operator>> TAO_InputCDR ,
CORBA::Policy_ptr
 

Definition at line 1020 of file PolicyC.cpp.

01024 {
01025   CORBA::Object_var obj;
01026 
01027   if (!(strm >> obj.inout ()))
01028     {
01029       return false;
01030     }
01031 
01032   typedef ::CORBA::Policy RHS_SCOPED_NAME;
01033 
01034   // Narrow to the right type.
01035   _tao_objref =
01036     TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
01037         obj.in (),
01038         CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer
01039       );
01040 
01041   return 1;
01042 }


Generated on Thu Nov 9 12:05:02 2006 for TAO by doxygen 1.3.6