version 1.12, 2002/03/07 00:44:14
|
version 1.13, 2002/03/28 02:57:54
|
|
|
| |
const Uint32 CIMFlavor::NONE = 0; | const Uint32 CIMFlavor::NONE = 0; |
const Uint32 CIMFlavor::OVERRIDABLE = 1; | const Uint32 CIMFlavor::OVERRIDABLE = 1; |
|
const Uint32 CIMFlavor::ENABLEOVERRIDE = 1; |
const Uint32 CIMFlavor::TOSUBCLASS = 2; | const Uint32 CIMFlavor::TOSUBCLASS = 2; |
const Uint32 CIMFlavor::TOINSTANCE = 4; | const Uint32 CIMFlavor::TOINSTANCE = 4; |
const Uint32 CIMFlavor::TRANSLATABLE = 8; | const Uint32 CIMFlavor::TRANSLATABLE = 8; |
const Uint32 CIMFlavor::TOSUBELEMENTS = TOSUBCLASS | TOINSTANCE; | const Uint32 CIMFlavor::TOSUBELEMENTS = TOSUBCLASS | TOINSTANCE; |
|
const Uint32 CIMFlavor::DISABLEOVERRIDE = 16; |
|
const Uint32 CIMFlavor::RESTRICTED = 32; |
const Uint32 CIMFlavor::DEFAULTS = OVERRIDABLE | TOSUBCLASS; | const Uint32 CIMFlavor::DEFAULTS = OVERRIDABLE | TOSUBCLASS; |
|
// ATTN: P1 KS 24 March 2002 Change here to make TOINSTANCE part of the defaults |
|
//const Uint32 CIMFlavor::DEFAULTS = OVERRIDABLE | TOSUBCLASS| TOINSTANCE; |
|
const Uint32 CIMFlavor::ALL = OVERRIDABLE | DEFAULTS |
|
| TRANSLATABLE | DISABLEOVERRIDE | RESTRICTED; |
| |
static const char* _toString(Boolean x) | static const char* _toString(Boolean x) |
{ | { |
|
|
| |
tmp = ""; | tmp = ""; |
| |
//cout << "KSTEST MOF " << flavor << " overridable = " << overridable << endl; |
|
|
|
if (!overridable) | if (!overridable) |
tmp += "DisableOverride, "; | tmp += "DisableOverride, "; |
| |
|
|
if (!overridable) | if (!overridable) |
out << " OVERRIDABLE=\"" << _toString(overridable) << "\""; | out << " OVERRIDABLE=\"" << _toString(overridable) << "\""; |
| |
/*cout << "KSTEST XML " << flavor << " overridable = " |
/*cout << "KSTEST XML " << hex << flavor << " overridable = " |
<< overridable | << overridable |
<< " " << FlavorToMof(flavor) | << " " << FlavorToMof(flavor) |
<< endl;*/ | << endl;*/ |