(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.11 and 1.12

version 1.11, 2001/07/10 22:31:08 version 1.12, 2001/12/22 02:15:15
Line 38 
Line 38 
 # include "ArrayImpl.h" # include "ArrayImpl.h"
 #undef PEGASUS_ARRAY_T #undef PEGASUS_ARRAY_T
  
   ////////////////////////////////////////////////////////////////////////////////
   //
   // CIMInstance
   //
   ////////////////////////////////////////////////////////////////////////////////
   
   CIMInstance::CIMInstance(const CIMObject& x)
   {
       if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))
           throw DynamicCastFailed();
   }
   
   CIMInstance::CIMInstance(const CIMObject& x, NoThrow&)
   {
       _rep = dynamic_cast<CIMInstanceRep*>(x._rep);
   }
   
 Boolean CIMInstance::identical(const CIMConstInstance& x) const Boolean CIMInstance::identical(const CIMConstInstance& x) const
 { {
     x._checkRep();     x._checkRep();
Line 52 
Line 69 
     _rep->resolve(declContext, nameSpace, cimClass);     _rep->resolve(declContext, nameSpace, cimClass);
 } }
  
   ////////////////////////////////////////////////////////////////////////////////
   //
   // CIMConstInstance
   //
   ////////////////////////////////////////////////////////////////////////////////
   
   CIMConstInstance::CIMConstInstance(const CIMObject& x)
   {
       if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))
           throw DynamicCastFailed();
   }
   
   CIMConstInstance::CIMConstInstance(const CIMConstObject& x)
   {
       if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))
           throw DynamicCastFailed();
   }
   
   CIMConstInstance::CIMConstInstance(const CIMObject& x, NoThrow&)
   {
       _rep = dynamic_cast<CIMInstanceRep*>(x._rep);
   }
   
   CIMConstInstance::CIMConstInstance(const CIMConstObject& x, NoThrow&)
   {
       _rep = dynamic_cast<CIMInstanceRep*>(x._rep);
   }
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2