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

Diff for /pegasus/src/Pegasus/Common/CIMParamValueRep.cpp between version 1.20 and 1.21

version 1.20, 2005/02/05 22:59:23 version 1.21, 2005/02/28 21:12:22
Line 61 
Line 61 
 //     <!ELEMENT PARAMVALUE (VALUE|VALUE.REFERENCE|VALUE.ARRAY|VALUE.REFARRAY)?> //     <!ELEMENT PARAMVALUE (VALUE|VALUE.REFERENCE|VALUE.ARRAY|VALUE.REFARRAY)?>
 //     <!ATTLIST PARAMVALUE //     <!ATTLIST PARAMVALUE
 //         %CIMName; //         %CIMName;
   //         %EmbeddedObject; #IMPLIED
 //         %ParamType;> //         %ParamType;>
 // //
 //------------------------------------------------------------------------------ //------------------------------------------------------------------------------
Line 72 
Line 73 
  
     if (_isTyped)     if (_isTyped)
     {     {
           // 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";
     XmlWriter::appendValueElement(out, _value);     XmlWriter::appendValueElement(out, _value);


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2