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

Diff for /pegasus/src/Pegasus/Common/CIMObjectRep.cpp between version 1.27 and 1.28

version 1.27, 2005/05/06 06:18:30 version 1.28, 2005/05/17 14:52:26
Line 64 
Line 64 
 } }
  
 CIMObjectRep::CIMObjectRep(const CIMObjectPath& reference) CIMObjectRep::CIMObjectRep(const CIMObjectPath& reference)
     : _reference(reference),      : _resolved(false)
     _resolved(false)  
 { {
       // ensure the class name is not null
       if(reference.getClassName().isNull())
       {
           throw UninitializedObjectException();
       }
   
       _reference = reference;
 } }
  
 CIMObjectRep::~CIMObjectRep() CIMObjectRep::~CIMObjectRep()
Line 179 
Line 185 
  
 void CIMObjectRep::setPath (const CIMObjectPath& path) void CIMObjectRep::setPath (const CIMObjectPath& path)
 { {
       // ensure the class name is not null
       if(path.getClassName().isNull())
       {
           throw UninitializedObjectException();
       }
   
     // prevent changing the class name (type) in when updating the object path     // prevent changing the class name (type) in when updating the object path
     if(!_reference.getClassName().equal(path.getClassName()))     if(!_reference.getClassName().equal(path.getClassName()))
     {     {


Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2