version 1.18, 2002/05/11 03:07:27
|
version 1.19, 2002/05/11 21:36:29
|
|
|
or <VALUE.REFARRAY> tags. If the CIMValue is Null, no element is | or <VALUE.REFARRAY> tags. If the CIMValue is Null, no element is |
returned. | returned. |
@param out Sint8 Array to hold the XML representation | @param out Sint8 Array to hold the XML representation |
@param forceTag Boolean parameter that if set forces the XML tags to |
|
be output even if the CIMValue is NULL. |
|
@return Returns the XML representation of the CIMValue | @return Returns the XML representation of the CIMValue |
object in the input parameter out. | object in the input parameter out. |
*/ | */ |
void toXml(Array<Sint8>& out, Boolean forceTag) const; |
void toXml(Array<Sint8>& out) const; |
| |
/** toXML - Converts a CIMValue object to XML. There is no input | /** toXML - Converts a CIMValue object to XML. There is no input |
parameter and the result is returned as a String rather | parameter and the result is returned as a String rather |
|
|
element as value wrapped in the <VALUE>, <VALUE.ARRAY>, | element as value wrapped in the <VALUE>, <VALUE.ARRAY>, |
<VALUE.REFERENCE>, or <VALUE.REFARRAY> tags. If the | <VALUE.REFERENCE>, or <VALUE.REFARRAY> tags. If the |
CIMValue is Null, no element is returned. | CIMValue is Null, no element is returned. |
@param forceTag Boolean parameter that if set forces the XML tags to |
|
be output even if the CIMValue is NULL. |
|
@return Returns the XML representation of the CIMValue | @return Returns the XML representation of the CIMValue |
object in String form. | object in String form. |
*/ | */ |
String toXml(Boolean forceTag) const; |
String toXml() const; |
| |
/** CIMMethod print - Format and print the Value as XML to std output | /** CIMMethod print - Format and print the Value as XML to std output |
stream | stream |
@param forceTag Boolean parameter that if set forces the XML tags to |
|
be output even if the CIMValue is NULL. |
|
@param o Stream to output to. Defaults to cout. | @param o Stream to output to. Defaults to cout. |
@return None | @return None |
<PRE> | <PRE> |
Example: | Example: |
CIMValue value(Boolean(true)); | CIMValue value(Boolean(true)); |
value.print(true); // Prints "true" |
value.print(); // Prints "true" |
</PRE> | </PRE> |
*/ | */ |
void print(Boolean forceTag, PEGASUS_STD(ostream) &o=PEGASUS_STD(cout)) const; |
void print(PEGASUS_STD(ostream) &o=PEGASUS_STD(cout)) const; |
| |
/** toMof - Converts a CIMValueObject to Mof. | /** toMof - Converts a CIMValueObject to Mof. |
@out Sint8 Array to hold the Mof representation | @out Sint8 Array to hold the Mof representation |