Dear Rooters
The mail below is a good starting point for my questions:
When trying to understand root code from the source, it is often hard
for me to find the code of different functions:
As example:
1, SafeDelete: In the ClassIndex it is not crossreferenced, so it took
me some time to find that it was a macro.
(Until recently, I did not know that lxr exists. Furthermore, I am
offline most of the time at home and thus do not have immediate
access to online-information, so I have to rely on the sourcecode)
2, Form: I still do not know what Form does and where to find it.
In this case, even the following site is not very helpful:
http://root.cern.ch/lxr/source/base/inc/TString.h#412
Is this a Root function or a general C function? I cannot find it in
any of my C books?
Maybe root could contain in the sourcecode somewhere a file,
which lists all non-method and other functions and where to find
their definitions?
Best regards
Christian
-------------------------------------
C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a
V.i.e.n.n.a, A.u.s.t.r.i.a
anton.fokin@nl.fortisbank.com wrote:
> Hi Fons,
>
> thanks for useful comment.
>
> two reasons:
>
> - too complex for PhD
> - it's not obvious (I've been using root for last five years but did not
> figure out about Form... well, saw it many times of course :) )
>
> Cheers,
> Anton
>
> Fons Rademakers <Fons.Rademakers@cern.ch> on 03/06/2002 03:48:11 PM
>
> To: anton.fokin@nl.fortisbank.com
> cc: roottalk@pcroot.cern.ch
> Subject: Re: [ROOT] TSQLServer::Query enhancement request
>
> Hi Anton,
>
> why not:
>
> myserv->Query(Form("DELETE FROM stock WHERE name = %s",
> Stock->GetName()));
>
> Cheers, Fons.
>
> On Wed, 2002-03-06 at 15:41, anton.fokin@nl.fortisbank.com wrote:
> > Hi Fons et.al.,
> >
> > could you enhance SQLServer::Query() so that it takes format string and
> an
> > optional list of parameters lke printf().
> >
> > SQLServer::Query("DELETE FROM stock WHERE name = %s", Stock->GetName());
> >
> > Cheers,
> > Anton
> >
> >
> >
> >
> ___________________________________________________________________________
> >
> > This e-mail is sent for the sole attention of the identified addressee
> and its
> > contents are provided for information purposes only. Fortis Bank makes no
> > warranty or representation as to the accuracy and completeness of any
> > information and does not assume whatever commitment hereby. Legally
> binding
> > obligation can only arise for, or be entered into on behalf of, Fortis
> Bank by
> > means of a written instrument, signed by two duly authorised
> representatives of
> > Fortis Bank. Fortis Bank excludes any liability whatsoever for any direct
> or
> > consequential loss arising from the use, or reliance on, this e-mail or
> its
> > contents.
> >
> ___________________________________________________________________________
> --
> Org: CERN, European Laboratory for Particle Physics.
> Mail: 1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
> WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
>
> [INFO] -- Virus Manager:
> Message contains no viruses.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:45 MET