template<class type, class allocator>
void FX::QPtrList< type, allocator >::clear (  )  [inline, inherited]

Clears the list.

Definition at line 218 of file qptrlist.h.

References FX::QPtrList< type, allocator >::deleteItem().

Referenced by FX::operator>>(), FX::QPtrList< type, allocator >::~QPtrList(), and FX::QSortedList< type, allocator >::~QSortedList().

00219     {
00220         for(typename Base::iterator it=Base::begin(); it!=Base::end(); ++it)
00221         {
00222             deleteItem(*it);
00223         }
00224         Base::clear();
00225     }


(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