Re: cloning TIter with state

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Jul 05 1999 - 18:19:02 MEST


Hi George,

   I've implemented this and it will be available in 2.22/07.

Cheers, Fons.


George Irwin wrote:
> 
> Hi Root Team,  I'm looking for a way to do nested loops using TIter.
> In particular, I'd like to repeatedly initialize the inner TIter to
> the current state of the outer TIter, so that the inner loop doesn't
> repeat the items that the outer loop has already accessed.  In CLHEP,
> the HepAListIterator copy constructor can be used to clone another
> HepAListIterator with the current state of the original.  What is the
> best way to do something similar using the ROOT iterators?
> Thanks.  George

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



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