Re: [ROOT] Map int to pointer

From: Anton Fokin (anton.fokin@smartquant.com)
Date: Fri Oct 05 2001 - 11:39:43 MEST


Fantastic, thanks :)

Fons Rademakers wrote:

> Have a look at TExMap.
>
> -- Fons
>
> Anton Fokin wrote:
> >
> > Hi rooters,
> >
> > I would like to have a map which maps Int_t Key to TObject pointer. How
> > can I do it in ROOT?
> >
> > THashTable does not have FindObject(Int_t Key) as well as TMap.
> >
> > Regards,
> > Anton
>
> --
> 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 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET