template<class type>
uint FX::QValueList< type >::removeAllOf ( const type &  d  )  [inline]

Definition at line 64 of file qvaluelist.h.

00065     {
00066         uint count=0;
00067         for(typename std::list<type>::iterator it=std::list<type>::begin(); it!=std::list<type>::end(); ++it)
00068         {
00069             if(*it==d) count++;
00070         }
00071         for(uint n=0; n<count; n++)
00072             std::list<type>::remove(d);
00073         return count;
00074     }


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