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

Diff for /pegasus/src/Pegasus/Common/CIMObject.cpp between version 1.41 and 1.43

version 1.41, 2007/09/03 11:27:02 version 1.43, 2008/03/05 21:31:44
Line 190 
Line 190 
  
 String CIMObject::toString() const String CIMObject::toString() const
 { {
       CheckRep(_rep);
     Buffer out;     Buffer out;
  
     CheckRep(_rep);      XmlWriter::appendObjectElement(out, *this);
     _rep->toXml(out);  
  
     return out.getData();     return out.getData();
 } }
Line 237 
Line 237 
     return CIMObject(_rep->clone());     return CIMObject(_rep->clone());
 } }
  
 void CIMObject::_checkRep() const  
 {  
     if (!_rep)  
         throw UninitializedObjectException();  
 }  
  
 //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
 // //
Line 354 
Line 349 
  
 String CIMConstObject::toString() const String CIMConstObject::toString() const
 { {
       CheckRep(_rep);
     Buffer out;     Buffer out;
  
     CheckRep(_rep);      XmlWriter::appendObjectElement(out, *this);
     _rep->toXml(out);  
  
     return out.getData();     return out.getData();
 } }
Line 400 
Line 395 
     return CIMObject(_rep->clone());     return CIMObject(_rep->clone());
 } }
  
 void CIMConstObject::_checkRep() const  
 {  
     if (!_rep)  
         throw UninitializedObjectException();  
 }  
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.41  
changed lines
  Added in v.1.43

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2