(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.29 and 1.30

version 1.29, 2007/10/23 17:42:56 version 1.30, 2008/01/30 18:56:21
Line 74 
Line 74 
  
     if (_isTyped)     if (_isTyped)
     {     {
         // If the property type is CIMObject, then          XmlWriter::appendParamTypeAndEmbeddedObjAttrib(out, type);
         //   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 << STRLIT(" PARAMTYPE=\"string\" EMBEDDEDOBJECT=\"object\"");  
         }  
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
         else if (type == CIMTYPE_INSTANCE)  
         {  
             out << STRLIT(" PARAMTYPE=\"string\"");  
             out << STRLIT(" EMBEDDEDOBJECT=\"instance\"");  
         }  
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
         else  
         {  
             out << STRLIT(" PARAMTYPE=\"") << cimTypeToString (type);  
             out.append('"');  
         }  
     }     }
  
     out << STRLIT(">\n");     out << STRLIT(">\n");


Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2