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