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

Diff for /pegasus/src/Pegasus/Common/CIMClass.h between version 1.33 and 1.34

version 1.33, 2002/04/29 16:52:55 version 1.34, 2002/04/30 18:03:11
Line 85 
Line 85 
     {     {
         if (x._rep != _rep)         if (x._rep != _rep)
         {         {
               if (_rep)
               {
             Dec(_rep);             Dec(_rep);
               }
             Inc(_rep = x._rep);             Inc(_rep = x._rep);
         }         }
         return *this;         return *this;
Line 112 
Line 115 
     /// Destructor     /// Destructor
     ~CIMClass()     ~CIMClass()
     {     {
           if (_rep)
           {
         Dec(_rep);         Dec(_rep);
     }     }
       }
  
     /** isAssociation - Identifies whether or not this CIM class     /** isAssociation - Identifies whether or not this CIM class
         is an association. An association is a relationship between two         is an association. An association is a relationship between two
Line 624 
Line 630 
     {     {
         if (x._rep != _rep)         if (x._rep != _rep)
         {         {
               if (_rep)
               {
             Dec(_rep);             Dec(_rep);
               }
             Inc(_rep = x._rep);             Inc(_rep = x._rep);
         }         }
         return *this;         return *this;
Line 634 
Line 643 
     {     {
         if (x._rep != _rep)         if (x._rep != _rep)
         {         {
               if (_rep)
               {
             Dec(_rep);             Dec(_rep);
               }
             Inc(_rep = x._rep);             Inc(_rep = x._rep);
         }         }
         return *this;         return *this;
Line 651 
Line 663 
  
     ~CIMConstClass()     ~CIMConstClass()
     {     {
           if (_rep)
           {
         Dec(_rep);         Dec(_rep);
     }     }
       }
  
     Boolean isAssociation() const     Boolean isAssociation() const
     {     {


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