taskswitcher/utils/src/tsidlist.cpp
changeset 125 26079c1bb561
parent 119 50e220be30d1
child 127 7b66bc3c6dc9
equal deleted inserted replaced
123:d1dadafc5584 125:26079c1bb561
   116         {
   116         {
   117         AppendL( aStream.ReadInt32L() );
   117         AppendL( aStream.ReadInt32L() );
   118         }
   118         }
   119     }
   119     }
   120 
   120 
       
   121 //------------------------------------------------------------------------------
       
   122 TBool CTsIdList::operator ==( const CTsIdList& aList) const
       
   123     {
       
   124     TBool retVal(aList.iIds.Count() == iIds.Count());
       
   125     for( TInt offset(0); retVal && offset < iIds.Count(); ++offset )
       
   126         {
       
   127         retVal = (KErrNotFound != aList.iIds.Find(iIds[offset]));
       
   128         }
       
   129     return retVal;
       
   130     }
       
   131 //------------------------------------------------------------------------------
       
   132 TBool CTsIdList::operator !=( const CTsIdList& aList) const
       
   133     {
       
   134     return !(*this ==aList);
       
   135     }