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

Definition at line 119 of file qvaluelist.h.

00120     {
00121         int idx=0;
00122         for(typename std::list<type>::const_iterator it=std::list<type>::begin(); it!=std::list<type>::end(); ++it, ++idx)
00123             if(*it==d) return idx;
00124         return -1;
00125     }


(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