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