template<class type>
virtual int FX::QPtrVector< type >::compareItems ( type *  a,
type *  b 
) const [inline, virtual]

Compares two items (used by many methods above). Default returns -1 if a < b, +1 if a > b and 0 if a==b.

Definition at line 315 of file qptrvector.h.

Referenced by FX::QPtrVector< TnFXGraphItem >::contains(), FX::QPtrVector< TnFXGraphItem >::find(), FX::QPtrVector< TnFXGraphItem >::inSort(), FX::QPtrVector< TnFXGraphItem >::remove(), and FX::QPtrVector< TnFXGraphItem >::take().

00315 { return (a<b) ? -1 : (a==b) ? 0 : -1; }


(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