UniqueID

From: Alberto Pulvirenti <alberto.pulvirenti_at_ct.infn.it>
Date: Tue, 25 Nov 2008 12:22:29 +0100


Dear all,

I know that whatever class inheriting from TObject takes this data member. Since I have developed a class inheriting from TObject and requiring that I identify each instance uniquely, I simply thought to use some kind of static counter variable which increments indefinitely and assign it as "unique" ID of the class instance.

Can I use this fUniqueID for this purpose, or it is used by some Dictionary or other "hidden" ROOT stuff for some reserved purposes? In other words, this data member is placed here to be used like this by a developer, or it is needed by ROOT for some purpose?

Thanks, best regards

    Alberto Received on Tue Nov 25 2008 - 12:20:01 CET

This archive was generated by hypermail 2.2.0 : Tue Nov 25 2008 - 17:50:01 CET