[ROOT] TObjArray::Sort, ROOT container classes

From: Gero Flucke (gero.flucke@desy.de)
Date: Mon Feb 09 2004 - 14:29:08 MET


Hi,
I tried to find out how TObjArray::Sort work, but could not find the
implentation of the method QSort which is used in there.

But my main question is whether the sorting uses only the TObject::Compare
method or whether IsEqual is also involved (form what I read in the users
guide I guess not).

In general it would be good to know where in the ROOT container classes
Compare and IsEqual are used. Maybe the methods in TObject can get little
docu about that? The user's guide tells about IsEqual that it is used in
FindObject, but I know it's used also in TObjArray::IndexOf and
TCollection::Contains

Cheers

	Gero


PS: Using 3.05_07, but also tried the most recent HTML documentation.

-----------------------------------------------------------------------
Gero Flucke
1a / 603
DESY
Notkestr. 85
22607 Hamburg
+49-(0)40-8998-2454



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET