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

Inserts item d into the list in its correct sorted order.

Definition at line 100 of file qptrvector.h.

00101     {
00102         for(typename std::vector<type *>::iterator it=std::vector<type *>::begin(); it!=std::vector<type *>::end(); ++it)
00103         {
00104             if(compareItems(*it, const_cast<type *>(d))>=0)
00105             {
00106                 FXEXCEPTION_STL1 { std::vector<type *>::insert(it, const_cast<type *>(d)); } FXEXCEPTION_STL2;
00107             }
00108         }
00109     }


(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