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 "tao/CharSeqC.h"
00033 #include "tao/CDR.h"
00034
00035
00036
00037
00038 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00039
00040
00041 namespace TAO
00042 {
00043 }
00044
00045
00046
00047
00048
00049 #if !defined (_CORBA_CHARSEQ_CS_)
00050 #define _CORBA_CHARSEQ_CS_
00051
00052 CORBA::CharSeq::CharSeq (void)
00053 {}
00054
00055 CORBA::CharSeq::CharSeq (
00056 ::CORBA::ULong max
00057 )
00058 : TAO::unbounded_value_sequence<
00059 CORBA::Char
00060 >
00061 (max)
00062 {}
00063
00064 CORBA::CharSeq::CharSeq (
00065 ::CORBA::ULong max,
00066 ::CORBA::ULong length,
00067 ::CORBA::Char * buffer,
00068 ::CORBA::Boolean release
00069 )
00070 : TAO::unbounded_value_sequence<
00071 CORBA::Char
00072 >
00073 (max, length, buffer, release)
00074 {}
00075
00076 CORBA::CharSeq::CharSeq (
00077 const CharSeq &seq
00078 )
00079 : TAO::unbounded_value_sequence<
00080 CORBA::Char
00081 >
00082 (seq)
00083 {}
00084
00085 CORBA::CharSeq::~CharSeq (void)
00086 {}
00087
00088 void CORBA::CharSeq::_tao_any_destructor (
00089 void * _tao_void_pointer
00090 )
00091 {
00092 CharSeq * _tao_tmp_pointer =
00093 static_cast<CharSeq *> (_tao_void_pointer);
00094 delete _tao_tmp_pointer;
00095 }
00096
00097 #endif
00098
00099
00100
00101
00102 #if !defined _TAO_CDR_OP_CORBA_CharSeq_CPP_
00103 #define _TAO_CDR_OP_CORBA_CharSeq_CPP_
00104
00105 ::CORBA::Boolean operator<< (
00106 TAO_OutputCDR &strm,
00107 const CORBA::CharSeq &_tao_sequence
00108 )
00109 {
00110 return TAO::marshal_sequence(strm, _tao_sequence);
00111 }
00112
00113 ::CORBA::Boolean operator>> (
00114 TAO_InputCDR &strm,
00115 CORBA::CharSeq &_tao_sequence
00116 )
00117 {
00118 return TAO::demarshal_sequence(strm, _tao_sequence);
00119 }
00120
00121 #endif
00122
00123 TAO_END_VERSIONED_NAMESPACE_DECL