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

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

Definition at line 93 of file qptrlist.h.

References FX::QPtrList< type, allocator >::compareItems(), FXEXCEPTION_STL1, and FXEXCEPTION_STL2.

00094     {
00095         for(typename Base::iterator it=Base::begin(); it!=Base::end(); ++it)
00096         {
00097             if(compareItems(*it, d)>=0)
00098             {
00099                 FXEXCEPTION_STL1 { Base::insert(it, d); } FXEXCEPTION_STL2;
00100             }
00101         }
00102     }


(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