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/StringSeqC.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_STRINGSEQ_CS_)
00050 #define _CORBA_STRINGSEQ_CS_
00051 
00052 CORBA::StringSeq::StringSeq (void)
00053 {}
00054 
00055 CORBA::StringSeq::StringSeq (
00056     CORBA::ULong max
00057   )
00058   : TAO::unbounded_string_sequence
00059     (max)
00060 {}
00061 
00062 CORBA::StringSeq::StringSeq (
00063     CORBA::ULong max,
00064     CORBA::ULong length,
00065     char * * buffer,
00066     CORBA::Boolean release
00067   )
00068   : TAO::unbounded_string_sequence
00069     (max, length, buffer, release)
00070 {}
00071 
00072 CORBA::StringSeq::StringSeq (
00073     const StringSeq &seq
00074   )
00075   : TAO::unbounded_string_sequence
00076     (seq)
00077 {}
00078 
00079 CORBA::StringSeq::~StringSeq (void)
00080 {}
00081 
00082 void CORBA::StringSeq::_tao_any_destructor (
00083     void * _tao_void_pointer
00084   )
00085 {
00086   StringSeq * _tao_tmp_pointer =
00087     static_cast<StringSeq *> (_tao_void_pointer);
00088   delete _tao_tmp_pointer;
00089 }
00090 
00091 #endif 
00092 
00093 
00094 
00095 
00096 #if !defined _TAO_CDR_OP_CORBA_StringSeq_CPP_
00097 #define _TAO_CDR_OP_CORBA_StringSeq_CPP_
00098 
00099 CORBA::Boolean operator<< (
00100     TAO_OutputCDR &strm,
00101     const CORBA::StringSeq &_tao_sequence
00102   )
00103 {
00104   return TAO::marshal_sequence(strm, _tao_sequence);
00105 }
00106 
00107 CORBA::Boolean operator>> (
00108     TAO_InputCDR &strm,
00109     CORBA::StringSeq &_tao_sequence
00110   )
00111 {
00112   return TAO::demarshal_sequence(strm, _tao_sequence);
00113 }
00114 
00115 #endif 
00116 
00117 TAO_END_VERSIONED_NAMESPACE_DECL