Re: Persistent objects

From: Airat A. Sadreev (airat@hq.tatenergo.ru)
Date: Wed Mar 22 2000 - 06:34:15 MET


I can reformulate my question. How much effort is need to implement object
persistence (via TFile or maybe another class) not in root files but, for
example, in RDBMS or in text files.


> Airat,
> It is not clear to me what you want to do!
> You can try object.Dump();
> where object is an instance of any class derived from TObject.
> Example
> Root > TH1F h;
> Root > h.Dump(); >h.log
>
>
> On Tue, 21 Mar 2000, Airat A. Sadreev wrote:
>
> > I'm very new in ROOT and I have a question. As far as I understand,
> > persistence of objects in ROOT is implemented via TFile and RTTI. Files,
> > generated by TFile have binary format  but I need in files in text
format if
> > form
> >  <property_1_name> = <property_1_value>
> >  ...
> >  <property_n_name> = <property_n_value>
> >
> > How much effort is need to implement such functionality.
> >
> >
> >
>
>



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET