1 mike 1.7 //%/////////////////////////////////////////////////////////////////////////////
2 //
|
3 kumpf 1.13 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
4 // The Open Group, Tivoli Systems
|
5 mike 1.7 //
6 // Permission is hereby granted, free of charge, to any person obtaining a copy
|
7 kumpf 1.13 // of this software and associated documentation files (the "Software"), to
8 // deal in the Software without restriction, including without limitation the
9 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
10 mike 1.7 // sell copies of the Software, and to permit persons to whom the Software is
11 // furnished to do so, subject to the following conditions:
12 //
|
13 kumpf 1.13 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
|
14 mike 1.7 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
15 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
16 kumpf 1.13 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
17 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
19 mike 1.7 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 //
22 //==============================================================================
23 //
24 // Author: Mike Brasher (mbrasher@bmc.com)
25 //
|
26 karl 1.11 // Modified By: Karl Schopmeyer(k.schopmeyer@opengroup.org)
|
27 kumpf 1.12 // Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
|
28 mike 1.7 //
29 //%/////////////////////////////////////////////////////////////////////////////
30
31 #ifndef Pegasus_Flavor_h
32 #define Pegasus_Flavor_h
33
34 #include <Pegasus/Common/Config.h>
35 #include <Pegasus/Common/Array.h>
36 #include <Pegasus/Common/String.h>
37
38 PEGASUS_NAMESPACE_BEGIN
|
39 mike 1.9
40 /** This structure defines flavor constants borne by CIMQualifier objects.
|
41 mike 1.7 */
42 struct PEGASUS_COMMON_LINKAGE CIMFlavor
43 {
|
44 mike 1.9 /** Indicates that the qualifier has no flavors.
45 */
|
46 mike 1.7 static const Uint32 NONE;
|
47 mike 1.9
48 /** Indicates that the qualifier may be overriden.
49 */
|
50 mike 1.7 static const Uint32 OVERRIDABLE;
|
51 karl 1.11 static const Uint32 ENABLEOVERRIDE;
52
53 static const Uint32 DISABLEOVERRIDE;
|
54 mike 1.9
55 /** Indicates that the qualifier is propagated to the qualifier in the
56 subclass with the same name.
57 */
|
58 mike 1.7 static const Uint32 TOSUBCLASS;
|
59 mike 1.9
|
60 kumpf 1.12 /* Indicates that the qualifier may not be propagated to the qualifier
61 in a subclass
|
62 karl 1.11 */
63 static const Uint32 RESTRICTED;
64
|
65 mike 1.9 /** Indicates that the qualifier is propagated to the qualifier in the
66 instance with the same name.
67 */
|
68 karl 1.11
|
69 mike 1.7 static const Uint32 TOINSTANCE;
|
70 mike 1.9
71 /** Indicates whether qualifier is translatable (for internationalization).
72 */
|
73 mike 1.7 static const Uint32 TRANSLATABLE;
74
|
75 mike 1.9 /** Defaults according to the CIM DTD (OVERRIDABLE | TOSUBCLASS).
76 */
|
77 mike 1.7 static const Uint32 DEFAULTS;
|
78 karl 1.10
79 /** Set both toInstance and toinstance according to the CIM DTD (OVERRIDABLE | TOSUBCLASS).
80 */
81 static const Uint32 TOSUBELEMENTS;
|
82 karl 1.11
83 /** Includes all elements of Flavor..
84 */
85 static const Uint32 ALL;
86
|
87 mike 1.7 };
88
89 PEGASUS_NAMESPACE_END
90
91 #endif /* Pegasus_Flavor_h */
|