Re: [ROOT] mutable

From: Victor Perevoztchikov (perev@bnl.gov)
Date: Wed Jul 30 2003 - 19:49:03 MEST


Hi Philippe,
> As far as ROOT I/O is concerned, the mutable keyword is ignored.
I was sure that it is not ignored.
I did a simple test now and found: mutable was written an read properly.
So mutable keyword is ignored but member not.

> (And actually you will be surprised that some developpers __do__ 
> want to save their mutable data members!  
Actually it needs some efforts do NOT save them.
I think there is nothing wrong in saving mutable, if user does not want
to save, he can use // ! flag.

Victor
Victor M. Perevoztchikov   perev@bnl.gov         
Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000
tel office : 631-344-7894; fax 631-344-4206; 

----- Original Message ----- 
From: "Philippe Canal" <pcanal@fnal.gov>
To: "David Chamont" <david.chamont@laposte.net>; <roottalk@pcroot.cern.ch>
Sent: Wednesday, July 30, 2003 11:25 AM
Subject: RE: [ROOT] mutable


> Hi David,
> 
> As far as ROOT I/O is concerned, the mutable keyword is ignored.
> (And actually you will be surprised that some developpers __do__ 
> want to save their mutable data members!  So we would not be able
> to rely on that information)
> 
> Cheers,
> Philippe.
> 
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of David Chamont
> Sent: Wednesday, July 30, 2003 4:11 AM
> To: roottalk@pcroot.cern.ch
> Subject: [ROOT] mutable
> 
> 
> Hi Root Gurus,
> 
> What is the current level of support for the keyword "mutable" ?
> How ROOT I/O is reacting to such an attribute when saving
> an object : is it saved or is it ignored just like file://! ?
> 
> David.
> 
> #################################################################
> #################################################################
> #################################################################
> #####
> #####
> #####
> #################################################################
> #################################################################
> #################################################################
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET