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

Diff for /pegasus/src/Pegasus/Common/CIMInstance.cpp between version 1.33 and 1.34

version 1.33, 2002/08/27 23:38:44 version 1.34, 2002/08/28 01:16:48
Line 61 
Line 61 
     Inc(_rep = x._rep);     Inc(_rep = x._rep);
 } }
  
 CIMInstance::CIMInstance(const CIMObject& x) throw(DynamicCastFailedException)  CIMInstance::CIMInstance(const CIMObject& x)
 { {
     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))
         throw DynamicCastFailedException();         throw DynamicCastFailedException();
Line 155 
Line 155 
     return _rep->findProperty(name);     return _rep->findProperty(name);
 } }
  
 CIMProperty CIMInstance::getProperty(Uint32 index) throw(IndexOutOfBoundsException)  CIMProperty CIMInstance::getProperty(Uint32 index)
 { {
     _checkRep();     _checkRep();
     return _rep->getProperty(index);     return _rep->getProperty(index);
 } }
  
 CIMConstProperty CIMInstance::getProperty(Uint32 index) const throw(IndexOutOfBoundsException)  CIMConstProperty CIMInstance::getProperty(Uint32 index) const
 { {
     _checkRep();     _checkRep();
     return _rep->getProperty(index);     return _rep->getProperty(index);
 } }
  
 void CIMInstance::removeProperty(Uint32 index)  throw(IndexOutOfBoundsException)  void CIMInstance::removeProperty(Uint32 index)
 { {
     _checkRep();     _checkRep();
     _rep->removeProperty(index);     _rep->removeProperty(index);
Line 235 
Line 235 
     Inc(_rep = x._rep);     Inc(_rep = x._rep);
 } }
  
 CIMConstInstance::CIMConstInstance(const CIMObject& x) throw(DynamicCastFailedException)  CIMConstInstance::CIMConstInstance(const CIMObject& x)
 { {
     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))
         throw DynamicCastFailedException();         throw DynamicCastFailedException();
Line 243 
Line 243 
 } }
  
 CIMConstInstance::CIMConstInstance(const CIMConstObject& x) CIMConstInstance::CIMConstInstance(const CIMConstObject& x)
     throw(DynamicCastFailedException)  
 { {
     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))
         throw DynamicCastFailedException();         throw DynamicCastFailedException();


Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2