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_LONGSEQC_H_
00032 #define _TAO_IDL_ORIG_LONGSEQC_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_LONGSEQ_CH_)
00076 #define _CORBA_LONGSEQ_CH_
00077 
00078   class LongSeq;
00079 
00080   typedef
00081     TAO_FixedSeq_Var_T<
00082         LongSeq
00083       >
00084     LongSeq_var;
00085 
00086   typedef
00087     TAO_Seq_Out_T<
00088         LongSeq
00089       >
00090     LongSeq_out;
00091 
00092   class TAO_Export LongSeq
00093     : public
00094         TAO::unbounded_value_sequence<
00095             CORBA::Long
00096           >
00097   {
00098   public:
00099     LongSeq (void);
00100     LongSeq (CORBA::ULong max);
00101     LongSeq (
00102         CORBA::ULong max,
00103         CORBA::ULong length,
00104         CORBA::Long* buffer,
00105         CORBA::Boolean release = false
00106       );
00107     LongSeq (const LongSeq &);
00108     ~LongSeq (void);
00109 
00110     static void _tao_any_destructor (void *);
00111 
00112     typedef LongSeq_var _var_type;
00113     typedef LongSeq_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 #if !defined _TAO_CDR_OP_CORBA_LongSeq_H_
00135 #define _TAO_CDR_OP_CORBA_LongSeq_H_
00136 
00137 TAO_Export CORBA::Boolean operator<< (
00138     TAO_OutputCDR &,
00139     const CORBA::LongSeq &
00140   );
00141 TAO_Export CORBA::Boolean operator>> (
00142     TAO_InputCDR &,
00143     CORBA::LongSeq &
00144   );
00145 
00146 #endif 
00147 
00148 
00149 
00150 
00151 TAO_END_VERSIONED_NAMESPACE_DECL
00152 
00153 #if defined(_MSC_VER)
00154 #pragma warning(pop)
00155 #endif 
00156 
00157 #if defined (__BORLANDC__)
00158 #pragma option pop
00159 #endif 
00160 
00161 #include  "ace/post.h"
00162 
00163 #endif 
00164 
00165