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_SERVICESC_H_
00032 #define _TAO_IDL_SERVICESC_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/Environment.h"
00045 #include "tao/Sequence_T.h"
00046 #include "tao/Seq_Var_T.h"
00047 #include "tao/Seq_Out_T.h"
00048 #include "tao/VarOut_T.h"
00049
00050 #include "tao/OctetSeqC.h"
00051
00052 #if defined (TAO_EXPORT_MACRO)
00053 #undef TAO_EXPORT_MACRO
00054 #endif
00055 #define TAO_EXPORT_MACRO TAO_Export
00056
00057 #if defined(_MSC_VER)
00058 #pragma warning(push)
00059 #pragma warning(disable:4250)
00060 #endif
00061
00062
00063
00064
00065 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00066
00067 namespace CORBA
00068 {
00069
00070
00071
00072
00073 typedef CORBA::UShort ServiceType;
00074 typedef CORBA::UShort_out ServiceType_out;
00075
00076
00077
00078
00079 typedef CORBA::ULong ServiceOption;
00080 typedef CORBA::ULong_out ServiceOption_out;
00081
00082
00083
00084
00085 typedef CORBA::ULong ServiceDetailType;
00086 typedef CORBA::ULong_out ServiceDetailType_out;
00087
00088
00089
00090
00091 typedef OctetSeq ServiceDetailData;
00092 typedef OctetSeq_var ServiceDetailData_var;
00093 typedef OctetSeq_out ServiceDetailData_out;
00094
00095
00096
00097
00098 #if !defined (_CORBA_SERVICEOPTIONSEQ_CH_)
00099 #define _CORBA_SERVICEOPTIONSEQ_CH_
00100
00101 class ServiceOptionSeq;
00102
00103 typedef
00104 TAO_FixedSeq_Var_T<
00105 ServiceOptionSeq
00106 >
00107 ServiceOptionSeq_var;
00108
00109 typedef
00110 TAO_Seq_Out_T<
00111 ServiceOptionSeq
00112 >
00113 ServiceOptionSeq_out;
00114
00115 class TAO_Export ServiceOptionSeq
00116 : public
00117 TAO::unbounded_value_sequence<
00118 ServiceOption
00119 >
00120 {
00121 public:
00122 ServiceOptionSeq (void);
00123 ServiceOptionSeq (CORBA::ULong max);
00124 ServiceOptionSeq (
00125 CORBA::ULong max,
00126 CORBA::ULong length,
00127 CORBA::ULong* buffer,
00128 CORBA::Boolean release = false
00129 );
00130 ServiceOptionSeq (const ServiceOptionSeq &);
00131 ~ServiceOptionSeq (void);
00132
00133 static void _tao_any_destructor (void *);
00134
00135 typedef ServiceOptionSeq_var _var_type;
00136 };
00137
00138 #endif
00139
00140
00141
00142
00143 const CORBA::ServiceType Security = 1U;
00144
00145
00146
00147
00148 struct ServiceDetail;
00149
00150 typedef
00151 TAO_Var_Var_T<
00152 ServiceDetail
00153 >
00154 ServiceDetail_var;
00155
00156 typedef
00157 TAO_Out_T<
00158 ServiceDetail
00159 >
00160 ServiceDetail_out;
00161
00162
00163
00164
00165 struct TAO_Export ServiceDetail
00166 {
00167 typedef ServiceDetail_var _var_type;
00168
00169 static void _tao_any_destructor (void *);
00170 CORBA::ServiceDetailType service_detail_type;
00171 CORBA::ServiceDetailData service_detail;
00172 };
00173
00174
00175
00176
00177 #if !defined (_CORBA_SERVICEDETAILSEQ_CH_)
00178 #define _CORBA_SERVICEDETAILSEQ_CH_
00179
00180 class ServiceDetailSeq;
00181
00182 typedef
00183 TAO_VarSeq_Var_T<
00184 ServiceDetailSeq
00185 >
00186 ServiceDetailSeq_var;
00187
00188 typedef
00189 TAO_Seq_Out_T<
00190 ServiceDetailSeq
00191 >
00192 ServiceDetailSeq_out;
00193
00194 class TAO_Export ServiceDetailSeq
00195 : public
00196 TAO::unbounded_value_sequence<
00197 ServiceDetail
00198 >
00199 {
00200 public:
00201 ServiceDetailSeq (void);
00202 ServiceDetailSeq (CORBA::ULong max);
00203 ServiceDetailSeq (
00204 CORBA::ULong max,
00205 CORBA::ULong length,
00206 ServiceDetail* buffer,
00207 CORBA::Boolean release = false
00208 );
00209 ServiceDetailSeq (const ServiceDetailSeq &);
00210 ~ServiceDetailSeq (void);
00211
00212 static void _tao_any_destructor (void *);
00213
00214 typedef ServiceDetailSeq_var _var_type;
00215 };
00216
00217 #endif
00218
00219
00220
00221
00222 struct ServiceInformation;
00223
00224 typedef
00225 TAO_Var_Var_T<
00226 ServiceInformation
00227 >
00228 ServiceInformation_var;
00229
00230 typedef
00231 TAO_Out_T<
00232 ServiceInformation
00233 >
00234 ServiceInformation_out;
00235
00236
00237
00238
00239 struct TAO_Export ServiceInformation
00240 {
00241 typedef ServiceInformation_var _var_type;
00242 typedef ServiceInformation_out _out_type;
00243
00244 static void _tao_any_destructor (void *);
00245 CORBA::ServiceOptionSeq service_options;
00246 CORBA::ServiceDetailSeq service_details;
00247 };
00248
00249
00250
00251
00252 }
00253
00254
00255
00256
00257
00258 namespace TAO
00259 {
00260 }
00261
00262
00263
00264
00265 #if !defined _TAO_CDR_OP_CORBA_ServiceOptionSeq_H_
00266 #define _TAO_CDR_OP_CORBA_ServiceOptionSeq_H_
00267
00268 TAO_Export CORBA::Boolean operator<< (
00269 TAO_OutputCDR &,
00270 const CORBA::ServiceOptionSeq &
00271 );
00272 TAO_Export CORBA::Boolean operator>> (
00273 TAO_InputCDR &,
00274 CORBA::ServiceOptionSeq &
00275 );
00276
00277 #endif
00278
00279
00280
00281
00282 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::ServiceDetail &);
00283 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::ServiceDetail &);
00284
00285
00286
00287
00288 #if !defined _TAO_CDR_OP_CORBA_ServiceDetailSeq_H_
00289 #define _TAO_CDR_OP_CORBA_ServiceDetailSeq_H_
00290
00291 TAO_Export CORBA::Boolean operator<< (
00292 TAO_OutputCDR &,
00293 const CORBA::ServiceDetailSeq &
00294 );
00295 TAO_Export CORBA::Boolean operator>> (
00296 TAO_InputCDR &,
00297 CORBA::ServiceDetailSeq &
00298 );
00299
00300 #endif
00301
00302
00303
00304
00305 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::ServiceInformation &);
00306 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::ServiceInformation &);
00307
00308
00309
00310
00311 TAO_END_VERSIONED_NAMESPACE_DECL
00312
00313 #if defined(_MSC_VER)
00314 #pragma warning(pop)
00315 #endif
00316
00317 #include "ace/post.h"
00318
00319 #endif
00320
00321