Re: Streamer and ShowMembers mandatory
Rene Brun (Rene.Brun@cern.ch)
Fri, 22 Jan 1999 11:25:20 +0100
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 ?
>
Hi Damir,
If you specify ClassDef(myClass,0) no Streamer function is generated
(or rather a dummy function is generated).
Class_Version = 0 ==> no Streamer
> 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.
>
Coudl you send me an example of such error messages together with
a URL of your classes.
Rene Brun
> 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