Policy_ForwardC.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Policy_ForwardC.cpp,v 1.30 2006/04/19 08:40:55 jwillemsen Exp
00004 
00005 // ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
00006 // TAO and the TAO IDL Compiler have been developed by:
00007 //       Center for Distributed Object Computing
00008 //       Washington University
00009 //       St. Louis, MO
00010 //       USA
00011 //       http://www.cs.wustl.edu/~schmidt/doc-center.html
00012 // and
00013 //       Distributed Object Computing Laboratory
00014 //       University of California at Irvine
00015 //       Irvine, CA
00016 //       USA
00017 //       http://doc.ece.uci.edu/
00018 // and
00019 //       Institute for Software Integrated Systems
00020 //       Vanderbilt University
00021 //       Nashville, TN
00022 //       USA
00023 //       http://www.isis.vanderbilt.edu/
00024 //
00025 // Information about TAO is available at:
00026 //     http://www.cs.wustl.edu/~schmidt/TAO.html
00027 
00028 // TAO_IDL - Generated from
00029 // be\be_codegen.cpp:277
00030 
00031 
00032 #include "tao/Policy_ForwardC.h"
00033 #include "tao/CDR.h"
00034 
00035 // TAO_IDL - Generated from
00036 // be\be_visitor_arg_traits.cpp:70
00037 
00038 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00039 
00040 // Arg traits specializations.
00041 namespace TAO
00042 {
00043 }
00044 
00045 
00046 // TAO_IDL - Generated from
00047 // be\be_visitor_sequence/sequence_cs.cpp:65
00048 
00049 #if !defined (_CORBA_POLICYLIST_CS_)
00050 #define _CORBA_POLICYLIST_CS_
00051 
00052 CORBA::PolicyList::PolicyList (void)
00053 {}
00054 
00055 CORBA::PolicyList::PolicyList (
00056     CORBA::ULong max
00057   )
00058   : TAO::unbounded_object_reference_sequence<
00059         CORBA::Policy, CORBA::Policy_var
00060       >
00061     (max)
00062 {}
00063 
00064 CORBA::PolicyList::PolicyList (
00065     CORBA::ULong max,
00066     CORBA::ULong length,
00067     CORBA::Policy_ptr * buffer,
00068     CORBA::Boolean release
00069   )
00070   : TAO::unbounded_object_reference_sequence<
00071         CORBA::Policy, CORBA::Policy_var
00072       >
00073     (max, length, buffer, release)
00074 {}
00075 
00076 CORBA::PolicyList::PolicyList (
00077     const PolicyList &seq
00078   )
00079   : TAO::unbounded_object_reference_sequence<
00080         CORBA::Policy, CORBA::Policy_var
00081       >
00082     (seq)
00083 {}
00084 
00085 CORBA::PolicyList::~PolicyList (void)
00086 {}
00087 
00088 void CORBA::PolicyList::_tao_any_destructor (
00089     void * _tao_void_pointer
00090   )
00091 {
00092   PolicyList * _tao_tmp_pointer =
00093     static_cast<PolicyList *> (_tao_void_pointer);
00094   delete _tao_tmp_pointer;
00095 }
00096 
00097 #endif /* end #if !defined */
00098 
00099 // TAO_IDL - Generated from
00100 // be\be_visitor_sequence/sequence_cs.cpp:65
00101 
00102 #if !defined (_CORBA_POLICYTYPESEQ_CS_)
00103 #define _CORBA_POLICYTYPESEQ_CS_
00104 
00105 CORBA::PolicyTypeSeq::PolicyTypeSeq (void)
00106 {}
00107 
00108 CORBA::PolicyTypeSeq::PolicyTypeSeq (
00109     CORBA::ULong max
00110   )
00111   : TAO::unbounded_value_sequence<
00112         PolicyType
00113       >
00114     (max)
00115 {}
00116 
00117 CORBA::PolicyTypeSeq::PolicyTypeSeq (
00118     CORBA::ULong max,
00119     CORBA::ULong length,
00120     CORBA::ULong * buffer,
00121     CORBA::Boolean release
00122   )
00123   : TAO::unbounded_value_sequence<
00124         PolicyType
00125       >
00126     (max, length, buffer, release)
00127 {}
00128 
00129 CORBA::PolicyTypeSeq::PolicyTypeSeq (
00130     const PolicyTypeSeq &seq
00131   )
00132   : TAO::unbounded_value_sequence<
00133         PolicyType
00134       >
00135     (seq)
00136 {}
00137 
00138 CORBA::PolicyTypeSeq::~PolicyTypeSeq (void)
00139 {}
00140 
00141 void CORBA::PolicyTypeSeq::_tao_any_destructor (
00142     void * _tao_void_pointer
00143   )
00144 {
00145   PolicyTypeSeq * _tao_tmp_pointer =
00146     static_cast<PolicyTypeSeq *> (_tao_void_pointer);
00147   delete _tao_tmp_pointer;
00148 }
00149 
00150 #endif /* end #if !defined */
00151 
00152 // TAO_IDL - Generated from
00153 // be\be_visitor_sequence/cdr_op_cs.cpp:96
00154 
00155 #if !defined _TAO_CDR_OP_CORBA_PolicyList_CPP_
00156 #define _TAO_CDR_OP_CORBA_PolicyList_CPP_
00157 
00158 CORBA::Boolean operator<< (
00159     TAO_OutputCDR &strm,
00160     const CORBA::PolicyList &_tao_sequence
00161   )
00162 {
00163   return TAO::marshal_sequence(strm, _tao_sequence);
00164 }
00165 
00166 CORBA::Boolean operator>> (
00167     TAO_InputCDR &strm,
00168     CORBA::PolicyList &_tao_sequence
00169   )
00170 {
00171   return TAO::demarshal_sequence(strm, _tao_sequence);
00172 }
00173 
00174 #endif /* _TAO_CDR_OP_CORBA_PolicyList_CPP_ */
00175 
00176 // TAO_IDL - Generated from
00177 // be\be_visitor_sequence/cdr_op_cs.cpp:96
00178 
00179 #if !defined _TAO_CDR_OP_CORBA_PolicyTypeSeq_CPP_
00180 #define _TAO_CDR_OP_CORBA_PolicyTypeSeq_CPP_
00181 
00182 CORBA::Boolean operator<< (
00183     TAO_OutputCDR &strm,
00184     const CORBA::PolicyTypeSeq &_tao_sequence
00185   )
00186 {
00187   return TAO::marshal_sequence(strm, _tao_sequence);
00188 }
00189 
00190 CORBA::Boolean operator>> (
00191     TAO_InputCDR &strm,
00192     CORBA::PolicyTypeSeq &_tao_sequence
00193   )
00194 {
00195   return TAO::demarshal_sequence(strm, _tao_sequence);
00196 }
00197 
00198 #endif /* _TAO_CDR_OP_CORBA_PolicyTypeSeq_CPP_ */
00199 
00200 // TAO_IDL - Generated from
00201 // be\be_visitor_enum/cdr_op_cs.cpp:51
00202 
00203 CORBA::Boolean operator<< (TAO_OutputCDR & strm, CORBA::SetOverrideType _tao_enumerator)
00204 {
00205   return strm << static_cast<CORBA::ULong> (_tao_enumerator);
00206 }
00207 
00208 CORBA::Boolean operator>> (TAO_InputCDR & strm, CORBA::SetOverrideType & _tao_enumerator)
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 }
00220 
00221 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 11:54:20 2006 for TAO by doxygen 1.3.6