RE: [ROOT] Two questions

From: Philippe Canal (pcanal@fnal.gov)
Date: Tue Apr 27 2004 - 00:47:30 MEST


Hi,

For THtml, did you try with a ClassImp macro.  This macro is necessary
to indicate where to find the implementation file.


> 1. Sometimes if I load a shared library in a macro, i.e.,

The documentation for ACLiC can be found in the User's Guide
and at the description of the method TSystem::CompileMacro (in 
the reference guide).

> I am not clear just what happens in the loading process.

In short it calls rootcint to generate the dictionary for all
the symbols declared in mystuff.cc and mystuff.h.
Compile the resulting dictionary (which does #include "mystuff.cc")
Link it in a shared library
Loads it in the process.

In addition, if you use a single +, it does dependency checking 
to rebuild only when needed.

To see the steps, set gDebug to 5.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Peter H Fisher
Sent: Monday, April 26, 2004 9:41 AM
To: roottalk@cern.ch
Subject: [ROOT] Two questions


Hi Rooters,

I have two probably obvious questions:

1. Sometimes if I load a shared library in a macro, i.e.,

void test()
{
	gROOT->LoadMacro("mystuff.c++");
}
it does not work properly.  I am not clear just what happens in the
loading process.  Can someone tell me where this is documented?

2. I am using THtml to make documentation pages for a shared library I
have (attached), but the doc. for the methods does not show up.  I use

THtml html;
html.MakeClass("Rnu");
html.MakeIndex("Rnu");

I've tried using ExtractClassDocumentation, but to no avail.  Does anyone
have a good example?

Bst,

Peter

Peter Fisher                                   Office 617-253-8561
Professor of Physics                           Fax    617-253-4100
44-118 MIT	                               email  fisherp@mit.edu
Cambridge, MA, 02139



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET