[ROOT] TEventList::Clear()

From: cell (murat@fnal.gov)
Date: Tue Dec 30 2003 - 18:01:18 MET


Dear ROOTers,

a relatively minor comment: for most of the ROOT classes x::Clear does 
reset, this is nice, intuitive and consistent throughout the system. 
For TEventList class, however, ::Clear() does nothing - I guess it is just 
missing, so one has to use TEventList::Reset. Would it be a big deal to 
have TEventList::Clear(...) implemented ? - consistency is a HUGE deal 
in the large software systems. 
				thanks and Happy New Year to everybody, Pasha
-------------------------------------------------------------------------------
root [18] TEventList a;
root [19] a.Enter(100)
root [20] a.GetEntry(0)
(const Int_t)100
root [21] a.Clear()
root [22] a.GetN()
(const Int_t)1
root [23] a.GetEntry(0)
(const Int_t)100
root [24] a.Reset()
root [25] a.GetN()
(const Int_t)0
-------------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET