Re: TUnixSystem

From: Valery Fine (fine@bnl.gov)
Date: Fri Feb 05 1999 - 20:04:27 MET


Hello Pascal
On  5 Feb 99 at 13:51, you wrote:


> Hi Valery and sorry for the delay,
> 

  Thank you very much for your kind reply. I was wondering you found 
some bug in the ROOT TSystem class design.

> gSystem is a TSystem,  and i'm casting it to a TUnixSystem,
> because we are working on unix.
> I agree , It's not very important and probably doesn't change
> anything.

  I does make your code not portable though.
  Sometimes it is important.

    With my best regards,
                                      Valery

> 
> > On  4 Feb 99 at 10:57, Pascal Girard wrote:
> >
> > >     if ( !((TUnixSystem*)gSystem)->AccessPathName(file) ) {
> >
> >   Could you clarify why you did cast to TUnixSystem and did not use
> > the thing directly:
> >
> >      if (!(gSystem->AccessPathName(file) ) {
> >
> >                       Valery
> >
> 



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