(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.116 and 1.117

version 1.116, 2005/02/05 22:59:24 version 1.117, 2005/02/28 21:12:22
Line 876 
Line 876 
     XmlWriter::appendValueReferenceElement(out, x, true);     XmlWriter::appendValueReferenceElement(out, x, true);
 } }
  
 // DJS -- temporary for testing until encode/decode issues resolved  
 inline void _xmlWritter_appendValue(Array<char>& out, const CIMObject& x) inline void _xmlWritter_appendValue(Array<char>& out, const CIMObject& x)
 { {
     out << x.toString();     out << x.toString();
Line 1052 
Line 1051 
                 break;                 break;
             }             }
  
             // DJS -- temporary for testing until encode/decode issues resolved  
             case CIMTYPE_OBJECT:             case CIMTYPE_OBJECT:
             {             {
                 Array<CIMObject> a;                 Array<CIMObject> a;
Line 1190 
Line 1188 
                 break;                 break;
             }             }
  
             // DJS -- temporary for testing until encode/decode issues resolved  
             case CIMTYPE_OBJECT:             case CIMTYPE_OBJECT:
             {             {
                 CIMObject v;                 CIMObject v;
Line 2165 
Line 2162 
 // //
 // <!ELEMENT RETURNVALUE (VALUE|VALUE.REFERENCE)> // <!ELEMENT RETURNVALUE (VALUE|VALUE.REFERENCE)>
 // <!ATTLIST RETURNVALUE // <!ATTLIST RETURNVALUE
   //     %EmbeddedObject; #IMPLIED
 //     %ParamType;> //     %ParamType;>
 // //
 //------------------------------------------------------------------------------ //------------------------------------------------------------------------------
Line 2176 
Line 2174 
     out << "<RETURNVALUE";     out << "<RETURNVALUE";
  
     CIMType type = value.getType();     CIMType type = value.getType();
       // If the property type is CIMObject, then
       //   encode the property in CIM-XML as a string with the EMBEDDEDOBJECT attribute
       //   (there is not currently a CIM-XML "object" datatype)
       // else
       //   output the real type
       if (type == CIMTYPE_OBJECT)
       {
           out << " PARAMTYPE=\"string\"";
           out << " EMBEDDEDOBJECT=\"object\"";
       }
       else
       {
     out << " PARAMTYPE=\"" << cimTypeToString (type) << "\"";     out << " PARAMTYPE=\"" << cimTypeToString (type) << "\"";
       }
  
     out << ">\n";     out << ">\n";
  


Legend:
Removed from v.1.116  
changed lines
  Added in v.1.117

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2