Re: Streamer and ShowMembers mandatory

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Jan 22 1999 - 11:34:10 MET


Hi Damir,

  just set the version id in ClassDef to 0. In that case no Streamer()
will be generated (and no need for - in LinkDef.h), e.g. ClassDef(bla,0)

Cheers, Fons.


Damir Buskulic wrote:
> 
> Hi everybody,
> 
> I have a question : is it absolutely necessary to generate or define a
> Streamer method for every class one wants to convert to ROOT ?
> I have a library of classes doing mainly I/O and would like to use the
> documentation capabilities of ROOT. This library is not intended to have
> a Streamer method. And as it uses STL and overrides << and >> operators,
> rootcint gives me a bunch of problems generating the Streamer methods.
> Since I don't need these methods (well, for the moment), I would like to
> be able to just insert ClassDef, ClassImp and put -! options in the
> LinkDef file. And then be able to generate html doc. For the time being,
> I'm forced to make an implementation (even an empty one) of Streamer().
> Any ideas ?
> 
> One other point : When I do gHtml->MakeAll() I have a bunch of errors
> saying that there are corrupted files. But the files seem to be there,
> alive and kicking and avaerything is well generated. It is strange.
> 
> Cheers
> 
> Damir
> --
> =====================================================================
> | Damir Buskulic                  | Universite de Savoie/LAPP       |
> |                                 | Chemin de Bellevue, B.P. 110    |
> | Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
> | e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
> =====================================================================
> mailto:buskulic@lapp.in2p3.fr

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:28 MET