(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.26 and 1.27

version 1.26, 2002/08/15 15:52:29 version 1.27, 2002/08/20 17:39:37
Line 193 
Line 193 
         const CIMClass c (*this);         const CIMClass c (*this);
         return true;         return true;
     }     }
     catch (DynamicCastFailed)      catch (DynamicCastFailedException)
     {     {
         return false;         return false;
     }     }
Line 206 
Line 206 
         const CIMInstance i (*this);         const CIMInstance i (*this);
         return true;         return true;
     }     }
     catch (DynamicCastFailed)      catch (DynamicCastFailedException)
     {     {
         return false;         return false;
     }     }
Line 228 
Line 228 
 void CIMObject::_checkRep() const void CIMObject::_checkRep() const
 { {
     if (!_rep)     if (!_rep)
         throw UninitializedObject ();          throw UninitializedObjectException();
 } }
  
 //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
Line 340 
Line 340 
     return (_rep == 0)? true : false;     return (_rep == 0)? true : false;
 } }
  
   Boolean CIMConstObject::isClass() const
   {
       try
       {
           const CIMConstClass c(*this);
           return true;
       }
       catch (DynamicCastFailedException)
       {
           return false;
       }
   }
   
   Boolean CIMConstObject::isInstance() const
   {
       try
       {
           const CIMConstInstance i(*this);
           return true;
       }
       catch (DynamicCastFailedException)
       {
           return false;
       }
   }
   
 Boolean CIMConstObject::identical(const CIMConstObject& x) const Boolean CIMConstObject::identical(const CIMConstObject& x) const
 { {
     x._checkRep();     x._checkRep();
Line 355 
Line 381 
 void CIMConstObject::_checkRep() const void CIMConstObject::_checkRep() const
 { {
     if (!_rep)     if (!_rep)
         throw UninitializedObject ();          throw UninitializedObjectException();
 } }
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2