version 1.11, 2002/03/28 02:57:54
|
version 1.12, 2002/05/15 20:04:10
|
|
|
// Author: Mike Brasher (mbrasher@bmc.com) | // Author: Mike Brasher (mbrasher@bmc.com) |
// | // |
// Modified By: Karl Schopmeyer(k.schopmeyer@opengroup.org) | // Modified By: Karl Schopmeyer(k.schopmeyer@opengroup.org) |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
*/ | */ |
static const Uint32 TOSUBCLASS; | static const Uint32 TOSUBCLASS; |
| |
/* Indicates that the qualifier may not be propagated to the qualifier in |
/* Indicates that the qualifier may not be propagated to the qualifier |
a subclass |
in a subclass |
*/ | */ |
static const Uint32 RESTRICTED; | static const Uint32 RESTRICTED; |
| |
|
|
| |
}; | }; |
| |
/** FlavorToMof - Converts the flavor attributes of a qualifier to CIM MOF |
|
keywords separated by spaces and returns them as a String. |
|
@param flavor Variable contianing the flavor mask |
|
@return Strin containing the flavor attribute keywords. |
|
*/ |
|
PEGASUS_COMMON_LINKAGE String FlavorToMof(Uint32 flavor); |
|
|
|
/** FlavorToXML - converts the flavor attributes of a qualifier to cimxml |
|
format and puts them into the variable out. |
|
@param out XML output stream into which the xml is places. |
|
@param flavor variable containing the flavor definition |
|
|
|
<pre> |
|
// Get flavorkeywords and test for any returned keywords |
|
Uint32 flavor = CIMFlavor::DEFAULTS, |
|
String flavorString; |
|
flavorString = FlavorToMof(_flavor); |
|
if (flavorString.size()) |
|
... // code to execute if keywords exist |
|
|
|
</pre> |
|
*/ |
|
PEGASUS_COMMON_LINKAGE void FlavorToXml( |
|
Array<Sint8>& out, |
|
Uint32 flavor); |
|
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif /* Pegasus_Flavor_h */ | #endif /* Pegasus_Flavor_h */ |