00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #include "WCharSeqC.h"
00033 #include "tao/CDR.h"
00034
00035
00036
00037 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00038
00039
00040
00041
00042 namespace TAO
00043 {
00044 }
00045
00046 TAO_END_VERSIONED_NAMESPACE_DECL
00047
00048
00049
00050
00051
00052
00053 #if !defined (_CORBA_WCHARSEQ_CS_)
00054 #define _CORBA_WCHARSEQ_CS_
00055
00056 CORBA::WCharSeq::WCharSeq (void)
00057 {}
00058
00059 CORBA::WCharSeq::WCharSeq (
00060 ::CORBA::ULong max
00061 )
00062 : TAO::unbounded_value_sequence<
00063 CORBA::WChar
00064 >
00065 (max)
00066 {}
00067
00068 CORBA::WCharSeq::WCharSeq (
00069 ::CORBA::ULong max,
00070 ::CORBA::ULong length,
00071 ::CORBA::WChar * buffer,
00072 ::CORBA::Boolean release
00073 )
00074 : TAO::unbounded_value_sequence<
00075 CORBA::WChar
00076 >
00077 (max, length, buffer, release)
00078 {}
00079
00080 CORBA::WCharSeq::WCharSeq (
00081 const WCharSeq &seq
00082 )
00083 : TAO::unbounded_value_sequence<
00084 CORBA::WChar
00085 >
00086 (seq)
00087 {}
00088
00089 CORBA::WCharSeq::~WCharSeq (void)
00090 {}
00091
00092 void CORBA::WCharSeq::_tao_any_destructor (
00093 void * _tao_void_pointer
00094 )
00095 {
00096 WCharSeq * _tao_tmp_pointer =
00097 static_cast<WCharSeq *> (_tao_void_pointer);
00098 delete _tao_tmp_pointer;
00099 }
00100
00101 #endif
00102
00103
00104
00105 #if !defined _TAO_CDR_OP_CORBA_WCharSeq_CPP_
00106 #define _TAO_CDR_OP_CORBA_WCharSeq_CPP_
00107
00108 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00109
00110 ::CORBA::Boolean operator<< (
00111 TAO_OutputCDR &strm,
00112 const CORBA::WCharSeq &_tao_sequence
00113 )
00114 {
00115 return TAO::marshal_sequence(strm, _tao_sequence);
00116 }
00117
00118 ::CORBA::Boolean operator>> (
00119 TAO_InputCDR &strm,
00120 CORBA::WCharSeq &_tao_sequence
00121 )
00122 {
00123 return TAO::demarshal_sequence(strm, _tao_sequence);
00124 }
00125
00126 TAO_END_VERSIONED_NAMESPACE_DECL
00127
00128 #endif
00129