version 1.6, 2001/07/10 06:43:22
|
version 1.7.2.2, 2001/08/06 14:39:03
|
|
|
static const Uint32 DEFAULTS; | static const Uint32 DEFAULTS; |
}; | }; |
| |
PEGASUS_COMMON_LINKAGE String FlavorToString(Uint32 scope); |
/** 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( | PEGASUS_COMMON_LINKAGE void FlavorToXml( |
Array<Sint8>& out, | Array<Sint8>& out, |
Uint32 flavor); | Uint32 flavor); |