(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.14 and 1.15

version 1.14, 2002/05/03 05:16:16 version 1.15, 2002/05/03 18:23:02
Line 22 
Line 22 
 // //
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By:  // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 59 
Line 59 
  
 CIMInstance::CIMInstance(const CIMObject& x) CIMInstance::CIMInstance(const CIMObject& x)
 { {
     // ATTN-RK-P1-20020502: Need to Inc(_rep)?  
     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))
         throw DynamicCastFailed();         throw DynamicCastFailed();
       Inc(_rep);
 } }
  
 CIMInstance::CIMInstance(const CIMObject& x, NoThrow&) CIMInstance::CIMInstance(const CIMObject& x, NoThrow&)
 { {
     // ATTN-RK-P1-20020502: Need to Inc(_rep)?  
     _rep = dynamic_cast<CIMInstanceRep*>(x._rep);     _rep = dynamic_cast<CIMInstanceRep*>(x._rep);
       Inc(_rep);
 } }
  
 CIMInstance::CIMInstance(const String& className) CIMInstance::CIMInstance(const String& className)
Line 290 
Line 290 
  
 CIMConstInstance::CIMConstInstance(const CIMObject& x) CIMConstInstance::CIMConstInstance(const CIMObject& x)
 { {
     // ATTN-RK-P1-20020502: Need to Inc(_rep)?  
     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))
         throw DynamicCastFailed();         throw DynamicCastFailed();
       Inc(_rep);
 } }
  
 CIMConstInstance::CIMConstInstance(const CIMConstObject& x) CIMConstInstance::CIMConstInstance(const CIMConstObject& x)
 { {
     // ATTN-RK-P1-20020502: Need to Inc(_rep)?  
     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))     if (!(_rep = dynamic_cast<CIMInstanceRep*>(x._rep)))
         throw DynamicCastFailed();         throw DynamicCastFailed();
       Inc(_rep);
 } }
  
 CIMConstInstance::CIMConstInstance(const CIMObject& x, NoThrow&) CIMConstInstance::CIMConstInstance(const CIMObject& x, NoThrow&)
 { {
     // ATTN-RK-P1-20020502: Need to Inc(_rep)?  
     _rep = dynamic_cast<CIMInstanceRep*>(x._rep);     _rep = dynamic_cast<CIMInstanceRep*>(x._rep);
       Inc(_rep);
 } }
  
 CIMConstInstance::CIMConstInstance(const CIMConstObject& x, NoThrow&) CIMConstInstance::CIMConstInstance(const CIMConstObject& x, NoThrow&)
 { {
     // ATTN-RK-P1-20020502: Need to Inc(_rep)?  
     _rep = dynamic_cast<CIMInstanceRep*>(x._rep);     _rep = dynamic_cast<CIMInstanceRep*>(x._rep);
       Inc(_rep);
 } }
  
 CIMConstInstance::CIMConstInstance(const String& className) CIMConstInstance::CIMConstInstance(const String& className)


Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2