(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.5 and 1.8

version 1.5, 2001/02/18 03:56:01 version 1.8, 2001/03/05 04:29:02
Line 23 
Line 23 
 // Author: // Author:
 // //
 // $Log$ // $Log$
   // Revision 1.8  2001/03/05 04:29:02  mike
   // renamed CimException to CIMException
   //
   // Revision 1.7  2001/02/20 07:25:57  mike
   // Added basic create-instance in repository and in client.
   //
   // Revision 1.6  2001/02/19 01:47:17  mike
   // Renamed names of the form CIMConst to ConstCIM.
   //
 // Revision 1.5  2001/02/18 03:56:01  mike // Revision 1.5  2001/02/18 03:56:01  mike
 // Changed more class names (e.g., ConstClassDecl -> CIMConstClass)  // Changed more class names (e.g., ConstClassDecl -> ConstCIMClass)
 // //
 // Revision 1.4  2001/02/16 02:06:07  mike // Revision 1.4  2001/02/16 02:06:07  mike
 // Renamed many classes and headers. // Renamed many classes and headers.
Line 45 
Line 54 
 #include <cstdlib> #include <cstdlib>
 #include <cstdio> #include <cstdio>
 #include "CIMClass.h" #include "CIMClass.h"
   #include "CIMInstance.h"
 #include "CIMQualifierDecl.h" #include "CIMQualifierDecl.h"
 #include "XmlWriter.h" #include "XmlWriter.h"
 #include "XmlParser.h" #include "XmlParser.h"
Line 412 
Line 422 
 //------------------------------------------------------------------------------ //------------------------------------------------------------------------------
  
 Array<Sint8> XmlWriter::formatErrorElement( Array<Sint8> XmlWriter::formatErrorElement(
     CimException::Code code,      CIMException::Code code,
     const char* description)     const char* description)
 { {
     Array<Sint8> out;     Array<Sint8> out;
Line 489 
Line 499 
 Array<Sint8>& XmlWriter::appendClassParameter( Array<Sint8>& XmlWriter::appendClassParameter(
     Array<Sint8>& out,     Array<Sint8>& out,
     const char* parameterName,     const char* parameterName,
     const CIMConstClass& classDecl)      const ConstCIMClass& cimClass)
 { {
     Array<Sint8> tmp;     Array<Sint8> tmp;
     classDecl.toXml(tmp);      cimClass.toXml(tmp);
     return formatIParamValueElement(out, parameterName, tmp);     return formatIParamValueElement(out, parameterName, tmp);
 } }
  
Line 514 
Line 524 
  
 //------------------------------------------------------------------------------ //------------------------------------------------------------------------------
 // //
   // appendInstanceParameter()
   //
   //------------------------------------------------------------------------------
   
   Array<Sint8>& XmlWriter::appendInstanceParameter(
       Array<Sint8>& out,
       const char* parameterName,
       const ConstCIMInstance& instance)
   {
       Array<Sint8> tmp;
       instance.toXml(tmp);
       return formatIParamValueElement(out, parameterName, tmp);
   }
   
   //------------------------------------------------------------------------------
   //
 // appendClassParameter() // appendClassParameter()
 // //
 //------------------------------------------------------------------------------ //------------------------------------------------------------------------------


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2