template<class type>
uint FX::QPtrVector< type >::containsRef ( const type *  d  )  const [inline]

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

Definition at line 277 of file qptrvector.h.

00278     {
00279         uint count=0;
00280         for(typename std::vector<type *>::const_iterator it=std::vector<type *>::begin(); it!=std::vector<type *>::end(); ++it)
00281         {
00282             if(*it==d) count++;
00283         }
00284         return count;
00285     }


(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