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

Diff for /pegasus/src/Pegasus/Common/CIMObjectRep.cpp between version 1.30 and 1.31

version 1.30, 2006/11/07 21:30:36 version 1.31, 2006/11/10 18:14:57
Line 104 
Line 104 
     {     {
         if (name.equal(_properties[i].getName()))         if (name.equal(_properties[i].getName()))
         {         {
             return(i);              return i;
         }         }
     }     }
  
     return(PEG_NOT_FOUND);      return PEG_NOT_FOUND;
 } }
  
 CIMProperty CIMObjectRep::getProperty(Uint32 index) CIMProperty CIMObjectRep::getProperty(Uint32 index)
Line 118 
Line 118 
         throw IndexOutOfBoundsException();         throw IndexOutOfBoundsException();
     }     }
  
     return(_properties[index]);      return _properties[index];
 } }
  
 void CIMObjectRep::removeProperty(Uint32 index) void CIMObjectRep::removeProperty(Uint32 index)
Line 134 
Line 134 
  
 Uint32 CIMObjectRep::getPropertyCount() const Uint32 CIMObjectRep::getPropertyCount() const
 { {
     return(_properties.size());      return _properties.size();
 } }
  
  
Line 142 
Line 142 
 { {
     if (!_reference.identical(x->_reference))     if (!_reference.identical(x->_reference))
     {     {
         return(false);          return false;
     }     }
  
     if (!_qualifiers.identical(x->_qualifiers))     if (!_qualifiers.identical(x->_qualifiers))
     {     {
         return(false);          return false;
     }     }
  
     // Compare properties:     // Compare properties:
Line 158 
Line 158 
  
         if (tmp1.size() != tmp2.size())         if (tmp1.size() != tmp2.size())
         {         {
             return(false);              return false;
         }         }
  
         for (Uint32 i = 0, n = tmp1.size(); i < n; i++)         for (Uint32 i = 0, n = tmp1.size(); i < n; i++)
         {         {
             if (!tmp1[i].identical(tmp2[i]))             if (!tmp1[i].identical(tmp2[i]))
             {             {
                 return(false);                  return false;
             }             }
         }         }
     }     }
  
     if (_resolved != x->_resolved)     if (_resolved != x->_resolved)
     {     {
         return(false);          return false;
     }     }
  
     return(true);      return true;
 } }
  
 void CIMObjectRep::setPath(const CIMObjectPath& path) void CIMObjectRep::setPath(const CIMObjectPath& path)


Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2