{
}
+
/*! operator== : compares two owners*/
bool operator==( const SUIT_DataOwnerPtr& p1, const SUIT_DataOwnerPtr& p2 )
{
//====================================================================
uint SUIT_DataOwnerPtrList::remove(const SUIT_DataOwnerPtr& x )
{
- if( mySkipEqual && myMap.contains(x) )
- myMap.remove(x);
+ if( mySkipEqual && myMap.contains( x ) )
+ myMap.remove( x );
return QValueList<SUIT_DataOwnerPtr>::remove( x );
}
//====================================================================
bool operator<( const SUIT_DataOwnerPtr& p1, const SUIT_DataOwnerPtr& p2 )
{
- return p1.get()<p2.get();
+ return p1->operator<( *p2 );
}
+
virtual ~SUIT_DataOwner();//!< destructor
//! compare function
virtual bool isEqual( const SUIT_DataOwner& ) const = 0;
+ virtual bool operator<( const SUIT_DataOwner& ) const = 0;
};
/*! \typedef SUIT_DataOwnerPtr