Messaging_PolicyValueC.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Messaging_PolicyValueC.cpp,v 1.26 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:291
00030 
00031 
00032 #include "tao/Messaging_PolicyValueC.h"
00033 #include "tao/CDR.h"
00034 #include "tao/ORB_Core.h"
00035 
00036 #if defined (__BORLANDC__)
00037 #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
00038 #endif /* __BORLANDC__ */
00039 
00040 // TAO_IDL - Generated from
00041 // be\be_visitor_arg_traits.cpp:70
00042 
00043 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00044 
00045 // Arg traits specializations.
00046 namespace TAO
00047 {
00048 }
00049 
00050 
00051 // TAO_IDL - Generated from
00052 // be\be_visitor_structure/structure_cs.cpp:66
00053 
00054 void
00055 Messaging::PolicyValue::_tao_any_destructor (
00056     void *_tao_void_pointer
00057   )
00058 {
00059   PolicyValue *_tao_tmp_pointer =
00060     static_cast<PolicyValue *> (_tao_void_pointer);
00061   delete _tao_tmp_pointer;
00062 }
00063 
00064 // TAO_IDL - Generated from
00065 // be\be_visitor_sequence/sequence_cs.cpp:65
00066 
00067 #if !defined (_MESSAGING_POLICYVALUESEQ_CS_)
00068 #define _MESSAGING_POLICYVALUESEQ_CS_
00069 
00070 Messaging::PolicyValueSeq::PolicyValueSeq (void)
00071 {}
00072 
00073 Messaging::PolicyValueSeq::PolicyValueSeq (
00074     CORBA::ULong max
00075   )
00076   : TAO::unbounded_value_sequence<
00077         Messaging::PolicyValue
00078       >
00079     (max)
00080 {}
00081 
00082 Messaging::PolicyValueSeq::PolicyValueSeq (
00083     CORBA::ULong max,
00084     CORBA::ULong length,
00085     Messaging::PolicyValue * buffer,
00086     CORBA::Boolean release
00087   )
00088   : TAO::unbounded_value_sequence<
00089         Messaging::PolicyValue
00090       >
00091     (max, length, buffer, release)
00092 {}
00093 
00094 Messaging::PolicyValueSeq::PolicyValueSeq (
00095     const PolicyValueSeq &seq
00096   )
00097   : TAO::unbounded_value_sequence<
00098         Messaging::PolicyValue
00099       >
00100     (seq)
00101 {}
00102 
00103 Messaging::PolicyValueSeq::~PolicyValueSeq (void)
00104 {}
00105 
00106 void Messaging::PolicyValueSeq::_tao_any_destructor (
00107     void * _tao_void_pointer
00108   )
00109 {
00110   PolicyValueSeq * _tao_tmp_pointer =
00111     static_cast<PolicyValueSeq *> (_tao_void_pointer);
00112   delete _tao_tmp_pointer;
00113 }
00114 
00115 #endif /* end #if !defined */
00116 
00117 // TAO_IDL - Generated from
00118 // be\be_visitor_structure/cdr_op_cs.cpp:61
00119 
00120 CORBA::Boolean operator<< (
00121     TAO_OutputCDR &strm,
00122     const Messaging::PolicyValue &_tao_aggregate
00123   )
00124 {
00125   return
00126     (strm << _tao_aggregate.ptype) &&
00127     (strm << _tao_aggregate.pvalue);
00128 }
00129 
00130 CORBA::Boolean operator>> (
00131     TAO_InputCDR &strm,
00132     Messaging::PolicyValue &_tao_aggregate
00133   )
00134 {
00135   return
00136     (strm >> _tao_aggregate.ptype) &&
00137     (strm >> _tao_aggregate.pvalue);
00138 }
00139 
00140 // TAO_IDL - Generated from
00141 // be\be_visitor_sequence/cdr_op_cs.cpp:96
00142 
00143 #if !defined _TAO_CDR_OP_Messaging_PolicyValueSeq_CPP_
00144 #define _TAO_CDR_OP_Messaging_PolicyValueSeq_CPP_
00145 
00146 CORBA::Boolean operator<< (
00147     TAO_OutputCDR &strm,
00148     const Messaging::PolicyValueSeq &_tao_sequence
00149   )
00150 {
00151   return TAO::marshal_sequence(strm, _tao_sequence);
00152 }
00153 
00154 CORBA::Boolean operator>> (
00155     TAO_InputCDR &strm,
00156     Messaging::PolicyValueSeq &_tao_sequence
00157   )
00158 {
00159   return TAO::demarshal_sequence(strm, _tao_sequence);
00160 }
00161 
00162 #endif /* _TAO_CDR_OP_Messaging_PolicyValueSeq_CPP_ */
00163 
00164 TAO_END_VERSIONED_NAMESPACE_DECL

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