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

Diff for /pegasus/src/Pegasus/Common/XmlWriter.cpp between version 1.23.2.4 and 1.23.2.6

version 1.23.2.4, 2001/10/05 18:55:52 version 1.23.2.6, 2001/11/20 06:11:35
Line 553 
Line 553 
  
 //------------------------------------------------------------------------------ //------------------------------------------------------------------------------
 // //
 // appendClassParameter()  // appendPropertyValueParameter()
   //
   //------------------------------------------------------------------------------
   
   Array<Sint8>& XmlWriter::appendPropertyValueParameter(
       Array<Sint8>& out,
       const char* parameterName,
       const CIMValue& value)
   {
       Array<Sint8> tmp;
       value.toXml(tmp);
       return formatIParamValueElement(out, parameterName, tmp);
   }
   
   //------------------------------------------------------------------------------
   //
   // appendPropertyListParameter()
   //
   //------------------------------------------------------------------------------
   
   Array<Sint8>& XmlWriter::appendPropertyListParameter(
       Array<Sint8>& out,
       const Array<String>& propertyList)
   {
       Array<Sint8> tmp;
   
       tmp << "<VALUE.ARRAY>\n";
   
       for (Uint32 i = 0; i < propertyList.size(); i++)
       {
           tmp << "<VALUE>" << propertyList[i] << "</VALUE>\n";
       }
   
       tmp << "</VALUE.ARRAY>\n";
       return formatIParamValueElement(out, "PropertyList", tmp);
   }
   
   //------------------------------------------------------------------------------
   //
   // appendQualifierDeclarationParameter()
 // //
 //------------------------------------------------------------------------------ //------------------------------------------------------------------------------
  


Legend:
Removed from v.1.23.2.4  
changed lines
  Added in v.1.23.2.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2