(file) Return to CIMValue.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/CIMValue.h between version 1.18 and 1.21

version 1.18, 2002/05/11 03:07:27 version 1.21, 2002/05/15 06:42:28
Line 380 
Line 380 
     ///     ///
     void get(Array<CIMReference>& x) const;     void get(Array<CIMReference>& x) const;
  
     /** toXML - Converts a CIMValue object to XML. The XML is appended      /** Makes a deep copy (clone) of the given object. */
         to the Array provided with the call.  Returns the result as an      CIMValue clone() const;
         XML element wrapped in the <VALUE>, <VALUE.ARRAY>, <VALUE.REFERENCE>,  
         or <VALUE.REFARRAY> tags. If the CIMValue is Null, no element is  
         returned.  
         @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  
         object in the input parameter out.  
     */  
     void toXml(Array<Sint8>& out, Boolean forceTag) const;  
   
     /** toXML - Converts a CIMValue object to XML. There is no input  
         parameter and the result is returned as a String rather  
         than appended to an 8-bit array as above.  Returns the  
         element as value wrapped in the <VALUE>, <VALUE.ARRAY>,  
         <VALUE.REFERENCE>, or <VALUE.REFARRAY> tags. If the  
         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  
         object in String form.  
     */  
     String toXml(Boolean forceTag) const;  
   
     /** CIMMethod print - Format and print the Value as XML to std output  
         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.  
         @return None  
         <PRE>  
         Example:  
             CIMValue value(Boolean(true));  
             value.print(true);  // Prints "true"  
         </PRE>  
     */  
     void print(Boolean forceTag, 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


Legend:
Removed from v.1.18  
changed lines
  Added in v.1.21

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2