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/ServicesC.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_SERVICEOPTIONSEQ_CS_)
00051 #define _CORBA_SERVICEOPTIONSEQ_CS_
00052 
00053 CORBA::ServiceOptionSeq::ServiceOptionSeq (void)
00054 {}
00055 
00056 CORBA::ServiceOptionSeq::ServiceOptionSeq (
00057     CORBA::ULong max
00058   )
00059   : TAO::unbounded_value_sequence<
00060         ServiceOption
00061       >
00062     (max)
00063 {}
00064 
00065 CORBA::ServiceOptionSeq::ServiceOptionSeq (
00066     CORBA::ULong max,
00067     CORBA::ULong length,
00068     CORBA::ULong * buffer,
00069     CORBA::Boolean release
00070   )
00071   : TAO::unbounded_value_sequence<
00072         ServiceOption
00073       >
00074     (max, length, buffer, release)
00075 {}
00076 
00077 CORBA::ServiceOptionSeq::ServiceOptionSeq (
00078     const ServiceOptionSeq &seq
00079   )
00080   : TAO::unbounded_value_sequence<
00081         ServiceOption
00082       >
00083     (seq)
00084 {}
00085 
00086 CORBA::ServiceOptionSeq::~ServiceOptionSeq (void)
00087 {}
00088 
00089 void CORBA::ServiceOptionSeq::_tao_any_destructor (
00090     void * _tao_void_pointer
00091   )
00092 {
00093   ServiceOptionSeq * _tao_tmp_pointer =
00094     static_cast<ServiceOptionSeq *> (_tao_void_pointer);
00095   delete _tao_tmp_pointer;
00096 }
00097 
00098 #endif 
00099 
00100 
00101 
00102 
00103 void
00104 CORBA::ServiceDetail::_tao_any_destructor (
00105     void *_tao_void_pointer
00106   )
00107 {
00108   ServiceDetail *_tao_tmp_pointer =
00109     static_cast<ServiceDetail *> (_tao_void_pointer);
00110   delete _tao_tmp_pointer;
00111 }
00112 
00113 
00114 
00115 
00116 #if !defined (_CORBA_SERVICEDETAILSEQ_CS_)
00117 #define _CORBA_SERVICEDETAILSEQ_CS_
00118 
00119 CORBA::ServiceDetailSeq::ServiceDetailSeq (void)
00120 {}
00121 
00122 CORBA::ServiceDetailSeq::ServiceDetailSeq (
00123     CORBA::ULong max
00124   )
00125   : TAO::unbounded_value_sequence<
00126         ServiceDetail
00127       >
00128     (max)
00129 {}
00130 
00131 CORBA::ServiceDetailSeq::ServiceDetailSeq (
00132     CORBA::ULong max,
00133     CORBA::ULong length,
00134     CORBA::ServiceDetail * buffer,
00135     CORBA::Boolean release
00136   )
00137   : TAO::unbounded_value_sequence<
00138         ServiceDetail
00139       >
00140     (max, length, buffer, release)
00141 {}
00142 
00143 CORBA::ServiceDetailSeq::ServiceDetailSeq (
00144     const ServiceDetailSeq &seq
00145   )
00146   : TAO::unbounded_value_sequence<
00147         ServiceDetail
00148       >
00149     (seq)
00150 {}
00151 
00152 CORBA::ServiceDetailSeq::~ServiceDetailSeq (void)
00153 {}
00154 
00155 void CORBA::ServiceDetailSeq::_tao_any_destructor (
00156     void * _tao_void_pointer
00157   )
00158 {
00159   ServiceDetailSeq * _tao_tmp_pointer =
00160     static_cast<ServiceDetailSeq *> (_tao_void_pointer);
00161   delete _tao_tmp_pointer;
00162 }
00163 
00164 #endif 
00165 
00166 
00167 
00168 
00169 void
00170 CORBA::ServiceInformation::_tao_any_destructor (
00171     void *_tao_void_pointer
00172   )
00173 {
00174   ServiceInformation *_tao_tmp_pointer =
00175     static_cast<ServiceInformation *> (_tao_void_pointer);
00176   delete _tao_tmp_pointer;
00177 }
00178 
00179 
00180 
00181 
00182 #if !defined _TAO_CDR_OP_CORBA_ServiceOptionSeq_CPP_
00183 #define _TAO_CDR_OP_CORBA_ServiceOptionSeq_CPP_
00184 
00185 CORBA::Boolean operator<< (
00186     TAO_OutputCDR &strm,
00187     const CORBA::ServiceOptionSeq &_tao_sequence
00188   )
00189 {
00190   return TAO::marshal_sequence(strm, _tao_sequence);
00191 }
00192 
00193 CORBA::Boolean operator>> (
00194     TAO_InputCDR &strm,
00195     CORBA::ServiceOptionSeq &_tao_sequence
00196   )
00197 {
00198   return TAO::demarshal_sequence(strm, _tao_sequence);
00199 }
00200 
00201 #endif 
00202 
00203 
00204 
00205 
00206 CORBA::Boolean operator<< (
00207     TAO_OutputCDR &strm,
00208     const CORBA::ServiceDetail &_tao_aggregate
00209   )
00210 {
00211   return
00212     (strm << _tao_aggregate.service_detail_type) &&
00213     (strm << _tao_aggregate.service_detail);
00214 }
00215 
00216 CORBA::Boolean operator>> (
00217     TAO_InputCDR &strm,
00218     CORBA::ServiceDetail &_tao_aggregate
00219   )
00220 {
00221   return
00222     (strm >> _tao_aggregate.service_detail_type) &&
00223     (strm >> _tao_aggregate.service_detail);
00224 }
00225 
00226 
00227 
00228 
00229 #if !defined _TAO_CDR_OP_CORBA_ServiceDetailSeq_CPP_
00230 #define _TAO_CDR_OP_CORBA_ServiceDetailSeq_CPP_
00231 
00232 CORBA::Boolean operator<< (
00233     TAO_OutputCDR &strm,
00234     const CORBA::ServiceDetailSeq &_tao_sequence
00235   )
00236 {
00237   return TAO::marshal_sequence(strm, _tao_sequence);
00238 }
00239 
00240 CORBA::Boolean operator>> (
00241     TAO_InputCDR &strm,
00242     CORBA::ServiceDetailSeq &_tao_sequence
00243   )
00244 {
00245   return TAO::demarshal_sequence(strm, _tao_sequence);
00246 }
00247 
00248 #endif 
00249 
00250 
00251 
00252 
00253 CORBA::Boolean operator<< (
00254     TAO_OutputCDR &strm,
00255     const CORBA::ServiceInformation &_tao_aggregate
00256   )
00257 {
00258   return
00259     (strm << _tao_aggregate.service_options) &&
00260     (strm << _tao_aggregate.service_details);
00261 }
00262 
00263 CORBA::Boolean operator>> (
00264     TAO_InputCDR &strm,
00265     CORBA::ServiceInformation &_tao_aggregate
00266   )
00267 {
00268   return
00269     (strm >> _tao_aggregate.service_options) &&
00270     (strm >> _tao_aggregate.service_details);
00271 }
00272 
00273 TAO_END_VERSIONED_NAMESPACE_DECL