(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.30 and 1.31

version 1.30, 2008/01/30 18:56:21 version 1.31, 2008/03/05 21:31:45
Line 33 
Line 33 
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <cstdio> #include <cstdio>
 #include "XmlWriter.h"  
 #include "CIMParamValueRep.h" #include "CIMParamValueRep.h"
 #include "StrLit.h" #include "StrLit.h"
  
Line 56 
Line 55 
 { {
 } }
  
 //------------------------------------------------------------------------------  
 //  
 //     <!ELEMENT PARAMVALUE (VALUE|VALUE.REFERENCE|VALUE.ARRAY|VALUE.REFARRAY)?>  
 //     <!ATTLIST PARAMVALUE  
 //         %CIMName;  
 //         %EmbeddedObject; #IMPLIED  
 //         %ParamType;>  
 //  
 //------------------------------------------------------------------------------  
 void CIMParamValueRep::toXml(Buffer& out) const  
 {  
     out << STRLIT("<PARAMVALUE NAME=\"") << _parameterName;  
     out.append('"');  
   
     CIMType type = _value.getType();  
   
     if (_isTyped)  
     {  
         XmlWriter::appendParamTypeAndEmbeddedObjAttrib(out, type);  
     }  
   
     out << STRLIT(">\n");  
     XmlWriter::appendValueElement(out, _value);  
   
     out << STRLIT("</PARAMVALUE>\n");  
 }  
   
 CIMParamValueRep::CIMParamValueRep(const CIMParamValueRep& x) : CIMParamValueRep::CIMParamValueRep(const CIMParamValueRep& x) :
     Sharable(),     Sharable(),
     _parameterName(x._parameterName),     _parameterName(x._parameterName),


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2