Re: How to check if timer is in gSystem:: list of timers?

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Aug 07 1998 - 18:23:46 MEST


There is no direct way. You can Remove and Add it to make sure it is
there (multiple adds of the same timer will be ignored).

In the current version Remove() always returns the input argument timer.
I've fixed this so Remove() will return 0 if timer not in list.

Cheers, Fons.


Valeriy Onuchin wrote:
> 
> Hi Rooters!
> How to check if timer is in gSystem::(list of timers)?
> 
>                  Best regards. Valery

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET