Re: storing static data members in a file

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Oct 26 1999 - 18:56:17 MEST


Hi Andrzej,

   it can not be done with the automatic Streamer(). If you make a custom
streamer it is possible to save anything you like, also static class data.
However, often it is better to have a special global object that collects
all essential static information from the classes you need.

Cheers, Fons.



Andrzej Olszewski wrote:
> 
>    Hi,
> 
>     is it possible to save information in the class' static data members
> on a root file? Could this be done with a Streamer function or in some
> other way?
> 
>   Andrzej.
> 
> 

-- 
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:41 MET