[1860] | 1 | /*
|
---|
| 2 | * MICO --- a free CORBA implementation
|
---|
| 3 | * Copyright (C) 1997-98 Kay Roemer & Arno Puder
|
---|
| 4 | *
|
---|
| 5 | * This file was automatically generated. DO NOT EDIT!
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #if !defined(__CORBAIFACE_H__) || defined(MICO_NO_TOPLEVEL_MODULES)
|
---|
| 9 | #define __CORBAIFACE_H__
|
---|
| 10 |
|
---|
| 11 | #ifndef MICO_NO_TOPLEVEL_MODULES
|
---|
| 12 | #include <CORBA.h>
|
---|
| 13 | #include <mico/throw.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 | #ifndef MICO_NO_TOPLEVEL_MODULES
|
---|
| 17 | MICO_NAMESPACE_DECL gsdlInterface {
|
---|
| 18 | #endif
|
---|
| 19 |
|
---|
| 20 | #if !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE_gsdlInterface)
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | typedef SequenceTmpl<CORBA::UShort,MICO_TID_DEF> usString;
|
---|
| 24 | #ifdef _WINDOWS
|
---|
| 25 | static usString _dummy_usString;
|
---|
| 26 | #endif
|
---|
| 27 | typedef TSeqVar<SequenceTmpl<CORBA::UShort,MICO_TID_DEF> > usString_var;
|
---|
[2113] | 28 | typedef TSeqOut<SequenceTmpl<CORBA::UShort,MICO_TID_DEF> > usString_out;
|
---|
[1860] | 29 |
|
---|
| 30 | typedef StringSequenceTmpl<CORBA::String_var> stringSeq;
|
---|
| 31 | #ifdef _WINDOWS
|
---|
| 32 | static stringSeq _dummy_stringSeq;
|
---|
| 33 | #endif
|
---|
| 34 | typedef TSeqVar<StringSequenceTmpl<CORBA::String_var> > stringSeq_var;
|
---|
[2113] | 35 | typedef TSeqOut<StringSequenceTmpl<CORBA::String_var> > stringSeq_out;
|
---|
[1860] | 36 |
|
---|
| 37 | struct corbatext_t;
|
---|
| 38 | typedef TVarVar<corbatext_t> corbatext_t_var;
|
---|
[2113] | 39 | typedef TVarOut<corbatext_t> corbatext_t_out;
|
---|
[1860] | 40 |
|
---|
| 41 | struct corbatext_t {
|
---|
| 42 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 43 | typedef corbatext_t_var _var_type;
|
---|
| 44 | #endif
|
---|
| 45 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 46 | corbatext_t();
|
---|
| 47 | ~corbatext_t();
|
---|
| 48 | corbatext_t( const corbatext_t& s );
|
---|
| 49 | corbatext_t& operator=( const corbatext_t& s );
|
---|
| 50 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 51 |
|
---|
| 52 | usString text;
|
---|
| 53 | CORBA::UShort encoding;
|
---|
| 54 | CORBA::ULong length;
|
---|
| 55 | };
|
---|
| 56 |
|
---|
| 57 | typedef SequenceTmpl<corbatext_t,MICO_TID_DEF> corbatext_tarray;
|
---|
| 58 | #ifdef _WINDOWS
|
---|
| 59 | static corbatext_tarray _dummy_corbatext_tarray;
|
---|
| 60 | #endif
|
---|
| 61 | typedef TSeqVar<SequenceTmpl<corbatext_t,MICO_TID_DEF> > corbatext_tarray_var;
|
---|
[2113] | 62 | typedef TSeqOut<SequenceTmpl<corbatext_t,MICO_TID_DEF> > corbatext_tarray_out;
|
---|
[1860] | 63 |
|
---|
| 64 | typedef corbatext_tarray corbatext_tset;
|
---|
| 65 | #ifdef _WINDOWS
|
---|
| 66 | static corbatext_tset _dummy_corbatext_tset;
|
---|
| 67 | #endif
|
---|
| 68 | typedef TSeqVar<corbatext_tarray > corbatext_tset_var;
|
---|
[2113] | 69 | typedef TSeqOut<corbatext_tarray > corbatext_tset_out;
|
---|
[1860] | 70 |
|
---|
| 71 | struct corbatext_tmap;
|
---|
| 72 | typedef TVarVar<corbatext_tmap> corbatext_tmap_var;
|
---|
[2113] | 73 | typedef TVarOut<corbatext_tmap> corbatext_tmap_out;
|
---|
[1860] | 74 |
|
---|
| 75 | struct corbatext_tmap {
|
---|
| 76 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 77 | typedef corbatext_tmap_var _var_type;
|
---|
| 78 | #endif
|
---|
| 79 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 80 | corbatext_tmap();
|
---|
| 81 | ~corbatext_tmap();
|
---|
| 82 | corbatext_tmap( const corbatext_tmap& s );
|
---|
| 83 | corbatext_tmap& operator=( const corbatext_tmap& s );
|
---|
| 84 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 85 |
|
---|
| 86 | corbatext_tarray names;
|
---|
| 87 | corbatext_tarray values;
|
---|
| 88 | };
|
---|
| 89 |
|
---|
| 90 | enum corbaComError {
|
---|
| 91 | corbaNoError = 0,
|
---|
| 92 | corbaAuthenticationFailure,
|
---|
| 93 | corbaProtocolError,
|
---|
| 94 | corbaConfigurationError,
|
---|
| 95 | corbaSystemProblem
|
---|
| 96 | };
|
---|
| 97 |
|
---|
| 98 | typedef corbaComError& corbaComError_out;
|
---|
| 99 |
|
---|
| 100 | struct corbaShortColInfo;
|
---|
| 101 | typedef TVarVar<corbaShortColInfo> corbaShortColInfo_var;
|
---|
[2113] | 102 | typedef TVarOut<corbaShortColInfo> corbaShortColInfo_out;
|
---|
[1860] | 103 |
|
---|
| 104 | struct corbaShortColInfo {
|
---|
| 105 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 106 | typedef corbaShortColInfo_var _var_type;
|
---|
| 107 | #endif
|
---|
| 108 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 109 | corbaShortColInfo();
|
---|
| 110 | ~corbaShortColInfo();
|
---|
| 111 | corbaShortColInfo( const corbaShortColInfo& s );
|
---|
| 112 | corbaShortColInfo& operator=( const corbaShortColInfo& s );
|
---|
| 113 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 114 |
|
---|
| 115 | corbatext_t name;
|
---|
| 116 | corbatext_t host;
|
---|
| 117 | CORBA::Long response;
|
---|
| 118 | };
|
---|
| 119 |
|
---|
| 120 | struct corbaColInfoResponse;
|
---|
| 121 | typedef TVarVar<corbaColInfoResponse> corbaColInfoResponse_var;
|
---|
[2113] | 122 | typedef TVarOut<corbaColInfoResponse> corbaColInfoResponse_out;
|
---|
[1860] | 123 |
|
---|
| 124 | struct corbaColInfoResponse {
|
---|
| 125 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 126 | typedef corbaColInfoResponse_var _var_type;
|
---|
| 127 | #endif
|
---|
| 128 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 129 | corbaColInfoResponse();
|
---|
| 130 | ~corbaColInfoResponse();
|
---|
| 131 | corbaColInfoResponse( const corbaColInfoResponse& s );
|
---|
| 132 | corbaColInfoResponse& operator=( const corbaColInfoResponse& s );
|
---|
| 133 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 134 |
|
---|
| 135 | corbaShortColInfo shoftInfo;
|
---|
| 136 | CORBA::Boolean isPublic;
|
---|
| 137 | CORBA::Boolean isBeta;
|
---|
| 138 | CORBA::ULong buildDate;
|
---|
| 139 | corbatext_tarray ccsCols;
|
---|
| 140 | corbatext_tarray languages;
|
---|
| 141 | CORBA::ULong numDocs;
|
---|
| 142 | CORBA::ULong numWords;
|
---|
| 143 | CORBA::ULong numBytes;
|
---|
| 144 | corbatext_tmap collectionMeta;
|
---|
| 145 | corbatext_tmap format;
|
---|
| 146 | corbatext_tmap building;
|
---|
| 147 | corbatext_t httpdomain;
|
---|
| 148 | corbatext_t httpprefix;
|
---|
| 149 | corbatext_t receptionist;
|
---|
| 150 | };
|
---|
| 151 |
|
---|
| 152 | struct corbaDocRequest;
|
---|
| 153 | typedef TVarVar<corbaDocRequest> corbaDocRequest_var;
|
---|
[2113] | 154 | typedef TVarOut<corbaDocRequest> corbaDocRequest_out;
|
---|
[1860] | 155 |
|
---|
| 156 | struct corbaDocRequest {
|
---|
| 157 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 158 | typedef corbaDocRequest_var _var_type;
|
---|
| 159 | #endif
|
---|
| 160 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 161 | corbaDocRequest();
|
---|
| 162 | ~corbaDocRequest();
|
---|
| 163 | corbaDocRequest( const corbaDocRequest& s );
|
---|
| 164 | corbaDocRequest& operator=( const corbaDocRequest& s );
|
---|
| 165 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 166 |
|
---|
| 167 | corbatext_t OID;
|
---|
| 168 | corbatext_t docType;
|
---|
| 169 | corbatext_t docFormat;
|
---|
| 170 | };
|
---|
| 171 |
|
---|
| 172 | struct corbaDocResponse;
|
---|
| 173 | typedef TVarVar<corbaDocResponse> corbaDocResponse_var;
|
---|
[2113] | 174 | typedef TVarOut<corbaDocResponse> corbaDocResponse_out;
|
---|
[1860] | 175 |
|
---|
| 176 | struct corbaDocResponse {
|
---|
| 177 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 178 | typedef corbaDocResponse_var _var_type;
|
---|
| 179 | #endif
|
---|
| 180 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 181 | corbaDocResponse();
|
---|
| 182 | ~corbaDocResponse();
|
---|
| 183 | corbaDocResponse( const corbaDocResponse& s );
|
---|
| 184 | corbaDocResponse& operator=( const corbaDocResponse& s );
|
---|
| 185 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 186 |
|
---|
| 187 | corbatext_t doc;
|
---|
| 188 | };
|
---|
| 189 |
|
---|
| 190 | enum corbaFilterType {
|
---|
| 191 | booleanType = 0,
|
---|
| 192 | integerType,
|
---|
| 193 | enumeratedType,
|
---|
| 194 | stringType
|
---|
| 195 | };
|
---|
| 196 |
|
---|
| 197 | typedef corbaFilterType& corbaFilterType_out;
|
---|
| 198 |
|
---|
| 199 | enum corbaFilterRepeatable {
|
---|
| 200 | onePerQuery = 0,
|
---|
| 201 | onePerTerm,
|
---|
| 202 | nPerTerm
|
---|
| 203 | };
|
---|
| 204 |
|
---|
| 205 | typedef corbaFilterRepeatable& corbaFilterRepeatable_out;
|
---|
| 206 |
|
---|
| 207 | struct corbaFilterOption;
|
---|
| 208 | typedef TVarVar<corbaFilterOption> corbaFilterOption_var;
|
---|
[2113] | 209 | typedef TVarOut<corbaFilterOption> corbaFilterOption_out;
|
---|
[1860] | 210 |
|
---|
| 211 | struct corbaFilterOption {
|
---|
| 212 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 213 | typedef corbaFilterOption_var _var_type;
|
---|
| 214 | #endif
|
---|
| 215 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 216 | corbaFilterOption();
|
---|
| 217 | ~corbaFilterOption();
|
---|
| 218 | corbaFilterOption( const corbaFilterOption& s );
|
---|
| 219 | corbaFilterOption& operator=( const corbaFilterOption& s );
|
---|
| 220 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 221 |
|
---|
| 222 | corbatext_t name;
|
---|
| 223 | corbaFilterType type;
|
---|
| 224 | corbaFilterRepeatable repeatable;
|
---|
| 225 | corbatext_t defaultValue;
|
---|
| 226 | corbatext_tarray validValues;
|
---|
| 227 | };
|
---|
| 228 |
|
---|
| 229 | typedef SequenceTmpl<corbaFilterOption,MICO_TID_DEF> corbaFilterOptionList;
|
---|
| 230 | #ifdef _WINDOWS
|
---|
| 231 | static corbaFilterOptionList _dummy_corbaFilterOptionList;
|
---|
| 232 | #endif
|
---|
| 233 | typedef TSeqVar<SequenceTmpl<corbaFilterOption,MICO_TID_DEF> > corbaFilterOptionList_var;
|
---|
[2113] | 234 | typedef TSeqOut<SequenceTmpl<corbaFilterOption,MICO_TID_DEF> > corbaFilterOptionList_out;
|
---|
[1860] | 235 |
|
---|
| 236 | struct corbaFilterOptionsResponse;
|
---|
| 237 | typedef TVarVar<corbaFilterOptionsResponse> corbaFilterOptionsResponse_var;
|
---|
[2113] | 238 | typedef TVarOut<corbaFilterOptionsResponse> corbaFilterOptionsResponse_out;
|
---|
[1860] | 239 |
|
---|
| 240 | struct corbaFilterOptionsResponse {
|
---|
| 241 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 242 | typedef corbaFilterOptionsResponse_var _var_type;
|
---|
| 243 | #endif
|
---|
| 244 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 245 | corbaFilterOptionsResponse();
|
---|
| 246 | ~corbaFilterOptionsResponse();
|
---|
| 247 | corbaFilterOptionsResponse( const corbaFilterOptionsResponse& s );
|
---|
| 248 | corbaFilterOptionsResponse& operator=( const corbaFilterOptionsResponse& s );
|
---|
| 249 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 250 |
|
---|
| 251 | corbaFilterOptionList options;
|
---|
| 252 | corbatext_tarray names;
|
---|
| 253 | };
|
---|
| 254 |
|
---|
| 255 | struct corbaOptionValue;
|
---|
| 256 | typedef TVarVar<corbaOptionValue> corbaOptionValue_var;
|
---|
[2113] | 257 | typedef TVarOut<corbaOptionValue> corbaOptionValue_out;
|
---|
[1860] | 258 |
|
---|
| 259 | struct corbaOptionValue {
|
---|
| 260 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 261 | typedef corbaOptionValue_var _var_type;
|
---|
| 262 | #endif
|
---|
| 263 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 264 | corbaOptionValue();
|
---|
| 265 | ~corbaOptionValue();
|
---|
| 266 | corbaOptionValue( const corbaOptionValue& s );
|
---|
| 267 | corbaOptionValue& operator=( const corbaOptionValue& s );
|
---|
| 268 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 269 |
|
---|
| 270 | corbatext_t name;
|
---|
| 271 | corbatext_t value;
|
---|
| 272 | };
|
---|
| 273 |
|
---|
| 274 | typedef SequenceTmpl<corbaOptionValue,MICO_TID_DEF> corbaOptionValue_array;
|
---|
| 275 | #ifdef _WINDOWS
|
---|
| 276 | static corbaOptionValue_array _dummy_corbaOptionValue_array;
|
---|
| 277 | #endif
|
---|
| 278 | typedef TSeqVar<SequenceTmpl<corbaOptionValue,MICO_TID_DEF> > corbaOptionValue_array_var;
|
---|
[2113] | 279 | typedef TSeqOut<SequenceTmpl<corbaOptionValue,MICO_TID_DEF> > corbaOptionValue_array_out;
|
---|
[1860] | 280 |
|
---|
| 281 | struct corbaFilterRequest;
|
---|
| 282 | typedef TVarVar<corbaFilterRequest> corbaFilterRequest_var;
|
---|
[2113] | 283 | typedef TVarOut<corbaFilterRequest> corbaFilterRequest_out;
|
---|
[1860] | 284 |
|
---|
| 285 | struct corbaFilterRequest {
|
---|
| 286 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 287 | typedef corbaFilterRequest_var _var_type;
|
---|
| 288 | #endif
|
---|
| 289 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 290 | corbaFilterRequest();
|
---|
| 291 | ~corbaFilterRequest();
|
---|
| 292 | corbaFilterRequest( const corbaFilterRequest& s );
|
---|
| 293 | corbaFilterRequest& operator=( const corbaFilterRequest& s );
|
---|
| 294 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 295 |
|
---|
| 296 | corbatext_t filter;
|
---|
| 297 | corbaOptionValue_array filterOptions;
|
---|
| 298 | corbatext_tarray docSet;
|
---|
| 299 | CORBA::Long filterResultOptions;
|
---|
| 300 | corbatext_t requestParams;
|
---|
| 301 | corbatext_t refParams;
|
---|
| 302 | corbatext_tset fields;
|
---|
| 303 | CORBA::Boolean getParents;
|
---|
| 304 | };
|
---|
| 305 |
|
---|
| 306 | struct corbaTermInfo;
|
---|
| 307 | typedef TVarVar<corbaTermInfo> corbaTermInfo_var;
|
---|
[2113] | 308 | typedef TVarOut<corbaTermInfo> corbaTermInfo_out;
|
---|
[1860] | 309 |
|
---|
| 310 | struct corbaTermInfo {
|
---|
| 311 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 312 | typedef corbaTermInfo_var _var_type;
|
---|
| 313 | #endif
|
---|
| 314 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 315 | corbaTermInfo();
|
---|
| 316 | ~corbaTermInfo();
|
---|
| 317 | corbaTermInfo( const corbaTermInfo& s );
|
---|
| 318 | corbaTermInfo& operator=( const corbaTermInfo& s );
|
---|
| 319 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 320 |
|
---|
| 321 | corbatext_t term;
|
---|
| 322 | CORBA::Long frequency;
|
---|
| 323 | corbatext_tarray matchTerms;
|
---|
| 324 | };
|
---|
| 325 |
|
---|
| 326 | typedef SequenceTmpl<corbaTermInfo,MICO_TID_DEF> corbaTermInfo_array;
|
---|
| 327 | #ifdef _WINDOWS
|
---|
| 328 | static corbaTermInfo_array _dummy_corbaTermInfo_array;
|
---|
| 329 | #endif
|
---|
| 330 | typedef TSeqVar<SequenceTmpl<corbaTermInfo,MICO_TID_DEF> > corbaTermInfo_array_var;
|
---|
[2113] | 331 | typedef TSeqOut<SequenceTmpl<corbaTermInfo,MICO_TID_DEF> > corbaTermInfo_array_out;
|
---|
[1860] | 332 |
|
---|
| 333 | struct corbaMetadataInfo;
|
---|
| 334 | typedef TVarVar<corbaMetadataInfo> corbaMetadataInfo_var;
|
---|
[2113] | 335 | typedef TVarOut<corbaMetadataInfo> corbaMetadataInfo_out;
|
---|
[1860] | 336 |
|
---|
| 337 | struct corbaMetadataInfo {
|
---|
| 338 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 339 | typedef corbaMetadataInfo_var _var_type;
|
---|
| 340 | #endif
|
---|
| 341 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 342 | corbaMetadataInfo();
|
---|
| 343 | ~corbaMetadataInfo();
|
---|
| 344 | corbaMetadataInfo( const corbaMetadataInfo& s );
|
---|
| 345 | corbaMetadataInfo& operator=( const corbaMetadataInfo& s );
|
---|
| 346 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 347 |
|
---|
| 348 | corbatext_t params;
|
---|
| 349 | CORBA::Boolean isRef;
|
---|
| 350 | corbatext_tarray values;
|
---|
| 351 | CORBA::Long id;
|
---|
| 352 | CORBA::Long parentid;
|
---|
| 353 | };
|
---|
| 354 |
|
---|
| 355 | typedef SequenceTmpl<corbaMetadataInfo,MICO_TID_DEF> corbaMetadataInfo_array;
|
---|
| 356 | #ifdef _WINDOWS
|
---|
| 357 | static corbaMetadataInfo_array _dummy_corbaMetadataInfo_array;
|
---|
| 358 | #endif
|
---|
| 359 | typedef TSeqVar<SequenceTmpl<corbaMetadataInfo,MICO_TID_DEF> > corbaMetadataInfo_array_var;
|
---|
[2113] | 360 | typedef TSeqOut<SequenceTmpl<corbaMetadataInfo,MICO_TID_DEF> > corbaMetadataInfo_array_out;
|
---|
[1860] | 361 |
|
---|
| 362 | struct corbaMetadataInfo_map;
|
---|
| 363 | typedef TVarVar<corbaMetadataInfo_map> corbaMetadataInfo_map_var;
|
---|
[2113] | 364 | typedef TVarOut<corbaMetadataInfo_map> corbaMetadataInfo_map_out;
|
---|
[1860] | 365 |
|
---|
| 366 | struct corbaMetadataInfo_map {
|
---|
| 367 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 368 | typedef corbaMetadataInfo_map_var _var_type;
|
---|
| 369 | #endif
|
---|
| 370 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 371 | corbaMetadataInfo_map();
|
---|
| 372 | ~corbaMetadataInfo_map();
|
---|
| 373 | corbaMetadataInfo_map( const corbaMetadataInfo_map& s );
|
---|
| 374 | corbaMetadataInfo_map& operator=( const corbaMetadataInfo_map& s );
|
---|
| 375 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 376 |
|
---|
| 377 | corbatext_tarray names;
|
---|
| 378 | corbaMetadataInfo_array values;
|
---|
| 379 | };
|
---|
| 380 |
|
---|
| 381 | typedef SequenceTmpl<CORBA::Long,MICO_TID_DEF> corbaDocFreq_array;
|
---|
| 382 | #ifdef _WINDOWS
|
---|
| 383 | static corbaDocFreq_array _dummy_corbaDocFreq_array;
|
---|
| 384 | #endif
|
---|
| 385 | typedef TSeqVar<SequenceTmpl<CORBA::Long,MICO_TID_DEF> > corbaDocFreq_array_var;
|
---|
[2113] | 386 | typedef TSeqOut<SequenceTmpl<CORBA::Long,MICO_TID_DEF> > corbaDocFreq_array_out;
|
---|
[1860] | 387 |
|
---|
| 388 | struct corbaResultDocInfo;
|
---|
| 389 | typedef TVarVar<corbaResultDocInfo> corbaResultDocInfo_var;
|
---|
[2113] | 390 | typedef TVarOut<corbaResultDocInfo> corbaResultDocInfo_out;
|
---|
[1860] | 391 |
|
---|
| 392 | struct corbaResultDocInfo {
|
---|
| 393 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 394 | typedef corbaResultDocInfo_var _var_type;
|
---|
| 395 | #endif
|
---|
| 396 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 397 | corbaResultDocInfo();
|
---|
| 398 | ~corbaResultDocInfo();
|
---|
| 399 | corbaResultDocInfo( const corbaResultDocInfo& s );
|
---|
| 400 | corbaResultDocInfo& operator=( const corbaResultDocInfo& s );
|
---|
| 401 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 402 |
|
---|
| 403 | corbatext_t OID;
|
---|
| 404 | CORBA::Long resultNum;
|
---|
| 405 | CORBA::Long ranking;
|
---|
| 406 | CORBA::Long termsMatched;
|
---|
| 407 | CORBA::Long phraseMatched;
|
---|
| 408 | corbaDocFreq_array docFreq;
|
---|
| 409 | corbaMetadataInfo_map metadata;
|
---|
| 410 | corbatext_t classifierMetadataType;
|
---|
| 411 | CORBA::Long classifierMetadataOffset;
|
---|
| 412 | corbaMetadataInfo_array metaparents;
|
---|
| 413 | };
|
---|
| 414 |
|
---|
| 415 | typedef SequenceTmpl<corbaResultDocInfo,MICO_TID_DEF> corbaResultDocInfo_array;
|
---|
| 416 | #ifdef _WINDOWS
|
---|
| 417 | static corbaResultDocInfo_array _dummy_corbaResultDocInfo_array;
|
---|
| 418 | #endif
|
---|
| 419 | typedef TSeqVar<SequenceTmpl<corbaResultDocInfo,MICO_TID_DEF> > corbaResultDocInfo_array_var;
|
---|
[2113] | 420 | typedef TSeqOut<SequenceTmpl<corbaResultDocInfo,MICO_TID_DEF> > corbaResultDocInfo_array_out;
|
---|
[1860] | 421 |
|
---|
| 422 | enum corbaIsApprox {
|
---|
| 423 | resultExact = 0,
|
---|
| 424 | resultApprox,
|
---|
| 425 | resultMany
|
---|
| 426 | };
|
---|
| 427 |
|
---|
| 428 | typedef corbaIsApprox& corbaIsApprox_out;
|
---|
| 429 |
|
---|
| 430 | struct corbaFilterResponse;
|
---|
| 431 | typedef TVarVar<corbaFilterResponse> corbaFilterResponse_var;
|
---|
[2113] | 432 | typedef TVarOut<corbaFilterResponse> corbaFilterResponse_out;
|
---|
[1860] | 433 |
|
---|
| 434 | struct corbaFilterResponse {
|
---|
| 435 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 436 | typedef corbaFilterResponse_var _var_type;
|
---|
| 437 | #endif
|
---|
| 438 | #ifdef HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 439 | corbaFilterResponse();
|
---|
| 440 | ~corbaFilterResponse();
|
---|
| 441 | corbaFilterResponse( const corbaFilterResponse& s );
|
---|
| 442 | corbaFilterResponse& operator=( const corbaFilterResponse& s );
|
---|
| 443 | #endif //HAVE_EXPLICIT_STRUCT_OPS
|
---|
| 444 |
|
---|
| 445 | CORBA::Long numDocs;
|
---|
| 446 | corbaIsApprox isApprox;
|
---|
| 447 | corbaTermInfo_array termInfo;
|
---|
| 448 | corbaResultDocInfo_array docInfo;
|
---|
| 449 | };
|
---|
| 450 |
|
---|
| 451 | class corbaiface;
|
---|
| 452 | typedef corbaiface *corbaiface_ptr;
|
---|
| 453 | typedef corbaiface_ptr corbaifaceRef;
|
---|
| 454 | typedef ObjVar<corbaiface> corbaiface_var;
|
---|
[2113] | 455 | typedef ObjOut<corbaiface> corbaiface_out;
|
---|
[1860] | 456 |
|
---|
| 457 |
|
---|
| 458 | // Common definitions for interface corbaiface
|
---|
| 459 | class corbaiface :
|
---|
| 460 | virtual public CORBA::Object
|
---|
| 461 | {
|
---|
| 462 | public:
|
---|
| 463 | virtual ~corbaiface();
|
---|
| 464 |
|
---|
| 465 | #ifdef HAVE_TYPEDEF_OVERLOAD
|
---|
| 466 | typedef corbaiface_ptr _ptr_type;
|
---|
| 467 | typedef corbaiface_var _var_type;
|
---|
| 468 | #endif
|
---|
| 469 |
|
---|
| 470 | static corbaiface_ptr _narrow( CORBA::Object_ptr obj );
|
---|
| 471 | static corbaiface_ptr _narrow( CORBA::AbstractBase_ptr obj );
|
---|
| 472 | static corbaiface_ptr _duplicate( corbaiface_ptr _obj )
|
---|
| 473 | {
|
---|
| 474 | CORBA::Object::_duplicate (_obj);
|
---|
| 475 | return _obj;
|
---|
| 476 | }
|
---|
| 477 |
|
---|
| 478 | static corbaiface_ptr _nil()
|
---|
| 479 | {
|
---|
| 480 | return 0;
|
---|
| 481 | }
|
---|
| 482 |
|
---|
| 483 | virtual void *_narrow_helper( const char *repoid );
|
---|
| 484 | static vector<CORBA::Narrow_proto> *_narrow_helpers;
|
---|
| 485 | static bool _narrow_helper2( CORBA::Object_ptr obj );
|
---|
| 486 |
|
---|
[2113] | 487 | virtual CORBA::Boolean initialise( corbaComError& error ) = 0;
|
---|
| 488 | virtual void configure( const corbatext_t& key, const corbatext_tarray& cfgline, corbaComError& error ) = 0;
|
---|
| 489 | virtual void collectionList( corbatext_tarray& collist, corbaComError& error ) = 0;
|
---|
[1860] | 490 | virtual void hasCollection( const corbatext_t& corbaCollection, CORBA::Boolean& has, corbaComError& error ) = 0;
|
---|
[2261] | 491 | virtual void ping( const corbatext_t& collection, CORBA::Boolean& wasSuccess, corbaComError& error ) = 0;
|
---|
[1860] | 492 | virtual void getDocument( const corbatext_t& collection, corbaDocRequest& request, corbaDocResponse& response, corbaComError& error ) = 0;
|
---|
| 493 | virtual void getCollectInfo( const corbatext_t& collection, corbaColInfoResponse& response, corbaComError& error ) = 0;
|
---|
| 494 | virtual void getFilterInfo( const corbatext_t& collection, corbatext_tarray& filterNames, corbaComError& error ) = 0;
|
---|
| 495 | virtual void getFilterOptions( const corbatext_t& collection, const corbatext_t& option, corbaFilterOptionsResponse& response, corbaComError& error ) = 0;
|
---|
| 496 | virtual void filter( const corbatext_t& collection, const corbaFilterRequest& request, corbaFilterResponse& response, corbaComError& error ) = 0;
|
---|
| 497 |
|
---|
| 498 | protected:
|
---|
| 499 | corbaiface() {};
|
---|
| 500 | private:
|
---|
| 501 | corbaiface( const corbaiface& );
|
---|
| 502 | void operator=( const corbaiface& );
|
---|
| 503 | };
|
---|
| 504 |
|
---|
| 505 | // Stub for interface corbaiface
|
---|
| 506 | class corbaiface_stub:
|
---|
| 507 | virtual public corbaiface
|
---|
| 508 | {
|
---|
| 509 | public:
|
---|
| 510 | virtual ~corbaiface_stub();
|
---|
[2113] | 511 | CORBA::Boolean initialise( corbaComError& error );
|
---|
| 512 | void configure( const corbatext_t& key, const corbatext_tarray& cfgline, corbaComError& error );
|
---|
| 513 | void collectionList( corbatext_tarray& collist, corbaComError& error );
|
---|
[1860] | 514 | void hasCollection( const corbatext_t& corbaCollection, CORBA::Boolean& has, corbaComError& error );
|
---|
[2261] | 515 | void ping( const corbatext_t& collection, CORBA::Boolean& wasSuccess, corbaComError& error );
|
---|
[1860] | 516 | void getDocument( const corbatext_t& collection, corbaDocRequest& request, corbaDocResponse& response, corbaComError& error );
|
---|
| 517 | void getCollectInfo( const corbatext_t& collection, corbaColInfoResponse& response, corbaComError& error );
|
---|
| 518 | void getFilterInfo( const corbatext_t& collection, corbatext_tarray& filterNames, corbaComError& error );
|
---|
| 519 | void getFilterOptions( const corbatext_t& collection, const corbatext_t& option, corbaFilterOptionsResponse& response, corbaComError& error );
|
---|
| 520 | void filter( const corbatext_t& collection, const corbaFilterRequest& request, corbaFilterResponse& response, corbaComError& error );
|
---|
| 521 |
|
---|
| 522 | private:
|
---|
| 523 | void operator=( const corbaiface_stub& );
|
---|
| 524 | };
|
---|
| 525 |
|
---|
[2126] | 526 | class corbaiface_skel :
|
---|
| 527 | virtual public StaticMethodDispatcher,
|
---|
| 528 | virtual public corbaiface
|
---|
[1860] | 529 | {
|
---|
| 530 | public:
|
---|
[2126] | 531 | corbaiface_skel( const CORBA::BOA::ReferenceData & = CORBA::BOA::ReferenceData() );
|
---|
| 532 | virtual ~corbaiface_skel();
|
---|
| 533 | corbaiface_skel( CORBA::Object_ptr obj );
|
---|
| 534 | virtual bool dispatch( CORBA::StaticServerRequest_ptr _req, CORBA::Environment &_env );
|
---|
| 535 | corbaiface_ptr _this();
|
---|
[1860] | 536 |
|
---|
| 537 | };
|
---|
| 538 |
|
---|
| 539 | #endif // !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE_gsdlInterface)
|
---|
| 540 |
|
---|
| 541 | #ifndef MICO_NO_TOPLEVEL_MODULES
|
---|
| 542 |
|
---|
[2113] | 543 | } MICO_NAMESPACE_END_DECL
|
---|
[1860] | 544 | #endif
|
---|
| 545 |
|
---|
| 546 |
|
---|
| 547 |
|
---|
| 548 | #ifndef MICO_CONF_NO_POA
|
---|
| 549 |
|
---|
| 550 | #endif // MICO_CONF_NO_POA
|
---|
| 551 |
|
---|
| 552 | #if !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE__GLOBAL)
|
---|
| 553 |
|
---|
| 554 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbatext_t;
|
---|
| 555 |
|
---|
| 556 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbatext_tmap;
|
---|
| 557 |
|
---|
| 558 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaComError;
|
---|
| 559 |
|
---|
| 560 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaShortColInfo;
|
---|
| 561 |
|
---|
| 562 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaColInfoResponse;
|
---|
| 563 |
|
---|
| 564 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaDocRequest;
|
---|
| 565 |
|
---|
| 566 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaDocResponse;
|
---|
| 567 |
|
---|
| 568 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaFilterType;
|
---|
| 569 |
|
---|
| 570 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaFilterRepeatable;
|
---|
| 571 |
|
---|
| 572 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaFilterOption;
|
---|
| 573 |
|
---|
| 574 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaFilterOptionsResponse;
|
---|
| 575 |
|
---|
| 576 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaOptionValue;
|
---|
| 577 |
|
---|
| 578 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaFilterRequest;
|
---|
| 579 |
|
---|
| 580 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaTermInfo;
|
---|
| 581 |
|
---|
| 582 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaMetadataInfo;
|
---|
| 583 |
|
---|
| 584 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaMetadataInfo_map;
|
---|
| 585 |
|
---|
| 586 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaResultDocInfo;
|
---|
| 587 |
|
---|
| 588 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaIsApprox;
|
---|
| 589 |
|
---|
| 590 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaFilterResponse;
|
---|
| 591 |
|
---|
| 592 | extern CORBA::StaticTypeInfo *_marshaller_gsdlInterface_corbaiface;
|
---|
| 593 |
|
---|
| 594 | extern CORBA::StaticTypeInfo *_marshaller__seq_gsdlInterface_corbatext_t;
|
---|
| 595 |
|
---|
| 596 | extern CORBA::StaticTypeInfo *_marshaller__seq_gsdlInterface_corbaFilterOption;
|
---|
| 597 |
|
---|
| 598 | extern CORBA::StaticTypeInfo *_marshaller__seq_gsdlInterface_corbaOptionValue;
|
---|
| 599 |
|
---|
| 600 | extern CORBA::StaticTypeInfo *_marshaller__seq_gsdlInterface_corbaTermInfo;
|
---|
| 601 |
|
---|
| 602 | extern CORBA::StaticTypeInfo *_marshaller__seq_gsdlInterface_corbaMetadataInfo;
|
---|
| 603 |
|
---|
| 604 | extern CORBA::StaticTypeInfo *_marshaller__seq_gsdlInterface_corbaResultDocInfo;
|
---|
| 605 |
|
---|
| 606 | #endif // !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE__GLOBAL)
|
---|
| 607 |
|
---|
| 608 |
|
---|
| 609 | #if !defined(MICO_NO_TOPLEVEL_MODULES) && !defined(MICO_IN_GENERATED_CODE)
|
---|
| 610 | #include <mico/template_impl.h>
|
---|
| 611 | #endif
|
---|
| 612 |
|
---|
| 613 | #endif
|
---|