template<class type>
bool FX::QPtrVector< type >::replaceAtIter ( QPtrVectorIterator< type > &  it,
const type *  d,
bool  callDeleteItem = true 
) [inline]

Replaces item at iterator with d.

Definition at line 458 of file qptrvector.h.

References FX::QPtrVector< type >::deleteItem().

00459 {
00460     if(callDeleteItem)
00461         deleteItem(*it);
00462     *it.int_getIterator()=const_cast<type *>(d);
00463     return true;
00464 }


(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