Re: [ROOT] root(cint) and template

From: Brett Viren (bv@bnl.gov)
Date: Sat May 12 2001 - 13:23:45 MEST


Valeri Fine writes:
 > 
 >    Great class !  Did you implement "Microsoft" registry  for ROOT ?

Heh, heh, no.  I suppose it shares some functionality with the MS
registry in the sense that it is a place to stash information.  But,
hopefully this class is more reliable. <grin>

This Registry is a ``heterogeneous, associative array''.  It lets you
map strings to arbitrary classes in a (dynamically) type safe way,
although the current interface allows for only string to char, int,
double and string, once egcs is no longer used by MINOS then I can
open up the interface to a general mapping. (This relies on templated
member functions which is in g++ 2.95 but not before).  

-Brett.



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