template<class type, class allocator>
uint FX::QPtrList< type, allocator >::containsRef ( const type *  d  )  const [inline, inherited]

Returns the number of item d in the list via pointer compare.

Definition at line 296 of file qptrlist.h.

References FX::QPtrList< type, allocator >::count().

00297     {
00298         uint count=0;
00299         for(typename Base::iterator it=Base::begin(); it!=Base::end(); ++it)
00300         {
00301             if(*it==d) count++;
00302         }
00303         return count;
00304     }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:43 2009 for TnFOX by doxygen v1.4.7