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 #ifndef _TAO_IDL_ORIG_USHORTSEQC_H_
00032 #define _TAO_IDL_ORIG_USHORTSEQC_H_
00033 
00034 #include  "ace/pre.h"
00035 
00036 
00037 #include "ace/config-all.h"
00038 
00039 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00040 # pragma once
00041 #endif 
00042 
00043 #include "tao/TAO_Export.h"
00044 #include "tao/ORB.h"
00045 #include "tao/Environment.h"
00046 #include "tao/Sequence_T.h"
00047 #include "tao/Seq_Var_T.h"
00048 #include "tao/Seq_Out_T.h"
00049 
00050 #if defined (TAO_EXPORT_MACRO)
00051 #undef TAO_EXPORT_MACRO
00052 #endif
00053 #define TAO_EXPORT_MACRO TAO_Export
00054 
00055 #if defined(_MSC_VER)
00056 #pragma warning(push)
00057 #pragma warning(disable:4250)
00058 #endif 
00059 
00060 #if defined (__BORLANDC__)
00061 #pragma option push -w-rvl -w-rch -w-ccc -w-inl
00062 #endif 
00063 
00064 
00065 
00066 
00067 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00068 
00069 namespace CORBA
00070 {
00071 
00072   
00073   
00074 
00075 #if !defined (_CORBA_USHORTSEQ_CH_)
00076 #define _CORBA_USHORTSEQ_CH_
00077 
00078   class UShortSeq;
00079 
00080   typedef
00081     TAO_FixedSeq_Var_T<
00082         UShortSeq
00083       >
00084     UShortSeq_var;
00085 
00086   typedef
00087     TAO_Seq_Out_T<
00088         UShortSeq
00089       >
00090     UShortSeq_out;
00091 
00092   class TAO_Export UShortSeq
00093     : public
00094         TAO::unbounded_value_sequence<
00095             CORBA::UShort
00096           >
00097   {
00098   public:
00099     UShortSeq (void);
00100     UShortSeq (CORBA::ULong max);
00101     UShortSeq (
00102         CORBA::ULong max,
00103         CORBA::ULong length,
00104         CORBA::UShort* buffer,
00105         CORBA::Boolean release = false
00106       );
00107     UShortSeq (const UShortSeq &);
00108     ~UShortSeq (void);
00109 
00110     static void _tao_any_destructor (void *);
00111 
00112     typedef UShortSeq_var _var_type;
00113     typedef UShortSeq_out _out_type;
00114   };
00115 
00116 #endif 
00117 
00118 
00119 
00120 
00121 } 
00122 
00123 
00124 
00125 
00126 
00127 namespace TAO
00128 {
00129 }
00130 
00131 
00132 
00133 
00134 
00135 
00136 
00137 
00138 
00139 #if defined ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT
00140   template class TAO_Export TAO::unbounded_value_sequence<CORBA::UShortSeq>;
00141 #endif 
00142 
00143 
00144 
00145 
00146 #if !defined _TAO_CDR_OP_CORBA_UShortSeq_H_
00147 #define _TAO_CDR_OP_CORBA_UShortSeq_H_
00148 
00149 TAO_Export CORBA::Boolean operator<< (
00150     TAO_OutputCDR &,
00151     const CORBA::UShortSeq &
00152   );
00153 TAO_Export CORBA::Boolean operator>> (
00154     TAO_InputCDR &,
00155     CORBA::UShortSeq &
00156   );
00157 
00158 #endif 
00159 
00160 
00161 
00162 
00163 TAO_END_VERSIONED_NAMESPACE_DECL
00164 
00165 #if defined(_MSC_VER)
00166 #pragma warning(pop)
00167 #endif 
00168 
00169 #if defined (__BORLANDC__)
00170 #pragma option pop
00171 #endif 
00172 
00173 #include  "ace/post.h"
00174 
00175 #endif 
00176 
00177