1 krisbash 1.1 /* @migen@ */
2 /*
3 **==============================================================================
4 **
5 ** WARNING: THIS FILE WAS AUTOMATICALLY GENERATED. PLEASE DO NOT EDIT.
6 **
7 **==============================================================================
8 */
9 #include <ctype.h>
10 #include <MI.h>
11 #include "OMI_DebugError.h"
12
13 /*
14 **==============================================================================
15 **
16 ** Schema Declaration
17 **
18 **==============================================================================
19 */
20
21 MI_EXTERN_C MI_SchemaDecl schemaDecl;
22 krisbash 1.1
23 /*
24 **==============================================================================
25 **
26 ** CIM_Error
27 **
28 **==============================================================================
29 */
30
31 static MI_CONST MI_Char* CIM_Error_ErrorType_Description_qual_value = MI_T("Primary classification of the error. The following values are defined: \n2 - Communications Error. Errors of this type are principally associated with the procedures and/or processes required to convey information from one point to another. \n3 - Quality of Service Error. Errors of this type are principally associated with failures that result in reduced functionality or performance. \n4 - Software Error. Error of this type are principally associated with a software or processing fault. \n5 - Hardware Error. Errors of this type are principally associated with an equipment or hardware failure. \n6 - Environmental Error. Errors of this type are principally associated with a failure condition relating to the facility, or other environmental considerations. \n7 - Security Error. Errors of this type are associated with security violations, detection of viruses, and similar issues. \n8 - Oversubscription Error. Errors of this type are principally associated with the failure to allocate sufficient resources to complete the operation. \n9 - Unavailable Resource Error. Errors of this type are principally associated with the failure to access a required resource. \n10 -Unsupported Operation Error. Errors of this type are principally associated with requests that are not supported.");
32
33 static MI_CONST MI_Qualifier CIM_Error_ErrorType_Description_qual =
34 {
35 MI_T("Description"),
36 MI_STRING,
37 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
38 &CIM_Error_ErrorType_Description_qual_value
39 };
40
41 static MI_CONST MI_Char* CIM_Error_ErrorType_ValueMap_qual_data_value[] =
42 {
43 krisbash 1.1 MI_T("0"),
44 MI_T("1"),
45 MI_T("2"),
46 MI_T("3"),
47 MI_T("4"),
48 MI_T("5"),
49 MI_T("6"),
50 MI_T("7"),
51 MI_T("8"),
52 MI_T("9"),
53 MI_T("10"),
54 MI_T(".."),
55 };
56
57 static MI_CONST MI_ConstStringA CIM_Error_ErrorType_ValueMap_qual_value =
58 {
59 CIM_Error_ErrorType_ValueMap_qual_data_value,
60 MI_COUNT(CIM_Error_ErrorType_ValueMap_qual_data_value),
61 };
62
63 static MI_CONST MI_Qualifier CIM_Error_ErrorType_ValueMap_qual =
64 krisbash 1.1 {
65 MI_T("ValueMap"),
66 MI_STRINGA,
67 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
68 &CIM_Error_ErrorType_ValueMap_qual_value
69 };
70
71 static MI_CONST MI_Char* CIM_Error_ErrorType_Values_qual_data_value[] =
72 {
73 MI_T("Unknown"),
74 MI_T("Other"),
75 MI_T("Communications Error"),
76 MI_T("Quality of Service Error"),
77 MI_T("Software Error"),
78 MI_T("Hardware Error"),
79 MI_T("Environmental Error"),
80 MI_T("Security Error"),
81 MI_T("Oversubscription Error"),
82 MI_T("Unavailable Resource Error"),
83 MI_T("Unsupported Operation Error"),
84 MI_T("DMTF Reserved"),
85 krisbash 1.1 };
86
87 static MI_CONST MI_ConstStringA CIM_Error_ErrorType_Values_qual_value =
88 {
89 CIM_Error_ErrorType_Values_qual_data_value,
90 MI_COUNT(CIM_Error_ErrorType_Values_qual_data_value),
91 };
92
93 static MI_CONST MI_Qualifier CIM_Error_ErrorType_Values_qual =
94 {
95 MI_T("Values"),
96 MI_STRINGA,
97 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
98 &CIM_Error_ErrorType_Values_qual_value
99 };
100
101 static MI_CONST MI_Char* CIM_Error_ErrorType_ModelCorrespondence_qual_data_value[] =
102 {
103 MI_T("CIM_Error.OtherErrorType"),
104 };
105
106 krisbash 1.1 static MI_CONST MI_ConstStringA CIM_Error_ErrorType_ModelCorrespondence_qual_value =
107 {
108 CIM_Error_ErrorType_ModelCorrespondence_qual_data_value,
109 MI_COUNT(CIM_Error_ErrorType_ModelCorrespondence_qual_data_value),
110 };
111
112 static MI_CONST MI_Qualifier CIM_Error_ErrorType_ModelCorrespondence_qual =
113 {
114 MI_T("ModelCorrespondence"),
115 MI_STRINGA,
116 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
117 &CIM_Error_ErrorType_ModelCorrespondence_qual_value
118 };
119
120 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_ErrorType_quals[] =
121 {
122 &CIM_Error_ErrorType_Description_qual,
123 &CIM_Error_ErrorType_ValueMap_qual,
124 &CIM_Error_ErrorType_Values_qual,
125 &CIM_Error_ErrorType_ModelCorrespondence_qual,
126 };
127 krisbash 1.1
128 /* property CIM_Error.ErrorType */
129 static MI_CONST MI_PropertyDecl CIM_Error_ErrorType_prop =
130 {
131 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
132 0x00656509, /* code */
133 MI_T("ErrorType"), /* name */
134 CIM_Error_ErrorType_quals, /* qualifiers */
135 MI_COUNT(CIM_Error_ErrorType_quals), /* numQualifiers */
136 MI_UINT16, /* type */
137 NULL, /* className */
138 0, /* subscript */
139 offsetof(CIM_Error, ErrorType), /* offset */
140 MI_T("CIM_Error"), /* origin */
141 MI_T("CIM_Error"), /* propagator */
142 NULL,
143 };
144
145 static MI_CONST MI_Char* CIM_Error_OtherErrorType_Description_qual_value = MI_T("A free-form string describing the ErrorType when 1, \"Other\", is specified as the ErrorType.");
146
147 static MI_CONST MI_Qualifier CIM_Error_OtherErrorType_Description_qual =
148 krisbash 1.1 {
149 MI_T("Description"),
150 MI_STRING,
151 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
152 &CIM_Error_OtherErrorType_Description_qual_value
153 };
154
155 static MI_CONST MI_Char* CIM_Error_OtherErrorType_ModelCorrespondence_qual_data_value[] =
156 {
157 MI_T("CIM_Error.ErrorType"),
158 };
159
160 static MI_CONST MI_ConstStringA CIM_Error_OtherErrorType_ModelCorrespondence_qual_value =
161 {
162 CIM_Error_OtherErrorType_ModelCorrespondence_qual_data_value,
163 MI_COUNT(CIM_Error_OtherErrorType_ModelCorrespondence_qual_data_value),
164 };
165
166 static MI_CONST MI_Qualifier CIM_Error_OtherErrorType_ModelCorrespondence_qual =
167 {
168 MI_T("ModelCorrespondence"),
169 krisbash 1.1 MI_STRINGA,
170 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
171 &CIM_Error_OtherErrorType_ModelCorrespondence_qual_value
172 };
173
174 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_OtherErrorType_quals[] =
175 {
176 &CIM_Error_OtherErrorType_Description_qual,
177 &CIM_Error_OtherErrorType_ModelCorrespondence_qual,
178 };
179
180 /* property CIM_Error.OtherErrorType */
181 static MI_CONST MI_PropertyDecl CIM_Error_OtherErrorType_prop =
182 {
183 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
184 0x006F650E, /* code */
185 MI_T("OtherErrorType"), /* name */
186 CIM_Error_OtherErrorType_quals, /* qualifiers */
187 MI_COUNT(CIM_Error_OtherErrorType_quals), /* numQualifiers */
188 MI_STRING, /* type */
189 NULL, /* className */
190 krisbash 1.1 0, /* subscript */
191 offsetof(CIM_Error, OtherErrorType), /* offset */
192 MI_T("CIM_Error"), /* origin */
193 MI_T("CIM_Error"), /* propagator */
194 NULL,
195 };
196
197 static MI_CONST MI_Char* CIM_Error_OwningEntity_Description_qual_value = MI_T("A string that uniquely identifies the entity that owns the definition of the format of the Message described in this instance. OwningEntity MUST include a copyrighted, trademarked or otherwise unique name that is owned by the business entity or standards body defining the format.");
198
199 static MI_CONST MI_Qualifier CIM_Error_OwningEntity_Description_qual =
200 {
201 MI_T("Description"),
202 MI_STRING,
203 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
204 &CIM_Error_OwningEntity_Description_qual_value
205 };
206
207 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_OwningEntity_quals[] =
208 {
209 &CIM_Error_OwningEntity_Description_qual,
210 };
211 krisbash 1.1
212 /* property CIM_Error.OwningEntity */
213 static MI_CONST MI_PropertyDecl CIM_Error_OwningEntity_prop =
214 {
215 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
216 0x006F790C, /* code */
217 MI_T("OwningEntity"), /* name */
218 CIM_Error_OwningEntity_quals, /* qualifiers */
219 MI_COUNT(CIM_Error_OwningEntity_quals), /* numQualifiers */
220 MI_STRING, /* type */
221 NULL, /* className */
222 0, /* subscript */
223 offsetof(CIM_Error, OwningEntity), /* offset */
224 MI_T("CIM_Error"), /* origin */
225 MI_T("CIM_Error"), /* propagator */
226 NULL,
227 };
228
229 static MI_CONST MI_Boolean CIM_Error_MessageID_Required_qual_value = 1;
230
231 static MI_CONST MI_Qualifier CIM_Error_MessageID_Required_qual =
232 krisbash 1.1 {
233 MI_T("Required"),
234 MI_BOOLEAN,
235 MI_FLAG_DISABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
236 &CIM_Error_MessageID_Required_qual_value
237 };
238
239 static MI_CONST MI_Char* CIM_Error_MessageID_Description_qual_value = MI_T("An opaque string that uniquely identifies, within the scope of the OwningEntity, the format of the Message.");
240
241 static MI_CONST MI_Qualifier CIM_Error_MessageID_Description_qual =
242 {
243 MI_T("Description"),
244 MI_STRING,
245 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
246 &CIM_Error_MessageID_Description_qual_value
247 };
248
249 static MI_CONST MI_Char* CIM_Error_MessageID_ModelCorrespondence_qual_data_value[] =
250 {
251 MI_T("CIM_Error.Message"),
252 MI_T("CIM_Error.MessageArguments"),
253 krisbash 1.1 };
254
255 static MI_CONST MI_ConstStringA CIM_Error_MessageID_ModelCorrespondence_qual_value =
256 {
257 CIM_Error_MessageID_ModelCorrespondence_qual_data_value,
258 MI_COUNT(CIM_Error_MessageID_ModelCorrespondence_qual_data_value),
259 };
260
261 static MI_CONST MI_Qualifier CIM_Error_MessageID_ModelCorrespondence_qual =
262 {
263 MI_T("ModelCorrespondence"),
264 MI_STRINGA,
265 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
266 &CIM_Error_MessageID_ModelCorrespondence_qual_value
267 };
268
269 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_MessageID_quals[] =
270 {
271 &CIM_Error_MessageID_Required_qual,
272 &CIM_Error_MessageID_Description_qual,
273 &CIM_Error_MessageID_ModelCorrespondence_qual,
274 krisbash 1.1 };
275
276 /* property CIM_Error.MessageID */
277 static MI_CONST MI_PropertyDecl CIM_Error_MessageID_prop =
278 {
279 MI_FLAG_PROPERTY|MI_FLAG_REQUIRED|MI_FLAG_READONLY, /* flags */
280 0x006D6409, /* code */
281 MI_T("MessageID"), /* name */
282 CIM_Error_MessageID_quals, /* qualifiers */
283 MI_COUNT(CIM_Error_MessageID_quals), /* numQualifiers */
284 MI_STRING, /* type */
285 NULL, /* className */
286 0, /* subscript */
287 offsetof(CIM_Error, MessageID), /* offset */
288 MI_T("CIM_Error"), /* origin */
289 MI_T("CIM_Error"), /* propagator */
290 NULL,
291 };
292
293 static MI_CONST MI_Char* CIM_Error_Message_Description_qual_value = MI_T("The formatted message. This message is constructed by combining some or all of the dynamic elements specified in the MessageArguments property with the static elements uniquely identified by the MessageID in a message registry or other catalog associated with the OwningEntity.");
294
295 krisbash 1.1 static MI_CONST MI_Qualifier CIM_Error_Message_Description_qual =
296 {
297 MI_T("Description"),
298 MI_STRING,
299 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
300 &CIM_Error_Message_Description_qual_value
301 };
302
303 static MI_CONST MI_Char* CIM_Error_Message_ModelCorrespondence_qual_data_value[] =
304 {
305 MI_T("CIM_Error.MessageID"),
306 MI_T("CIM_Error.MessageArguments"),
307 };
308
309 static MI_CONST MI_ConstStringA CIM_Error_Message_ModelCorrespondence_qual_value =
310 {
311 CIM_Error_Message_ModelCorrespondence_qual_data_value,
312 MI_COUNT(CIM_Error_Message_ModelCorrespondence_qual_data_value),
313 };
314
315 static MI_CONST MI_Qualifier CIM_Error_Message_ModelCorrespondence_qual =
316 krisbash 1.1 {
317 MI_T("ModelCorrespondence"),
318 MI_STRINGA,
319 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
320 &CIM_Error_Message_ModelCorrespondence_qual_value
321 };
322
323 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_Message_quals[] =
324 {
325 &CIM_Error_Message_Description_qual,
326 &CIM_Error_Message_ModelCorrespondence_qual,
327 };
328
329 /* property CIM_Error.Message */
330 static MI_CONST MI_PropertyDecl CIM_Error_Message_prop =
331 {
332 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
333 0x006D6507, /* code */
334 MI_T("Message"), /* name */
335 CIM_Error_Message_quals, /* qualifiers */
336 MI_COUNT(CIM_Error_Message_quals), /* numQualifiers */
337 krisbash 1.1 MI_STRING, /* type */
338 NULL, /* className */
339 0, /* subscript */
340 offsetof(CIM_Error, Message), /* offset */
341 MI_T("CIM_Error"), /* origin */
342 MI_T("CIM_Error"), /* propagator */
343 NULL,
344 };
345
346 static MI_CONST MI_Char* CIM_Error_MessageArguments_Description_qual_value = MI_T("An array containing the dynamic content of the message.");
347
348 static MI_CONST MI_Qualifier CIM_Error_MessageArguments_Description_qual =
349 {
350 MI_T("Description"),
351 MI_STRING,
352 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
353 &CIM_Error_MessageArguments_Description_qual_value
354 };
355
356 static MI_CONST MI_Char* CIM_Error_MessageArguments_ModelCorrespondence_qual_data_value[] =
357 {
358 krisbash 1.1 MI_T("CIM_Error.MessageID"),
359 MI_T("CIM_Error.Message"),
360 };
361
362 static MI_CONST MI_ConstStringA CIM_Error_MessageArguments_ModelCorrespondence_qual_value =
363 {
364 CIM_Error_MessageArguments_ModelCorrespondence_qual_data_value,
365 MI_COUNT(CIM_Error_MessageArguments_ModelCorrespondence_qual_data_value),
366 };
367
368 static MI_CONST MI_Qualifier CIM_Error_MessageArguments_ModelCorrespondence_qual =
369 {
370 MI_T("ModelCorrespondence"),
371 MI_STRINGA,
372 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
373 &CIM_Error_MessageArguments_ModelCorrespondence_qual_value
374 };
375
376 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_MessageArguments_quals[] =
377 {
378 &CIM_Error_MessageArguments_Description_qual,
379 krisbash 1.1 &CIM_Error_MessageArguments_ModelCorrespondence_qual,
380 };
381
382 /* property CIM_Error.MessageArguments */
383 static MI_CONST MI_PropertyDecl CIM_Error_MessageArguments_prop =
384 {
385 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
386 0x006D7310, /* code */
387 MI_T("MessageArguments"), /* name */
388 CIM_Error_MessageArguments_quals, /* qualifiers */
389 MI_COUNT(CIM_Error_MessageArguments_quals), /* numQualifiers */
390 MI_STRINGA, /* type */
391 NULL, /* className */
392 0, /* subscript */
393 offsetof(CIM_Error, MessageArguments), /* offset */
394 MI_T("CIM_Error"), /* origin */
395 MI_T("CIM_Error"), /* propagator */
396 NULL,
397 };
398
399 static MI_CONST MI_Char* CIM_Error_PerceivedSeverity_Description_qual_value = MI_T("An enumerated value that describes the severity of the Indication from the notifier\'s point of view: \n0 - the Perceived Severity of the indication is unknown or indeterminate. \n1 - Other, by CIM convention, is used to indicate that the Severity\'s value can be found in the OtherSeverity property. \n2 - Information should be used when providing an informative response. \n3 - Degraded/Warning should be used when its appropriate to let the user decide if action is needed. \n4 - Minor should be used to indicate action is needed, but the situation is not serious at this time. \n5 - Major should be used to indicate action is needed NOW. \n6 - Critical should be used to indicate action is needed NOW and the scope is broad (perhaps an imminent outage to a critical resource will result). \n7 - Fatal/NonRecoverable should be used to indicate an error occurred, but it\'s too late to take remedial action. \n2 and 0 - Information and Unknown (respectively) follow common usage. Literally, the Error is purely informational or its severity is simply unknown.");
400 krisbash 1.1
401 static MI_CONST MI_Qualifier CIM_Error_PerceivedSeverity_Description_qual =
402 {
403 MI_T("Description"),
404 MI_STRING,
405 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
406 &CIM_Error_PerceivedSeverity_Description_qual_value
407 };
408
409 static MI_CONST MI_Char* CIM_Error_PerceivedSeverity_ValueMap_qual_data_value[] =
410 {
411 MI_T("0"),
412 MI_T("1"),
413 MI_T("2"),
414 MI_T("3"),
415 MI_T("4"),
416 MI_T("5"),
417 MI_T("6"),
418 MI_T("7"),
419 MI_T(".."),
420 };
421 krisbash 1.1
422 static MI_CONST MI_ConstStringA CIM_Error_PerceivedSeverity_ValueMap_qual_value =
423 {
424 CIM_Error_PerceivedSeverity_ValueMap_qual_data_value,
425 MI_COUNT(CIM_Error_PerceivedSeverity_ValueMap_qual_data_value),
426 };
427
428 static MI_CONST MI_Qualifier CIM_Error_PerceivedSeverity_ValueMap_qual =
429 {
430 MI_T("ValueMap"),
431 MI_STRINGA,
432 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
433 &CIM_Error_PerceivedSeverity_ValueMap_qual_value
434 };
435
436 static MI_CONST MI_Char* CIM_Error_PerceivedSeverity_Values_qual_data_value[] =
437 {
438 MI_T("Unknown"),
439 MI_T("Other"),
440 MI_T("Information"),
441 MI_T("Degraded/Warning"),
442 krisbash 1.1 MI_T("Minor"),
443 MI_T("Major"),
444 MI_T("Critical"),
445 MI_T("Fatal/NonRecoverable"),
446 MI_T("DMTF Reserved"),
447 };
448
449 static MI_CONST MI_ConstStringA CIM_Error_PerceivedSeverity_Values_qual_value =
450 {
451 CIM_Error_PerceivedSeverity_Values_qual_data_value,
452 MI_COUNT(CIM_Error_PerceivedSeverity_Values_qual_data_value),
453 };
454
455 static MI_CONST MI_Qualifier CIM_Error_PerceivedSeverity_Values_qual =
456 {
457 MI_T("Values"),
458 MI_STRINGA,
459 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
460 &CIM_Error_PerceivedSeverity_Values_qual_value
461 };
462
463 krisbash 1.1 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_PerceivedSeverity_quals[] =
464 {
465 &CIM_Error_PerceivedSeverity_Description_qual,
466 &CIM_Error_PerceivedSeverity_ValueMap_qual,
467 &CIM_Error_PerceivedSeverity_Values_qual,
468 };
469
470 /* property CIM_Error.PerceivedSeverity */
471 static MI_CONST MI_PropertyDecl CIM_Error_PerceivedSeverity_prop =
472 {
473 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
474 0x00707911, /* code */
475 MI_T("PerceivedSeverity"), /* name */
476 CIM_Error_PerceivedSeverity_quals, /* qualifiers */
477 MI_COUNT(CIM_Error_PerceivedSeverity_quals), /* numQualifiers */
478 MI_UINT16, /* type */
479 NULL, /* className */
480 0, /* subscript */
481 offsetof(CIM_Error, PerceivedSeverity), /* offset */
482 MI_T("CIM_Error"), /* origin */
483 MI_T("CIM_Error"), /* propagator */
484 krisbash 1.1 NULL,
485 };
486
487 static MI_CONST MI_Char* CIM_Error_ProbableCause_Description_qual_value = MI_T("An enumerated value that describes the probable cause of the error.");
488
489 static MI_CONST MI_Qualifier CIM_Error_ProbableCause_Description_qual =
490 {
491 MI_T("Description"),
492 MI_STRING,
493 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
494 &CIM_Error_ProbableCause_Description_qual_value
495 };
496
497 static MI_CONST MI_Char* CIM_Error_ProbableCause_ValueMap_qual_data_value[] =
498 {
499 MI_T("0"),
500 MI_T("1"),
501 MI_T("2"),
502 MI_T("3"),
503 MI_T("4"),
504 MI_T("5"),
505 krisbash 1.1 MI_T("6"),
506 MI_T("7"),
507 MI_T("8"),
508 MI_T("9"),
509 MI_T("10"),
510 MI_T("11"),
511 MI_T("12"),
512 MI_T("13"),
513 MI_T("14"),
514 MI_T("15"),
515 MI_T("16"),
516 MI_T("17"),
517 MI_T("18"),
518 MI_T("19"),
519 MI_T("20"),
520 MI_T("21"),
521 MI_T("22"),
522 MI_T("23"),
523 MI_T("24"),
524 MI_T("25"),
525 MI_T("26"),
526 krisbash 1.1 MI_T("27"),
527 MI_T("28"),
528 MI_T("29"),
529 MI_T("30"),
530 MI_T("31"),
531 MI_T("32"),
532 MI_T("33"),
533 MI_T("34"),
534 MI_T("35"),
535 MI_T("36"),
536 MI_T("37"),
537 MI_T("38"),
538 MI_T("39"),
539 MI_T("40"),
540 MI_T("41"),
541 MI_T("42"),
542 MI_T("43"),
543 MI_T("44"),
544 MI_T("45"),
545 MI_T("46"),
546 MI_T("47"),
547 krisbash 1.1 MI_T("48"),
548 MI_T("49"),
549 MI_T("50"),
550 MI_T("51"),
551 MI_T("52"),
552 MI_T("53"),
553 MI_T("54"),
554 MI_T("55"),
555 MI_T("56"),
556 MI_T("57"),
557 MI_T("58"),
558 MI_T("59"),
559 MI_T("60"),
560 MI_T("61"),
561 MI_T("62"),
562 MI_T("63"),
563 MI_T("64"),
564 MI_T("65"),
565 MI_T("66"),
566 MI_T("67"),
567 MI_T("68"),
568 krisbash 1.1 MI_T("69"),
569 MI_T("70"),
570 MI_T("71"),
571 MI_T("72"),
572 MI_T("73"),
573 MI_T("74"),
574 MI_T("75"),
575 MI_T("76"),
576 MI_T("77"),
577 MI_T("78"),
578 MI_T("79"),
579 MI_T("80"),
580 MI_T("81"),
581 MI_T("82"),
582 MI_T("83"),
583 MI_T("84"),
584 MI_T("85"),
585 MI_T("86"),
586 MI_T("87"),
587 MI_T("88"),
588 MI_T("89"),
589 krisbash 1.1 MI_T("90"),
590 MI_T("91"),
591 MI_T("92"),
592 MI_T("93"),
593 MI_T("94"),
594 MI_T("95"),
595 MI_T("96"),
596 MI_T("97"),
597 MI_T("98"),
598 MI_T("99"),
599 MI_T("100"),
600 MI_T("101"),
601 MI_T("102"),
602 MI_T("103"),
603 MI_T("104"),
604 MI_T("105"),
605 MI_T("106"),
606 MI_T("107"),
607 MI_T("108"),
608 MI_T("109"),
609 MI_T("110"),
610 krisbash 1.1 MI_T("111"),
611 MI_T("112"),
612 MI_T("113"),
613 MI_T("114"),
614 MI_T("115"),
615 MI_T("116"),
616 MI_T("117"),
617 MI_T("118"),
618 MI_T("119"),
619 MI_T("120"),
620 MI_T("121"),
621 MI_T("122"),
622 MI_T("123"),
623 MI_T("124"),
624 MI_T("125"),
625 MI_T("126"),
626 MI_T("127"),
627 MI_T("128"),
628 MI_T("129"),
629 MI_T("130"),
630 MI_T(".."),
631 krisbash 1.1 };
632
633 static MI_CONST MI_ConstStringA CIM_Error_ProbableCause_ValueMap_qual_value =
634 {
635 CIM_Error_ProbableCause_ValueMap_qual_data_value,
636 MI_COUNT(CIM_Error_ProbableCause_ValueMap_qual_data_value),
637 };
638
639 static MI_CONST MI_Qualifier CIM_Error_ProbableCause_ValueMap_qual =
640 {
641 MI_T("ValueMap"),
642 MI_STRINGA,
643 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
644 &CIM_Error_ProbableCause_ValueMap_qual_value
645 };
646
647 static MI_CONST MI_Char* CIM_Error_ProbableCause_Values_qual_data_value[] =
648 {
649 MI_T("Unknown"),
650 MI_T("Other"),
651 MI_T("Adapter/Card Error"),
652 krisbash 1.1 MI_T("Application Subsystem Failure"),
653 MI_T("Bandwidth Reduced"),
654 MI_T("Connection Establishment Error"),
655 MI_T("Communications Protocol Error"),
656 MI_T("Communications Subsystem Failure"),
657 MI_T("Configuration/Customization Error"),
658 MI_T("Congestion"),
659 MI_T("Corrupt Data"),
660 MI_T("CPU Cycles Limit Exceeded"),
661 MI_T("Dataset/Modem Error"),
662 MI_T("Degraded Signal"),
663 MI_T("DTE-DCE Interface Error"),
664 MI_T("Enclosure Door Open"),
665 MI_T("Equipment Malfunction"),
666 MI_T("Excessive Vibration"),
667 MI_T("File Format Error"),
668 MI_T("Fire Detected"),
669 MI_T("Flood Detected"),
670 MI_T("Framing Error"),
671 MI_T("HVAC Problem"),
672 MI_T("Humidity Unacceptable"),
673 krisbash 1.1 MI_T("I/O Device Error"),
674 MI_T("Input Device Error"),
675 MI_T("LAN Error"),
676 MI_T("Non-Toxic Leak Detected"),
677 MI_T("Local Node Transmission Error"),
678 MI_T("Loss of Frame"),
679 MI_T("Loss of Signal"),
680 MI_T("Material Supply Exhausted"),
681 MI_T("Multiplexer Problem"),
682 MI_T("Out of Memory"),
683 MI_T("Output Device Error"),
684 MI_T("Performance Degraded"),
685 MI_T("Power Problem"),
686 MI_T("Pressure Unacceptable"),
687 MI_T("Processor Problem (Internal Machine Error)"),
688 MI_T("Pump Failure"),
689 MI_T("Queue Size Exceeded"),
690 MI_T("Receive Failure"),
691 MI_T("Receiver Failure"),
692 MI_T("Remote Node Transmission Error"),
693 MI_T("Resource at or Nearing Capacity"),
694 krisbash 1.1 MI_T("Response Time Excessive"),
695 MI_T("Retransmission Rate Excessive"),
696 MI_T("Software Error"),
697 MI_T("Software Program Abnormally Terminated"),
698 MI_T("Software Program Error (Incorrect Results)"),
699 MI_T("Storage Capacity Problem"),
700 MI_T("Temperature Unacceptable"),
701 MI_T("Threshold Crossed"),
702 MI_T("Timing Problem"),
703 MI_T("Toxic Leak Detected"),
704 MI_T("Transmit Failure"),
705 MI_T("Transmitter Failure"),
706 MI_T("Underlying Resource Unavailable"),
707 MI_T("Version Mismatch"),
708 MI_T("Previous Alert Cleared"),
709 MI_T("Login Attempts Failed"),
710 MI_T("Software Virus Detected"),
711 MI_T("Hardware Security Breached"),
712 MI_T("Denial of Service Detected"),
713 MI_T("Security Credential Mismatch"),
714 MI_T("Unauthorized Access"),
715 krisbash 1.1 MI_T("Alarm Received"),
716 MI_T("Loss of Pointer"),
717 MI_T("Payload Mismatch"),
718 MI_T("Transmission Error"),
719 MI_T("Excessive Error Rate"),
720 MI_T("Trace Problem"),
721 MI_T("Element Unavailable"),
722 MI_T("Element Missing"),
723 MI_T("Loss of Multi Frame"),
724 MI_T("Broadcast Channel Failure"),
725 MI_T("Invalid Message Received"),
726 MI_T("Routing Failure"),
727 MI_T("Backplane Failure"),
728 MI_T("Identifier Duplication"),
729 MI_T("Protection Path Failure"),
730 MI_T("Sync Loss or Mismatch"),
731 MI_T("Terminal Problem"),
732 MI_T("Real Time Clock Failure"),
733 MI_T("Antenna Failure"),
734 MI_T("Battery Charging Failure"),
735 MI_T("Disk Failure"),
736 krisbash 1.1 MI_T("Frequency Hopping Failure"),
737 MI_T("Loss of Redundancy"),
738 MI_T("Power Supply Failure"),
739 MI_T("Signal Quality Problem"),
740 MI_T("Battery Discharging"),
741 MI_T("Battery Failure"),
742 MI_T("Commercial Power Problem"),
743 MI_T("Fan Failure"),
744 MI_T("Engine Failure"),
745 MI_T("Sensor Failure"),
746 MI_T("Fuse Failure"),
747 MI_T("Generator Failure"),
748 MI_T("Low Battery"),
749 MI_T("Low Fuel"),
750 MI_T("Low Water"),
751 MI_T("Explosive Gas"),
752 MI_T("High Winds"),
753 MI_T("Ice Buildup"),
754 MI_T("Smoke"),
755 MI_T("Memory Mismatch"),
756 MI_T("Out of CPU Cycles"),
757 krisbash 1.1 MI_T("Software Environment Problem"),
758 MI_T("Software Download Failure"),
759 MI_T("Element Reinitialized"),
760 MI_T("Timeout"),
761 MI_T("Logging Problems"),
762 MI_T("Leak Detected"),
763 MI_T("Protection Mechanism Failure"),
764 MI_T("Protecting Resource Failure"),
765 MI_T("Database Inconsistency"),
766 MI_T("Authentication Failure"),
767 MI_T("Breach of Confidentiality"),
768 MI_T("Cable Tamper"),
769 MI_T("Delayed Information"),
770 MI_T("Duplicate Information"),
771 MI_T("Information Missing"),
772 MI_T("Information Modification"),
773 MI_T("Information Out of Sequence"),
774 MI_T("Key Expired"),
775 MI_T("Non-Repudiation Failure"),
776 MI_T("Out of Hours Activity"),
777 MI_T("Out of Service"),
778 krisbash 1.1 MI_T("Procedural Error"),
779 MI_T("Unexpected Information"),
780 MI_T("DMTF Reserved"),
781 };
782
783 static MI_CONST MI_ConstStringA CIM_Error_ProbableCause_Values_qual_value =
784 {
785 CIM_Error_ProbableCause_Values_qual_data_value,
786 MI_COUNT(CIM_Error_ProbableCause_Values_qual_data_value),
787 };
788
789 static MI_CONST MI_Qualifier CIM_Error_ProbableCause_Values_qual =
790 {
791 MI_T("Values"),
792 MI_STRINGA,
793 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
794 &CIM_Error_ProbableCause_Values_qual_value
795 };
796
797 static MI_CONST MI_Char* CIM_Error_ProbableCause_ModelCorrespondence_qual_data_value[] =
798 {
799 krisbash 1.1 MI_T("CIM_Error.ProbableCauseDescription"),
800 };
801
802 static MI_CONST MI_ConstStringA CIM_Error_ProbableCause_ModelCorrespondence_qual_value =
803 {
804 CIM_Error_ProbableCause_ModelCorrespondence_qual_data_value,
805 MI_COUNT(CIM_Error_ProbableCause_ModelCorrespondence_qual_data_value),
806 };
807
808 static MI_CONST MI_Qualifier CIM_Error_ProbableCause_ModelCorrespondence_qual =
809 {
810 MI_T("ModelCorrespondence"),
811 MI_STRINGA,
812 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
813 &CIM_Error_ProbableCause_ModelCorrespondence_qual_value
814 };
815
816 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_ProbableCause_quals[] =
817 {
818 &CIM_Error_ProbableCause_Description_qual,
819 &CIM_Error_ProbableCause_ValueMap_qual,
820 krisbash 1.1 &CIM_Error_ProbableCause_Values_qual,
821 &CIM_Error_ProbableCause_ModelCorrespondence_qual,
822 };
823
824 /* property CIM_Error.ProbableCause */
825 static MI_CONST MI_PropertyDecl CIM_Error_ProbableCause_prop =
826 {
827 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
828 0x0070650D, /* code */
829 MI_T("ProbableCause"), /* name */
830 CIM_Error_ProbableCause_quals, /* qualifiers */
831 MI_COUNT(CIM_Error_ProbableCause_quals), /* numQualifiers */
832 MI_UINT16, /* type */
833 NULL, /* className */
834 0, /* subscript */
835 offsetof(CIM_Error, ProbableCause), /* offset */
836 MI_T("CIM_Error"), /* origin */
837 MI_T("CIM_Error"), /* propagator */
838 NULL,
839 };
840
841 krisbash 1.1 static MI_CONST MI_Char* CIM_Error_ProbableCauseDescription_Description_qual_value = MI_T("A free-form string describing the probable cause of the error.");
842
843 static MI_CONST MI_Qualifier CIM_Error_ProbableCauseDescription_Description_qual =
844 {
845 MI_T("Description"),
846 MI_STRING,
847 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
848 &CIM_Error_ProbableCauseDescription_Description_qual_value
849 };
850
851 static MI_CONST MI_Char* CIM_Error_ProbableCauseDescription_ModelCorrespondence_qual_data_value[] =
852 {
853 MI_T("CIM_Error.ProbableCause"),
854 };
855
856 static MI_CONST MI_ConstStringA CIM_Error_ProbableCauseDescription_ModelCorrespondence_qual_value =
857 {
858 CIM_Error_ProbableCauseDescription_ModelCorrespondence_qual_data_value,
859 MI_COUNT(CIM_Error_ProbableCauseDescription_ModelCorrespondence_qual_data_value),
860 };
861
862 krisbash 1.1 static MI_CONST MI_Qualifier CIM_Error_ProbableCauseDescription_ModelCorrespondence_qual =
863 {
864 MI_T("ModelCorrespondence"),
865 MI_STRINGA,
866 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
867 &CIM_Error_ProbableCauseDescription_ModelCorrespondence_qual_value
868 };
869
870 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_ProbableCauseDescription_quals[] =
871 {
872 &CIM_Error_ProbableCauseDescription_Description_qual,
873 &CIM_Error_ProbableCauseDescription_ModelCorrespondence_qual,
874 };
875
876 /* property CIM_Error.ProbableCauseDescription */
877 static MI_CONST MI_PropertyDecl CIM_Error_ProbableCauseDescription_prop =
878 {
879 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
880 0x00706E18, /* code */
881 MI_T("ProbableCauseDescription"), /* name */
882 CIM_Error_ProbableCauseDescription_quals, /* qualifiers */
883 krisbash 1.1 MI_COUNT(CIM_Error_ProbableCauseDescription_quals), /* numQualifiers */
884 MI_STRING, /* type */
885 NULL, /* className */
886 0, /* subscript */
887 offsetof(CIM_Error, ProbableCauseDescription), /* offset */
888 MI_T("CIM_Error"), /* origin */
889 MI_T("CIM_Error"), /* propagator */
890 NULL,
891 };
892
893 static MI_CONST MI_Char* CIM_Error_RecommendedActions_Description_qual_value = MI_T("A free-form string describing recommended actions to take to resolve the error.");
894
895 static MI_CONST MI_Qualifier CIM_Error_RecommendedActions_Description_qual =
896 {
897 MI_T("Description"),
898 MI_STRING,
899 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
900 &CIM_Error_RecommendedActions_Description_qual_value
901 };
902
903 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_RecommendedActions_quals[] =
904 krisbash 1.1 {
905 &CIM_Error_RecommendedActions_Description_qual,
906 };
907
908 /* property CIM_Error.RecommendedActions */
909 static MI_CONST MI_PropertyDecl CIM_Error_RecommendedActions_prop =
910 {
911 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
912 0x00727312, /* code */
913 MI_T("RecommendedActions"), /* name */
914 CIM_Error_RecommendedActions_quals, /* qualifiers */
915 MI_COUNT(CIM_Error_RecommendedActions_quals), /* numQualifiers */
916 MI_STRINGA, /* type */
917 NULL, /* className */
918 0, /* subscript */
919 offsetof(CIM_Error, RecommendedActions), /* offset */
920 MI_T("CIM_Error"), /* origin */
921 MI_T("CIM_Error"), /* propagator */
922 NULL,
923 };
924
925 krisbash 1.1 static MI_CONST MI_Char* CIM_Error_ErrorSource_Description_qual_value = MI_T("The identifying information of the entity (i.e., the instance) generating the error. If this entity is modeled in the CIM Schema, this property contains the path of the instance encoded as a string parameter. If not modeled, the property contains some identifying string that names the entity that generated the error. The path or identifying string is formatted per the ErrorSourceFormat property.");
926
927 static MI_CONST MI_Qualifier CIM_Error_ErrorSource_Description_qual =
928 {
929 MI_T("Description"),
930 MI_STRING,
931 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
932 &CIM_Error_ErrorSource_Description_qual_value
933 };
934
935 static MI_CONST MI_Char* CIM_Error_ErrorSource_ModelCorrespondence_qual_data_value[] =
936 {
937 MI_T("CIM_Error.ErrorSourceFormat"),
938 };
939
940 static MI_CONST MI_ConstStringA CIM_Error_ErrorSource_ModelCorrespondence_qual_value =
941 {
942 CIM_Error_ErrorSource_ModelCorrespondence_qual_data_value,
943 MI_COUNT(CIM_Error_ErrorSource_ModelCorrespondence_qual_data_value),
944 };
945
946 krisbash 1.1 static MI_CONST MI_Qualifier CIM_Error_ErrorSource_ModelCorrespondence_qual =
947 {
948 MI_T("ModelCorrespondence"),
949 MI_STRINGA,
950 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
951 &CIM_Error_ErrorSource_ModelCorrespondence_qual_value
952 };
953
954 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_ErrorSource_quals[] =
955 {
956 &CIM_Error_ErrorSource_Description_qual,
957 &CIM_Error_ErrorSource_ModelCorrespondence_qual,
958 };
959
960 /* property CIM_Error.ErrorSource */
961 static MI_CONST MI_PropertyDecl CIM_Error_ErrorSource_prop =
962 {
963 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
964 0x0065650B, /* code */
965 MI_T("ErrorSource"), /* name */
966 CIM_Error_ErrorSource_quals, /* qualifiers */
967 krisbash 1.1 MI_COUNT(CIM_Error_ErrorSource_quals), /* numQualifiers */
968 MI_STRING, /* type */
969 NULL, /* className */
970 0, /* subscript */
971 offsetof(CIM_Error, ErrorSource), /* offset */
972 MI_T("CIM_Error"), /* origin */
973 MI_T("CIM_Error"), /* propagator */
974 NULL,
975 };
976
977 static MI_CONST MI_Char* CIM_Error_ErrorSourceFormat_Description_qual_value = MI_T("The format of the ErrorSource property is interpretable based on the value of this property. Values are defined as: \n0 - Unknown. The format is unknown or not meaningfully interpretable by a CIM client application. \n1 - Other. The format is defined by the value of the OtherErrorSourceFormat property.2 - CIMObjectPath. A CIM Object Path as defined in the CIM Infrastructure specification. Note: CIM 2.5 and earlier used the term object names.");
978
979 static MI_CONST MI_Qualifier CIM_Error_ErrorSourceFormat_Description_qual =
980 {
981 MI_T("Description"),
982 MI_STRING,
983 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
984 &CIM_Error_ErrorSourceFormat_Description_qual_value
985 };
986
987 static MI_CONST MI_Char* CIM_Error_ErrorSourceFormat_ValueMap_qual_data_value[] =
988 krisbash 1.1 {
989 MI_T("0"),
990 MI_T("1"),
991 MI_T("2"),
992 MI_T(".."),
993 };
994
995 static MI_CONST MI_ConstStringA CIM_Error_ErrorSourceFormat_ValueMap_qual_value =
996 {
997 CIM_Error_ErrorSourceFormat_ValueMap_qual_data_value,
998 MI_COUNT(CIM_Error_ErrorSourceFormat_ValueMap_qual_data_value),
999 };
1000
1001 static MI_CONST MI_Qualifier CIM_Error_ErrorSourceFormat_ValueMap_qual =
1002 {
1003 MI_T("ValueMap"),
1004 MI_STRINGA,
1005 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1006 &CIM_Error_ErrorSourceFormat_ValueMap_qual_value
1007 };
1008
1009 krisbash 1.1 static MI_CONST MI_Char* CIM_Error_ErrorSourceFormat_Values_qual_data_value[] =
1010 {
1011 MI_T("Unknown"),
1012 MI_T("Other"),
1013 MI_T("CIMObjectPath"),
1014 MI_T("DMTF Reserved"),
1015 };
1016
1017 static MI_CONST MI_ConstStringA CIM_Error_ErrorSourceFormat_Values_qual_value =
1018 {
1019 CIM_Error_ErrorSourceFormat_Values_qual_data_value,
1020 MI_COUNT(CIM_Error_ErrorSourceFormat_Values_qual_data_value),
1021 };
1022
1023 static MI_CONST MI_Qualifier CIM_Error_ErrorSourceFormat_Values_qual =
1024 {
1025 MI_T("Values"),
1026 MI_STRINGA,
1027 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1028 &CIM_Error_ErrorSourceFormat_Values_qual_value
1029 };
1030 krisbash 1.1
1031 static MI_CONST MI_Char* CIM_Error_ErrorSourceFormat_ModelCorrespondence_qual_data_value[] =
1032 {
1033 MI_T("CIM_Error.ErrorSource"),
1034 MI_T("CIM_Error.OtherErrorSourceFormat"),
1035 };
1036
1037 static MI_CONST MI_ConstStringA CIM_Error_ErrorSourceFormat_ModelCorrespondence_qual_value =
1038 {
1039 CIM_Error_ErrorSourceFormat_ModelCorrespondence_qual_data_value,
1040 MI_COUNT(CIM_Error_ErrorSourceFormat_ModelCorrespondence_qual_data_value),
1041 };
1042
1043 static MI_CONST MI_Qualifier CIM_Error_ErrorSourceFormat_ModelCorrespondence_qual =
1044 {
1045 MI_T("ModelCorrespondence"),
1046 MI_STRINGA,
1047 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1048 &CIM_Error_ErrorSourceFormat_ModelCorrespondence_qual_value
1049 };
1050
1051 krisbash 1.1 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_ErrorSourceFormat_quals[] =
1052 {
1053 &CIM_Error_ErrorSourceFormat_Description_qual,
1054 &CIM_Error_ErrorSourceFormat_ValueMap_qual,
1055 &CIM_Error_ErrorSourceFormat_Values_qual,
1056 &CIM_Error_ErrorSourceFormat_ModelCorrespondence_qual,
1057 };
1058
1059 static MI_CONST MI_Uint16 CIM_Error_ErrorSourceFormat_value = 0;
1060
1061 /* property CIM_Error.ErrorSourceFormat */
1062 static MI_CONST MI_PropertyDecl CIM_Error_ErrorSourceFormat_prop =
1063 {
1064 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
1065 0x00657411, /* code */
1066 MI_T("ErrorSourceFormat"), /* name */
1067 CIM_Error_ErrorSourceFormat_quals, /* qualifiers */
1068 MI_COUNT(CIM_Error_ErrorSourceFormat_quals), /* numQualifiers */
1069 MI_UINT16, /* type */
1070 NULL, /* className */
1071 0, /* subscript */
1072 krisbash 1.1 offsetof(CIM_Error, ErrorSourceFormat), /* offset */
1073 MI_T("CIM_Error"), /* origin */
1074 MI_T("CIM_Error"), /* propagator */
1075 &CIM_Error_ErrorSourceFormat_value,
1076 };
1077
1078 static MI_CONST MI_Char* CIM_Error_OtherErrorSourceFormat_Description_qual_value = MI_T("A string defining \"Other\" values for ErrorSourceFormat. This value MUST be set to a non NULL value when ErrorSourceFormat is set to a value of 1 (\"Other\"). For all other values of ErrorSourceFormat, the value of this string must be set to NULL.");
1079
1080 static MI_CONST MI_Qualifier CIM_Error_OtherErrorSourceFormat_Description_qual =
1081 {
1082 MI_T("Description"),
1083 MI_STRING,
1084 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1085 &CIM_Error_OtherErrorSourceFormat_Description_qual_value
1086 };
1087
1088 static MI_CONST MI_Char* CIM_Error_OtherErrorSourceFormat_ModelCorrespondence_qual_data_value[] =
1089 {
1090 MI_T("CIM_Error.ErrorSourceFormat"),
1091 };
1092
1093 krisbash 1.1 static MI_CONST MI_ConstStringA CIM_Error_OtherErrorSourceFormat_ModelCorrespondence_qual_value =
1094 {
1095 CIM_Error_OtherErrorSourceFormat_ModelCorrespondence_qual_data_value,
1096 MI_COUNT(CIM_Error_OtherErrorSourceFormat_ModelCorrespondence_qual_data_value),
1097 };
1098
1099 static MI_CONST MI_Qualifier CIM_Error_OtherErrorSourceFormat_ModelCorrespondence_qual =
1100 {
1101 MI_T("ModelCorrespondence"),
1102 MI_STRINGA,
1103 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1104 &CIM_Error_OtherErrorSourceFormat_ModelCorrespondence_qual_value
1105 };
1106
1107 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_OtherErrorSourceFormat_quals[] =
1108 {
1109 &CIM_Error_OtherErrorSourceFormat_Description_qual,
1110 &CIM_Error_OtherErrorSourceFormat_ModelCorrespondence_qual,
1111 };
1112
1113 /* property CIM_Error.OtherErrorSourceFormat */
1114 krisbash 1.1 static MI_CONST MI_PropertyDecl CIM_Error_OtherErrorSourceFormat_prop =
1115 {
1116 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
1117 0x006F7416, /* code */
1118 MI_T("OtherErrorSourceFormat"), /* name */
1119 CIM_Error_OtherErrorSourceFormat_quals, /* qualifiers */
1120 MI_COUNT(CIM_Error_OtherErrorSourceFormat_quals), /* numQualifiers */
1121 MI_STRING, /* type */
1122 NULL, /* className */
1123 0, /* subscript */
1124 offsetof(CIM_Error, OtherErrorSourceFormat), /* offset */
1125 MI_T("CIM_Error"), /* origin */
1126 MI_T("CIM_Error"), /* propagator */
1127 NULL,
1128 };
1129
1130 static MI_CONST MI_Char* CIM_Error_CIMStatusCode_Description_qual_value = MI_T("The CIM status code that characterizes this instance. \nThis property defines the status codes that MAY be returned by a conforming CIM Server or Listener. Note that not all status codes are valid for each operation. The specification for each operation SHOULD define the status codes that may be returned by that operation. \nThe following values for CIM status code are defined: \n1 - CIM_ERR_FAILED. A general error occurred that is not covered by a more specific error code. \n2 - CIM_ERR_ACCESS_DENIED. Access to a CIM resource was not available to the client. \n3 - CIM_ERR_INVALID_NAMESPACE. The target namespace does not exist. \n4 - CIM_ERR_INVALID_PARAMETER. One or more parameter values passed to the method were invalid. \n5 - CIM_ERR_INVALID_CLASS. The specified Class does not exist. \n6 - CIM_ERR_NOT_FOUND. The requested object could not be found. \n7 - CIM_ERR_NOT_SUPPORTED. The requested operation is not supported. \n8 - CIM_ERR_CLASS_HAS_CHILDREN. Operation cannot be carried out on this class since it has instances. \n9 - CIM_ERR_CLASS_HAS_INSTANCES. Operation cannot be carried out on this class since it has instances. \n10 - CIM_ERR_INVALID_SUPERCLASS. Operation cannot be carried out since the specified superclass does not exist. \n11 - CIM_ERR_ALREADY_EXISTS. Operation cannot be carried out because an object already exists. \n12 - CIM_ERR_NO_SUCH_PROPERTY. The specified Property does not exist. \n13 - CIM_ERR_TYPE_MISMATCH. The value supplied is incompatible with the type. \n14 - CIM_ERR_QUERY_LANGUAGE_NOT_SUPPORTED. The query language is not recognized or supported. \n15 - CIM_ERR_INVALID_QUERY. The query is not valid for the specified query language. \n16 - CIM_ERR_METHOD_NOT_AVAILABLE. The extrinsic Method could not be executed. \n17 - CIM_ERR_METHOD_NOT_FOUND. The specified extrinsic Method does not exist. \n18 - CIM_ERR_UNEXPECTED_RESPONSE. The returned response to the asynchronous operation was not expected. \n19 - CIM_ERR_INVALID_RESPONSE_DESTINATION. The specified destination for the asynchronous response is not valid. \n20 - CIM_ERR_NAMESPACE_NOT_EMPTY. The specified Namespace is not empty.\n21 - CIM_ERR_INVALID_ENUMERATION_CONTEXT. The enumeration context supplied is not valid.\n22 - CIM_ERR_INVALID_OPERATION_TIMEOUT. The specified Namespace is not empty.\n23 - CIM_ERR_PULL_HAS_BEEN_ABANDONED. The specified Namespace is not empty.\n24 - CIM_ERR_PULL_CANNOT_BE_ABANDONED. The attempt to abandon a pull operation has failed.\n25 - CIM_ERR_FILTERED_ENUMERATION_NOT_SUPPORTED. Filtered Enumeratrions are not supported.\n26 - CIM_ERR_CONTINUATION_ON_ERROR_NOT_SUPPORTED. Continue on error is not supported.\n27 - CIM_ERR_SERVER_LIMITS_EXCEEDED. The WBEM Server limits have been exceeded (e.g. memory, connections, ...).\n28 - CIM_ERR_SERVER_IS_SHUTTING_DOWN. The WBEM Server is shutting down.\n29 - CIM_ERR_QUERY_FEATURE_NOT_SUPPORTED. The specified Query Feature is not supported.");
1131
1132 static MI_CONST MI_Qualifier CIM_Error_CIMStatusCode_Description_qual =
1133 {
1134 MI_T("Description"),
1135 krisbash 1.1 MI_STRING,
1136 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1137 &CIM_Error_CIMStatusCode_Description_qual_value
1138 };
1139
1140 static MI_CONST MI_Char* CIM_Error_CIMStatusCode_ValueMap_qual_data_value[] =
1141 {
1142 MI_T("1"),
1143 MI_T("2"),
1144 MI_T("3"),
1145 MI_T("4"),
1146 MI_T("5"),
1147 MI_T("6"),
1148 MI_T("7"),
1149 MI_T("8"),
1150 MI_T("9"),
1151 MI_T("10"),
1152 MI_T("11"),
1153 MI_T("12"),
1154 MI_T("13"),
1155 MI_T("14"),
1156 krisbash 1.1 MI_T("15"),
1157 MI_T("16"),
1158 MI_T("17"),
1159 MI_T("18"),
1160 MI_T("19"),
1161 MI_T("20"),
1162 MI_T("21"),
1163 MI_T("22"),
1164 MI_T("23"),
1165 MI_T("24"),
1166 MI_T("25"),
1167 MI_T("26"),
1168 MI_T("27"),
1169 MI_T("28"),
1170 MI_T("29"),
1171 MI_T(".."),
1172 };
1173
1174 static MI_CONST MI_ConstStringA CIM_Error_CIMStatusCode_ValueMap_qual_value =
1175 {
1176 CIM_Error_CIMStatusCode_ValueMap_qual_data_value,
1177 krisbash 1.1 MI_COUNT(CIM_Error_CIMStatusCode_ValueMap_qual_data_value),
1178 };
1179
1180 static MI_CONST MI_Qualifier CIM_Error_CIMStatusCode_ValueMap_qual =
1181 {
1182 MI_T("ValueMap"),
1183 MI_STRINGA,
1184 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1185 &CIM_Error_CIMStatusCode_ValueMap_qual_value
1186 };
1187
1188 static MI_CONST MI_Char* CIM_Error_CIMStatusCode_Values_qual_data_value[] =
1189 {
1190 MI_T("CIM_ERR_FAILED"),
1191 MI_T("CIM_ERR_ACCESS_DENIED"),
1192 MI_T("CIM_ERR_INVALID_NAMESPACE"),
1193 MI_T("CIM_ERR_INVALID_PARAMETER"),
1194 MI_T("CIM_ERR_INVALID_CLASS"),
1195 MI_T("CIM_ERR_NOT_FOUND"),
1196 MI_T("CIM_ERR_NOT_SUPPORTED"),
1197 MI_T("CIM_ERR_CLASS_HAS_CHILDREN"),
1198 krisbash 1.1 MI_T("CIM_ERR_CLASS_HAS_INSTANCES"),
1199 MI_T("CIM_ERR_INVALID_SUPERCLASS"),
1200 MI_T("CIM_ERR_ALREADY_EXISTS"),
1201 MI_T("CIM_ERR_NO_SUCH_PROPERTY"),
1202 MI_T("CIM_ERR_TYPE_MISMATCH"),
1203 MI_T("CIM_ERR_QUERY_LANGUAGE_NOT_SUPPORTED"),
1204 MI_T("CIM_ERR_INVALID_QUERY"),
1205 MI_T("CIM_ERR_METHOD_NOT_AVAILABLE"),
1206 MI_T("CIM_ERR_METHOD_NOT_FOUND"),
1207 MI_T("CIM_ERR_UNEXPECTED_RESPONSE"),
1208 MI_T("CIM_ERR_INVALID_RESPONSE_DESTINATION"),
1209 MI_T("CIM_ERR_NAMESPACE_NOT_EMPTY"),
1210 MI_T("CIM_ERR_INVALID_ENUMERATION_CONTEXT"),
1211 MI_T("CIM_ERR_INVALID_OPERATION_TIMEOUT"),
1212 MI_T("CIM_ERR_PULL_HAS_BEEN_ABANDONED"),
1213 MI_T("CIM_ERR_PULL_CANNOT_BE_ABANDONED"),
1214 MI_T("CIM_ERR_FILTERED_ENUMERATION_NOT_SUPPORTED"),
1215 MI_T("CIM_ERR_CONTINUATION_ON_ERROR_NOT_SUPPORTED"),
1216 MI_T("CIM_ERR_SERVER_LIMITS_EXCEEDED"),
1217 MI_T("CIM_ERR_SERVER_IS_SHUTTING_DOWN"),
1218 MI_T("CIM_ERR_QUERY_FEATURE_NOT_SUPPORTED"),
1219 krisbash 1.1 MI_T("DMTF Reserved"),
1220 };
1221
1222 static MI_CONST MI_ConstStringA CIM_Error_CIMStatusCode_Values_qual_value =
1223 {
1224 CIM_Error_CIMStatusCode_Values_qual_data_value,
1225 MI_COUNT(CIM_Error_CIMStatusCode_Values_qual_data_value),
1226 };
1227
1228 static MI_CONST MI_Qualifier CIM_Error_CIMStatusCode_Values_qual =
1229 {
1230 MI_T("Values"),
1231 MI_STRINGA,
1232 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1233 &CIM_Error_CIMStatusCode_Values_qual_value
1234 };
1235
1236 static MI_CONST MI_Char* CIM_Error_CIMStatusCode_ModelCorrespondence_qual_data_value[] =
1237 {
1238 MI_T("CIM_Error.CIMStatusCodeDescription"),
1239 };
1240 krisbash 1.1
1241 static MI_CONST MI_ConstStringA CIM_Error_CIMStatusCode_ModelCorrespondence_qual_value =
1242 {
1243 CIM_Error_CIMStatusCode_ModelCorrespondence_qual_data_value,
1244 MI_COUNT(CIM_Error_CIMStatusCode_ModelCorrespondence_qual_data_value),
1245 };
1246
1247 static MI_CONST MI_Qualifier CIM_Error_CIMStatusCode_ModelCorrespondence_qual =
1248 {
1249 MI_T("ModelCorrespondence"),
1250 MI_STRINGA,
1251 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1252 &CIM_Error_CIMStatusCode_ModelCorrespondence_qual_value
1253 };
1254
1255 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_CIMStatusCode_quals[] =
1256 {
1257 &CIM_Error_CIMStatusCode_Description_qual,
1258 &CIM_Error_CIMStatusCode_ValueMap_qual,
1259 &CIM_Error_CIMStatusCode_Values_qual,
1260 &CIM_Error_CIMStatusCode_ModelCorrespondence_qual,
1261 krisbash 1.1 };
1262
1263 /* property CIM_Error.CIMStatusCode */
1264 static MI_CONST MI_PropertyDecl CIM_Error_CIMStatusCode_prop =
1265 {
1266 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
1267 0x0063650D, /* code */
1268 MI_T("CIMStatusCode"), /* name */
1269 CIM_Error_CIMStatusCode_quals, /* qualifiers */
1270 MI_COUNT(CIM_Error_CIMStatusCode_quals), /* numQualifiers */
1271 MI_UINT32, /* type */
1272 NULL, /* className */
1273 0, /* subscript */
1274 offsetof(CIM_Error, CIMStatusCode), /* offset */
1275 MI_T("CIM_Error"), /* origin */
1276 MI_T("CIM_Error"), /* propagator */
1277 NULL,
1278 };
1279
1280 static MI_CONST MI_Char* CIM_Error_CIMStatusCodeDescription_Description_qual_value = MI_T("A free-form string containing a human-readable description of CIMStatusCode. This description MAY extend, but MUST be consistent with, the definition of CIMStatusCode.");
1281
1282 krisbash 1.1 static MI_CONST MI_Qualifier CIM_Error_CIMStatusCodeDescription_Description_qual =
1283 {
1284 MI_T("Description"),
1285 MI_STRING,
1286 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1287 &CIM_Error_CIMStatusCodeDescription_Description_qual_value
1288 };
1289
1290 static MI_CONST MI_Char* CIM_Error_CIMStatusCodeDescription_ModelCorrespondence_qual_data_value[] =
1291 {
1292 MI_T("CIM_Error.CIMStatusCode"),
1293 };
1294
1295 static MI_CONST MI_ConstStringA CIM_Error_CIMStatusCodeDescription_ModelCorrespondence_qual_value =
1296 {
1297 CIM_Error_CIMStatusCodeDescription_ModelCorrespondence_qual_data_value,
1298 MI_COUNT(CIM_Error_CIMStatusCodeDescription_ModelCorrespondence_qual_data_value),
1299 };
1300
1301 static MI_CONST MI_Qualifier CIM_Error_CIMStatusCodeDescription_ModelCorrespondence_qual =
1302 {
1303 krisbash 1.1 MI_T("ModelCorrespondence"),
1304 MI_STRINGA,
1305 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1306 &CIM_Error_CIMStatusCodeDescription_ModelCorrespondence_qual_value
1307 };
1308
1309 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_CIMStatusCodeDescription_quals[] =
1310 {
1311 &CIM_Error_CIMStatusCodeDescription_Description_qual,
1312 &CIM_Error_CIMStatusCodeDescription_ModelCorrespondence_qual,
1313 };
1314
1315 /* property CIM_Error.CIMStatusCodeDescription */
1316 static MI_CONST MI_PropertyDecl CIM_Error_CIMStatusCodeDescription_prop =
1317 {
1318 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
1319 0x00636E18, /* code */
1320 MI_T("CIMStatusCodeDescription"), /* name */
1321 CIM_Error_CIMStatusCodeDescription_quals, /* qualifiers */
1322 MI_COUNT(CIM_Error_CIMStatusCodeDescription_quals), /* numQualifiers */
1323 MI_STRING, /* type */
1324 krisbash 1.1 NULL, /* className */
1325 0, /* subscript */
1326 offsetof(CIM_Error, CIMStatusCodeDescription), /* offset */
1327 MI_T("CIM_Error"), /* origin */
1328 MI_T("CIM_Error"), /* propagator */
1329 NULL,
1330 };
1331
1332 static MI_PropertyDecl MI_CONST* MI_CONST CIM_Error_props[] =
1333 {
1334 &CIM_Error_ErrorType_prop,
1335 &CIM_Error_OtherErrorType_prop,
1336 &CIM_Error_OwningEntity_prop,
1337 &CIM_Error_MessageID_prop,
1338 &CIM_Error_Message_prop,
1339 &CIM_Error_MessageArguments_prop,
1340 &CIM_Error_PerceivedSeverity_prop,
1341 &CIM_Error_ProbableCause_prop,
1342 &CIM_Error_ProbableCauseDescription_prop,
1343 &CIM_Error_RecommendedActions_prop,
1344 &CIM_Error_ErrorSource_prop,
1345 krisbash 1.1 &CIM_Error_ErrorSourceFormat_prop,
1346 &CIM_Error_OtherErrorSourceFormat_prop,
1347 &CIM_Error_CIMStatusCode_prop,
1348 &CIM_Error_CIMStatusCodeDescription_prop,
1349 };
1350
1351 static MI_CONST MI_Boolean CIM_Error_Indication_qual_value = 1;
1352
1353 static MI_CONST MI_Qualifier CIM_Error_Indication_qual =
1354 {
1355 MI_T("Indication"),
1356 MI_BOOLEAN,
1357 MI_FLAG_DISABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1358 &CIM_Error_Indication_qual_value
1359 };
1360
1361 static MI_CONST MI_Char* CIM_Error_Version_qual_value = MI_T("2.22.1");
1362
1363 static MI_CONST MI_Qualifier CIM_Error_Version_qual =
1364 {
1365 MI_T("Version"),
1366 krisbash 1.1 MI_STRING,
1367 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TRANSLATABLE|MI_FLAG_RESTRICTED,
1368 &CIM_Error_Version_qual_value
1369 };
1370
1371 static MI_CONST MI_Boolean CIM_Error_Exception_qual_value = 1;
1372
1373 static MI_CONST MI_Qualifier CIM_Error_Exception_qual =
1374 {
1375 MI_T("Exception"),
1376 MI_BOOLEAN,
1377 MI_FLAG_DISABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1378 &CIM_Error_Exception_qual_value
1379 };
1380
1381 static MI_CONST MI_Char* CIM_Error_UMLPackagePath_qual_value = MI_T("CIM::Interop");
1382
1383 static MI_CONST MI_Qualifier CIM_Error_UMLPackagePath_qual =
1384 {
1385 MI_T("UMLPackagePath"),
1386 MI_STRING,
1387 krisbash 1.1 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1388 &CIM_Error_UMLPackagePath_qual_value
1389 };
1390
1391 static MI_CONST MI_Char* CIM_Error_Description_qual_value = MI_T("CIM_Error is a specialized class that contains information about the severity, cause, recommended actions and other data related to the failure of a CIM Operation. Instances of this type MAY be included as part of the response to a CIM Operation.");
1392
1393 static MI_CONST MI_Qualifier CIM_Error_Description_qual =
1394 {
1395 MI_T("Description"),
1396 MI_STRING,
1397 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1398 &CIM_Error_Description_qual_value
1399 };
1400
1401 static MI_Qualifier MI_CONST* MI_CONST CIM_Error_quals[] =
1402 {
1403 &CIM_Error_Indication_qual,
1404 &CIM_Error_Version_qual,
1405 &CIM_Error_Exception_qual,
1406 &CIM_Error_UMLPackagePath_qual,
1407 &CIM_Error_Description_qual,
1408 krisbash 1.1 };
1409
1410 /* class CIM_Error */
1411 MI_CONST MI_ClassDecl CIM_Error_rtti =
1412 {
1413 MI_FLAG_CLASS|MI_FLAG_INDICATION, /* flags */
1414 0x00637209, /* code */
1415 MI_T("CIM_Error"), /* name */
1416 CIM_Error_quals, /* qualifiers */
1417 MI_COUNT(CIM_Error_quals), /* numQualifiers */
1418 CIM_Error_props, /* properties */
1419 MI_COUNT(CIM_Error_props), /* numProperties */
1420 sizeof(CIM_Error), /* size */
1421 NULL, /* superClass */
1422 NULL, /* superClassDecl */
1423 NULL, /* methods */
1424 0, /* numMethods */
1425 &schemaDecl, /* schema */
1426 NULL, /* functions */
1427 NULL /* owningClass */
1428 };
1429 krisbash 1.1
1430 /*
1431 **==============================================================================
1432 **
1433 ** OMI_Error
1434 **
1435 **==============================================================================
1436 */
1437
1438 static MI_CONST MI_Char* OMI_Error_error_Code_Description_qual_value = MI_T("Application-specific error code");
1439
1440 static MI_CONST MI_Qualifier OMI_Error_error_Code_Description_qual =
1441 {
1442 MI_T("Description"),
1443 MI_STRING,
1444 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1445 &OMI_Error_error_Code_Description_qual_value
1446 };
1447
1448 static MI_Qualifier MI_CONST* MI_CONST OMI_Error_error_Code_quals[] =
1449 {
1450 krisbash 1.1 &OMI_Error_error_Code_Description_qual,
1451 };
1452
1453 /* property OMI_Error.error_Code */
1454 static MI_CONST MI_PropertyDecl OMI_Error_error_Code_prop =
1455 {
1456 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
1457 0x0065650A, /* code */
1458 MI_T("error_Code"), /* name */
1459 OMI_Error_error_Code_quals, /* qualifiers */
1460 MI_COUNT(OMI_Error_error_Code_quals), /* numQualifiers */
1461 MI_UINT32, /* type */
1462 NULL, /* className */
1463 0, /* subscript */
1464 offsetof(OMI_Error, error_Code), /* offset */
1465 MI_T("OMI_Error"), /* origin */
1466 MI_T("OMI_Error"), /* propagator */
1467 NULL,
1468 };
1469
1470 static MI_CONST MI_Char* OMI_Error_error_Type_Description_qual_value = MI_T("The name of the error type, for example : 'HRESULT' or 'MI_RESULT' or 'Win32'");
1471 krisbash 1.1
1472 static MI_CONST MI_Qualifier OMI_Error_error_Type_Description_qual =
1473 {
1474 MI_T("Description"),
1475 MI_STRING,
1476 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1477 &OMI_Error_error_Type_Description_qual_value
1478 };
1479
1480 static MI_Qualifier MI_CONST* MI_CONST OMI_Error_error_Type_quals[] =
1481 {
1482 &OMI_Error_error_Type_Description_qual,
1483 };
1484
1485 /* property OMI_Error.error_Type */
1486 static MI_CONST MI_PropertyDecl OMI_Error_error_Type_prop =
1487 {
1488 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
1489 0x0065650A, /* code */
1490 MI_T("error_Type"), /* name */
1491 OMI_Error_error_Type_quals, /* qualifiers */
1492 krisbash 1.1 MI_COUNT(OMI_Error_error_Type_quals), /* numQualifiers */
1493 MI_STRING, /* type */
1494 NULL, /* className */
1495 0, /* subscript */
1496 offsetof(OMI_Error, error_Type), /* offset */
1497 MI_T("OMI_Error"), /* origin */
1498 MI_T("OMI_Error"), /* propagator */
1499 NULL,
1500 };
1501
1502 static MI_CONST MI_Char* OMI_Error_error_Category_Description_qual_value = MI_T("An enumeration corresponding to the category enum in MI.h");
1503
1504 static MI_CONST MI_Qualifier OMI_Error_error_Category_Description_qual =
1505 {
1506 MI_T("Description"),
1507 MI_STRING,
1508 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1509 &OMI_Error_error_Category_Description_qual_value
1510 };
1511
1512 static MI_CONST MI_Char* OMI_Error_error_Category_Values_qual_data_value[] =
1513 krisbash 1.1 {
1514 MI_T("MI_ERRORCATEGORY_NOT_SPECIFIED"),
1515 MI_T("MI_ERRORCATEGORY_OPEN_ERROR"),
1516 MI_T("MI_ERRORCATEGORY_CLOSE_EERROR"),
1517 MI_T("MI_ERRORCATEGORY_DEVICE_ERROR"),
1518 MI_T("MI_ERRORCATEGORY_DEADLOCK_DETECTED"),
1519 MI_T("MI_ERRORCATEGORY_INVALID_ARGUMENT"),
1520 MI_T("MI_ERRORCATEGORY_INVALID_DATA"),
1521 MI_T("MI_ERRORCATEGORY_INVALID_OPERATION"),
1522 MI_T("MI_ERRORCATEGORY_INVALID_RESULT"),
1523 MI_T("MI_ERRORCATEGORY_INVALID_TYPE"),
1524 MI_T("MI_ERRORCATEGORY_METADATA_ERROR"),
1525 MI_T("MI_ERRORCATEGORY_NOT_IMPLEMENTED"),
1526 MI_T("MI_ERRORCATEGORY_NOT_INSTALLED"),
1527 MI_T("MI_ERRORCATEGORY_OBJECT_NOT_FOUND"),
1528 MI_T("MI_ERRORCATEGORY_OPERATION_STOPPED"),
1529 MI_T("MI_ERRORCATEGORY_OPERATION_TIMEOUT"),
1530 MI_T("MI_ERRORCATEGORY_SYNTAX_ERROR"),
1531 MI_T("MI_ERRORCATEGORY_PARSER_ERROR"),
1532 MI_T("MI_ERRORCATEGORY_ACCESS_DENIED"),
1533 MI_T("MI_ERRORCATEGORY_RESOURCE_BUSY"),
1534 krisbash 1.1 MI_T("MI_ERRORCATEGORY_RESOURCE_EXISTS"),
1535 MI_T("MI_ERRORCATEGORY_RESOURCE_UNAVAILABLE"),
1536 MI_T("MI_ERRORCATEGORY_READ_ERROR"),
1537 MI_T("MI_ERRORCATEGORY_WRITE_ERROR"),
1538 MI_T("MI_ERRORCATEGORY_FROM_STDERR"),
1539 MI_T("MI_ERRORCATEGORY_SECURITY_ERROR"),
1540 MI_T("MI_ERRORCATEGORY_PROTOCOL_ERROR"),
1541 MI_T("MI_ERRORCATEGORY_CONNECTION_ERROR"),
1542 MI_T("MI_ERRORCATEGORY_AUTHENTICATION_ERROR"),
1543 MI_T("MI_ERRORCATEGORY_LIMITS_EXCEEDED"),
1544 MI_T("MI_ERRORCATEGORY_QUOTA_EXCEEDED"),
1545 MI_T("MI_ERRORCATEGORY_NOT_ENABLED"),
1546 };
1547
1548 static MI_CONST MI_ConstStringA OMI_Error_error_Category_Values_qual_value =
1549 {
1550 OMI_Error_error_Category_Values_qual_data_value,
1551 MI_COUNT(OMI_Error_error_Category_Values_qual_data_value),
1552 };
1553
1554 static MI_CONST MI_Qualifier OMI_Error_error_Category_Values_qual =
1555 krisbash 1.1 {
1556 MI_T("Values"),
1557 MI_STRINGA,
1558 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1559 &OMI_Error_error_Category_Values_qual_value
1560 };
1561
1562 static MI_CONST MI_Char* OMI_Error_error_Category_ValueMap_qual_data_value[] =
1563 {
1564 MI_T("1"),
1565 MI_T("2"),
1566 MI_T("3"),
1567 MI_T("4"),
1568 MI_T("5"),
1569 MI_T("6"),
1570 MI_T("7"),
1571 MI_T("8"),
1572 MI_T("9"),
1573 MI_T("10"),
1574 MI_T("11"),
1575 MI_T("12"),
1576 krisbash 1.1 MI_T("13"),
1577 MI_T("14"),
1578 MI_T("15"),
1579 MI_T("16"),
1580 MI_T("17"),
1581 MI_T("18"),
1582 MI_T("19"),
1583 MI_T("20"),
1584 MI_T("21"),
1585 MI_T("22"),
1586 MI_T("23"),
1587 MI_T("24"),
1588 MI_T("25"),
1589 MI_T("26"),
1590 MI_T("27"),
1591 MI_T("28"),
1592 MI_T("29"),
1593 MI_T("30"),
1594 MI_T("31"),
1595 };
1596
1597 krisbash 1.1 static MI_CONST MI_ConstStringA OMI_Error_error_Category_ValueMap_qual_value =
1598 {
1599 OMI_Error_error_Category_ValueMap_qual_data_value,
1600 MI_COUNT(OMI_Error_error_Category_ValueMap_qual_data_value),
1601 };
1602
1603 static MI_CONST MI_Qualifier OMI_Error_error_Category_ValueMap_qual =
1604 {
1605 MI_T("ValueMap"),
1606 MI_STRINGA,
1607 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1608 &OMI_Error_error_Category_ValueMap_qual_value
1609 };
1610
1611 static MI_Qualifier MI_CONST* MI_CONST OMI_Error_error_Category_quals[] =
1612 {
1613 &OMI_Error_error_Category_Description_qual,
1614 &OMI_Error_error_Category_Values_qual,
1615 &OMI_Error_error_Category_ValueMap_qual,
1616 };
1617
1618 krisbash 1.1 /* property OMI_Error.error_Category */
1619 static MI_CONST MI_PropertyDecl OMI_Error_error_Category_prop =
1620 {
1621 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
1622 0x0065790E, /* code */
1623 MI_T("error_Category"), /* name */
1624 OMI_Error_error_Category_quals, /* qualifiers */
1625 MI_COUNT(OMI_Error_error_Category_quals), /* numQualifiers */
1626 MI_UINT16, /* type */
1627 NULL, /* className */
1628 0, /* subscript */
1629 offsetof(OMI_Error, error_Category), /* offset */
1630 MI_T("OMI_Error"), /* origin */
1631 MI_T("OMI_Error"), /* propagator */
1632 NULL,
1633 };
1634
1635 static MI_PropertyDecl MI_CONST* MI_CONST OMI_Error_props[] =
1636 {
1637 &CIM_Error_ErrorType_prop,
1638 &CIM_Error_OtherErrorType_prop,
1639 krisbash 1.1 &CIM_Error_OwningEntity_prop,
1640 &CIM_Error_MessageID_prop,
1641 &CIM_Error_Message_prop,
1642 &CIM_Error_MessageArguments_prop,
1643 &CIM_Error_PerceivedSeverity_prop,
1644 &CIM_Error_ProbableCause_prop,
1645 &CIM_Error_ProbableCauseDescription_prop,
1646 &CIM_Error_RecommendedActions_prop,
1647 &CIM_Error_ErrorSource_prop,
1648 &CIM_Error_ErrorSourceFormat_prop,
1649 &CIM_Error_OtherErrorSourceFormat_prop,
1650 &CIM_Error_CIMStatusCode_prop,
1651 &CIM_Error_CIMStatusCodeDescription_prop,
1652 &OMI_Error_error_Code_prop,
1653 &OMI_Error_error_Type_prop,
1654 &OMI_Error_error_Category_prop,
1655 };
1656
1657 static MI_CONST MI_Boolean OMI_Error_Indication_qual_value = 1;
1658
1659 static MI_CONST MI_Qualifier OMI_Error_Indication_qual =
1660 krisbash 1.1 {
1661 MI_T("Indication"),
1662 MI_BOOLEAN,
1663 MI_FLAG_DISABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1664 &OMI_Error_Indication_qual_value
1665 };
1666
1667 static MI_CONST MI_Boolean OMI_Error_Exception_qual_value = 1;
1668
1669 static MI_CONST MI_Qualifier OMI_Error_Exception_qual =
1670 {
1671 MI_T("Exception"),
1672 MI_BOOLEAN,
1673 MI_FLAG_DISABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1674 &OMI_Error_Exception_qual_value
1675 };
1676
1677 static MI_CONST MI_Char* OMI_Error_UMLPackagePath_qual_value = MI_T("CIM::Interop");
1678
1679 static MI_CONST MI_Qualifier OMI_Error_UMLPackagePath_qual =
1680 {
1681 krisbash 1.1 MI_T("UMLPackagePath"),
1682 MI_STRING,
1683 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1684 &OMI_Error_UMLPackagePath_qual_value
1685 };
1686
1687 static MI_CONST MI_Char* OMI_Error_Description_qual_value = MI_T("OMI_Error is a class used to report errors in the OMI infrastructure and components built on that infrastructure.");
1688
1689 static MI_CONST MI_Qualifier OMI_Error_Description_qual =
1690 {
1691 MI_T("Description"),
1692 MI_STRING,
1693 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1694 &OMI_Error_Description_qual_value
1695 };
1696
1697 static MI_CONST MI_Char* OMI_Error_Version_qual_value = MI_T("2.22.1");
1698
1699 static MI_CONST MI_Qualifier OMI_Error_Version_qual =
1700 {
1701 MI_T("Version"),
1702 krisbash 1.1 MI_STRING,
1703 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TRANSLATABLE|MI_FLAG_RESTRICTED,
1704 &OMI_Error_Version_qual_value
1705 };
1706
1707 static MI_Qualifier MI_CONST* MI_CONST OMI_Error_quals[] =
1708 {
1709 &OMI_Error_Indication_qual,
1710 &OMI_Error_Exception_qual,
1711 &OMI_Error_UMLPackagePath_qual,
1712 &OMI_Error_Description_qual,
1713 &OMI_Error_Version_qual,
1714 };
1715
1716 /* class OMI_Error */
1717 MI_CONST MI_ClassDecl OMI_Error_rtti =
1718 {
1719 MI_FLAG_CLASS|MI_FLAG_INDICATION, /* flags */
1720 0x006F7209, /* code */
1721 MI_T("OMI_Error"), /* name */
1722 OMI_Error_quals, /* qualifiers */
1723 krisbash 1.1 MI_COUNT(OMI_Error_quals), /* numQualifiers */
1724 OMI_Error_props, /* properties */
1725 MI_COUNT(OMI_Error_props), /* numProperties */
1726 sizeof(OMI_Error), /* size */
1727 MI_T("CIM_Error"), /* superClass */
1728 &CIM_Error_rtti, /* superClassDecl */
1729 NULL, /* methods */
1730 0, /* numMethods */
1731 &schemaDecl, /* schema */
1732 NULL, /* functions */
1733 NULL /* owningClass */
1734 };
1735
1736 /*
1737 **==============================================================================
1738 **
1739 ** OMI_DebugError
1740 **
1741 **==============================================================================
1742 */
1743
1744 krisbash 1.1 /* property OMI_DebugError.OMI_BackTrace */
1745 static MI_CONST MI_PropertyDecl OMI_DebugError_OMI_BackTrace_prop =
1746 {
1747 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
1748 0x006F650D, /* code */
1749 MI_T("OMI_BackTrace"), /* name */
1750 NULL, /* qualifiers */
1751 0, /* numQualifiers */
1752 MI_STRINGA, /* type */
1753 NULL, /* className */
1754 0, /* subscript */
1755 offsetof(OMI_DebugError, OMI_BackTrace), /* offset */
1756 MI_T("OMI_DebugError"), /* origin */
1757 MI_T("OMI_DebugError"), /* propagator */
1758 NULL,
1759 };
1760
1761 static MI_CONST MI_Boolean OMI_DebugError_inner_Error_EmbeddedObject_qual_value = 1;
1762
1763 static MI_CONST MI_Qualifier OMI_DebugError_inner_Error_EmbeddedObject_qual =
1764 {
1765 krisbash 1.1 MI_T("EmbeddedObject"),
1766 MI_BOOLEAN,
1767 MI_FLAG_DISABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1768 &OMI_DebugError_inner_Error_EmbeddedObject_qual_value
1769 };
1770
1771 static MI_Qualifier MI_CONST* MI_CONST OMI_DebugError_inner_Error_quals[] =
1772 {
1773 &OMI_DebugError_inner_Error_EmbeddedObject_qual,
1774 };
1775
1776 /* property OMI_DebugError.inner_Error */
1777 static MI_CONST MI_PropertyDecl OMI_DebugError_inner_Error_prop =
1778 {
1779 MI_FLAG_PROPERTY|MI_FLAG_READONLY, /* flags */
1780 0x0069720B, /* code */
1781 MI_T("inner_Error"), /* name */
1782 OMI_DebugError_inner_Error_quals, /* qualifiers */
1783 MI_COUNT(OMI_DebugError_inner_Error_quals), /* numQualifiers */
1784 MI_INSTANCE, /* type */
1785 NULL, /* className */
1786 krisbash 1.1 0, /* subscript */
1787 offsetof(OMI_DebugError, inner_Error), /* offset */
1788 MI_T("OMI_DebugError"), /* origin */
1789 MI_T("OMI_DebugError"), /* propagator */
1790 NULL,
1791 };
1792
1793 static MI_PropertyDecl MI_CONST* MI_CONST OMI_DebugError_props[] =
1794 {
1795 &CIM_Error_ErrorType_prop,
1796 &CIM_Error_OtherErrorType_prop,
1797 &CIM_Error_OwningEntity_prop,
1798 &CIM_Error_MessageID_prop,
1799 &CIM_Error_Message_prop,
1800 &CIM_Error_MessageArguments_prop,
1801 &CIM_Error_PerceivedSeverity_prop,
1802 &CIM_Error_ProbableCause_prop,
1803 &CIM_Error_ProbableCauseDescription_prop,
1804 &CIM_Error_RecommendedActions_prop,
1805 &CIM_Error_ErrorSource_prop,
1806 &CIM_Error_ErrorSourceFormat_prop,
1807 krisbash 1.1 &CIM_Error_OtherErrorSourceFormat_prop,
1808 &CIM_Error_CIMStatusCode_prop,
1809 &CIM_Error_CIMStatusCodeDescription_prop,
1810 &OMI_Error_error_Code_prop,
1811 &OMI_Error_error_Type_prop,
1812 &OMI_Error_error_Category_prop,
1813 &OMI_DebugError_OMI_BackTrace_prop,
1814 &OMI_DebugError_inner_Error_prop,
1815 };
1816
1817 static MI_CONST MI_Boolean OMI_DebugError_Indication_qual_value = 1;
1818
1819 static MI_CONST MI_Qualifier OMI_DebugError_Indication_qual =
1820 {
1821 MI_T("Indication"),
1822 MI_BOOLEAN,
1823 MI_FLAG_DISABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1824 &OMI_DebugError_Indication_qual_value
1825 };
1826
1827 static MI_CONST MI_Boolean OMI_DebugError_Exception_qual_value = 1;
1828 krisbash 1.1
1829 static MI_CONST MI_Qualifier OMI_DebugError_Exception_qual =
1830 {
1831 MI_T("Exception"),
1832 MI_BOOLEAN,
1833 MI_FLAG_DISABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1834 &OMI_DebugError_Exception_qual_value
1835 };
1836
1837 static MI_CONST MI_Char* OMI_DebugError_UMLPackagePath_qual_value = MI_T("CIM::Interop");
1838
1839 static MI_CONST MI_Qualifier OMI_DebugError_UMLPackagePath_qual =
1840 {
1841 MI_T("UMLPackagePath"),
1842 MI_STRING,
1843 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS,
1844 &OMI_DebugError_UMLPackagePath_qual_value
1845 };
1846
1847 static MI_CONST MI_Char* OMI_DebugError_Description_qual_value = MI_T("Instances of OMI_DebugError contain information about interpretercontinuation stack that can be used to pinpoint the line of codethat failed, and the context it failed in.");
1848
1849 krisbash 1.1 static MI_CONST MI_Qualifier OMI_DebugError_Description_qual =
1850 {
1851 MI_T("Description"),
1852 MI_STRING,
1853 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TOSUBCLASS|MI_FLAG_TRANSLATABLE,
1854 &OMI_DebugError_Description_qual_value
1855 };
1856
1857 static MI_CONST MI_Char* OMI_DebugError_Version_qual_value = MI_T("2.22.1");
1858
1859 static MI_CONST MI_Qualifier OMI_DebugError_Version_qual =
1860 {
1861 MI_T("Version"),
1862 MI_STRING,
1863 MI_FLAG_ENABLEOVERRIDE|MI_FLAG_TRANSLATABLE|MI_FLAG_RESTRICTED,
1864 &OMI_DebugError_Version_qual_value
1865 };
1866
1867 static MI_Qualifier MI_CONST* MI_CONST OMI_DebugError_quals[] =
1868 {
1869 &OMI_DebugError_Indication_qual,
1870 krisbash 1.1 &OMI_DebugError_Exception_qual,
1871 &OMI_DebugError_UMLPackagePath_qual,
1872 &OMI_DebugError_Description_qual,
1873 &OMI_DebugError_Version_qual,
1874 };
1875
1876 /* class OMI_DebugError */
1877 MI_CONST MI_ClassDecl OMI_DebugError_rtti =
1878 {
1879 MI_FLAG_CLASS|MI_FLAG_INDICATION, /* flags */
1880 0x006F720E, /* code */
1881 MI_T("OMI_DebugError"), /* name */
1882 OMI_DebugError_quals, /* qualifiers */
1883 MI_COUNT(OMI_DebugError_quals), /* numQualifiers */
1884 OMI_DebugError_props, /* properties */
1885 MI_COUNT(OMI_DebugError_props), /* numProperties */
1886 sizeof(OMI_DebugError), /* size */
1887 MI_T("OMI_Error"), /* superClass */
1888 &OMI_Error_rtti, /* superClassDecl */
1889 NULL, /* methods */
1890 0, /* numMethods */
1891 krisbash 1.1 &schemaDecl, /* schema */
1892 NULL, /* functions */
1893 NULL /* owningClass */
1894 };
1895
1896 /*
1897 **==============================================================================
1898 **
1899 ** Schema
1900 **
1901 **==============================================================================
1902 */
1903
1904 static MI_ClassDecl MI_CONST* MI_CONST classes[] =
1905 {
1906 &CIM_Error_rtti,
1907 &OMI_DebugError_rtti,
1908 &OMI_Error_rtti,
1909 };
1910
1911 MI_SchemaDecl schemaDecl =
1912 krisbash 1.1 {
1913 NULL, /* qualifierDecls */
1914 0, /* numQualifierDecls */
1915 classes, /* classDecls */
1916 MI_COUNT(classes), /* classDecls */
1917 };
|