Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
THtml Class Reference

Legacy ROOT documentation system.

Deprecated:
We keep THtml for those who still need it for legacy use cases. ROOT has since several years moved to doxygen as documentation generator. THtml is not developed nor supported anymore; please migrate to doxygen instead.

The THtml class is designed to easily document classes, code, and code related text files (like change logs). It generates HTML pages conforming to the XHTML 1.0 transitional specifications; an example of these pages is ROOT's own reference guide. This page was verified to be valid XHTML 1.0 transitional, which proves that all pages generated by THtml can be valid, as long as the user provided XHTML (documentation, header, etc) is valid. You can check the current THtml by clicking this icon: Valid XHTML 1.0 Transitional

Overview:

  1. Usage
  2. Configuration
    1. Input files
    2. Output directory
    3. Linking other documentation
    4. Recognizing class documentation
    5. Author, copyright, etc.
    6. Header and footer
    7. Links to searches, home page, ViewVC
    8. HTML Charset
  3. Documentation syntax
    1. Class description
    2. Class index
    3. Method documentation
    4. Data member documentation
  4. Documentation directives
    1. BEGIN_HTML END_HTML: include 'raw' HTML
    2. BEGIN_MACRO END_MACRO: include a picture generated by a macro
    3. BEGIN_LATEX END_LATEX: include a latex picture
  5. Product and module index
  6. Auxiliary files: style sheet, JavaScript, help page
  7. Class Charts
  8. Configuration variables
  9. Behind the scenes

I. Usage

These are typical things people do with THtml:

    root[] THtml html;                // create a THtml object
    root[] html.LoadAllLibs();         // Load all rootmap'ed libraries
    root[] html.MakeAll();             // generate documentation for all changed classes

or to run on just a few classes:

    root[] THtml html;                // create a THtml object
    root[] html.MakeIndex();           // create auxiliary files (style sheet etc) and indices
    root[] html.MakeClass("TMyClass"); // create documentation for TMyClass only

To "beautify" (i.e. create links to documentation for class names etc) some text file or macro, use:

    root[] html.Convert( "hsimple.C", "Histogram example" )

II. Configuration

Most configuration options can be set as a call to THtml, or as a TEnv variable, which you can set in your .rootrc.

II.1 Input files

In your .rootrc, define Root.Html.SourceDir to point to directories containing .cxx and .h files (see: TEnv) of the classes you want to document, or call THtml::SetInputDir()

Example:

  Root.Html.SourceDir:  .:src:include
  Root.Html.Root:       http://root.cern.ch/root/html

II.2 Output directory

The output directory can be specified using the Root.Html.OutputDir configuration variable (default value: "htmldoc"). If that directory doesn't exist THtml will create it.

Example:

  Root.Html.OutputDir:         htmldoc

II.3 Linking other documentation

When trying to document a class, THtml searches for a source file in the directories set via SetInputDir(). If it cannot find it, it assumes that this class must have been documented before. Based on the library this class is defined in, it checks the configuration variable Root.Html.LibName, and creates a link using its value. Alternatively, you can set these URLs via THtml::SetLibURL().

Example:
If a class MyClass is defined in class mylibs/libMyLib.so, and .rootrc contains

  Root.Html.MyLib: ../mylib/

THtml will create a link to "../mylib/MyClass.html".

The library name association can be set up using the rootmap facility. For the library in the example above, which contains a dictionary generated from the linkdef MyLinkdef.h, the command to generate the rootmap file is

  $ rlibmap -f -r rootmap -l mylib/libMyLib.so -d libCore.so -c MyLinkdef.h

Here, -r specifies that the entries for libMyLib should be updated, -l specifies the library we're dealing with, -d its dependencies, and -c its linkdef. The rootmap file must be within one of the LD_LIBRARY_PATH (or PATH for Windows) directories when ROOT is started, otherwise ROOT will not use it.

II.4 Recognizing class documentation

The class documentation has to appear in the header file containing the class, right in front of its declaration. It is introduced by a string defined by Root.Html.Description or SetClassDocTag(). See the section on documentation syntax for further details.

Example:

  Root.Html.Description:       //____________________

The class documentation will show which include statement is to be used and which library needs to be linked to access it. The include file name is determined via TClass::GetDeclFileName(); leading parts are removed if they match any of the ':' separated entries in THtml::GetIncludePath().

II.5 Author, copyright, etc.

During the conversion, THtml will look for some strings ("tags") in the source file, which have to appear right in front of e.g. the author's name, copyright notice, etc. These tags can be defined with the following environment variables: Root.Html.Author, Root.Html.LastUpdate and Root.Html.Copyright, or with SetAuthorTag(), SetLastUpdateTag(), SetCopyrightTag().

If the LastUpdate tag is not found, the current date and time are used. This is useful when using THtml::MakeAll()'s default option force=kFALSE, in which case THtml generates documentation only for changed classes.

Authors can be a comma separated list of author entries. Each entry has one of the following two formats

  • Name (non-alpha).

    THtml will generate an HTML link for Name, taking the Root.Html.XWho configuration variable (defaults to "http://consult.cern.ch/xwho/people?") and adding all parts of the name with spaces replaces by '+'. Non-alphanumerical characters are printed out behind Name.

    Example:

    // Author: Enrico Fermi appears in the source file. THtml will generate the link http://consult.cern.ch/xwho/people?Enrico+Fermi. This works well for people at CERN.

  • Name <link> Info.

    THtml will generate an HTML link for Name as specified by link and print Info behind Name.

    Example:

    // Author: Enrico Fermi <http://www.enricos-home.it&gt; or
    // Author: Enrico Fermi <enric.nosp@m.o@fn.nosp@m.al.go.nosp@m.v> in the source file. That's world compatible.

Example (with defaults given):

      Root.Html.Author:     // Author:
      Root.Html.LastUpdate: // @(#)
      Root.Html.Copyright:  * Copyright
      Root.Html.XWho:       http://consult.cern.ch/xwho/people?

II.6 Header and footer

THtml generates a default header and footer for all pages. You can specify your own versions with the configuration variables Root.Html.Header and Root.Html.Footer, or by calling SetHeader(), SetFooter(). Both variables default to "", using the standard Root versions. If it has a "+" appended, THtml will write both versions (user and root) to a file, for the header in the order 1st root, 2nd user, and for the footer 1st user, 2nd root (the root versions containing "&lt;html&gt;" and </html> tags, resp).

If you want to replace root's header you have to write a file containing all HTML elements necessary starting with the <doctype> tag and ending with (and including) the <body> tag. If you add your header it will be added directly after Root's <body> tag. Any occurrence of the string TITLE% in the user's header file will be replaced by a sensible, automatically generated title. If the header is generated for a class, occurrences of CLASS% will be replaced by the current class's name, SRCFILE% and INCFILE% by the name of the source and header file, resp. (as given by TClass::GetImplFileName(), TClass::GetDeclFileName()). If the header is not generated for a class, they will be replaced by "".

Root's footer starts with the tag <!–SIGNATURE–>. It includes the author(s), last update, copyright, the links to the Root home page, to the user home page, to the index file (ClassIndex.html), to the top of the page and this page is automatically generated information. It ends with the tags </body></html>. If you want to replace it, THtml will search for some tags in your footer: Occurrences of the strings AUTHOR%, UPDATE%, and COPYRIGHT% are replaced by their corresponding values before writing the html file. The AUTHOR% tag will be replaced by the exact string that follows Root.Html.Author, no link generation will occur.

II.7 Links to searches, home page, ViewVC

Additional parameters can be set by Root.Html.Homepage (address of the user's home page), Root.Html.SearchEngine (search engine for the class documentation), Root.Html.Search (search URL, where u is replaced by the referer and s by the escaped search expression), and a ViewVC base URL Root.Html.ViewCVS. For the latter, the file name is appended or, if the URL contains f, f is replaced by the file name. All values default to "".

Examples:

      Root.Html.Homepage:     http://www.enricos-home.it
      Root.Html.SearchEngine: http://root.cern.ch/root/Search.phtml
      Root.Html.Search:       http://www.google.com/search?q=%s+site%3A%u

II.8 HTML Charset

XHTML 1.0 transitional recommends the specification of the charset in the content type meta tag, see e.g. http://www.w3.org/TR/2002/REC-xhtml1-20020801/ THtml generates it for the HTML output files. It defaults to ISO-8859-1, and can be changed using Root.Html.Charset.

Example:

      Root.Html.Charset:      EUC-JP

III. Documentation syntax

III.1 Class description

A class description block, which must be placed before the first member function, has a following form:

////////////////////////////////////////////////////////////////
//                                                            //
// TMyClass                                                   //
//                                                            //
// This is the description block.                             //
//                                                            //
////////////////////////////////////////////////////////////////

The environment variable Root.Html.Description (see: TEnv) contains the delimiter string (default value: //_________________). It means that you can also write your class description block like this:

   //_____________________________________________________________
   // A description of the class starts with the line above, and
   // will take place here !
   //

Note that everything until the first non-commented line is considered as a valid class description block.

III.2 Class index

All classes to be documented will have an entry in the ClassIndex.html, showing their name with a link to their documentation page and a miniature description. This description for e.g. the class MyClass has to be given in MyClass's header as a comment right after ClassDef(MyClass, n).

III.3 Method documentation

A member function description block starts immediately after '{' and looks like this:

   void TWorld::HelloWorldFunc(string *text)
   {
      // This is an example of description for the
      // TWorld member function

      helloWorld.Print( text );
   }

Like in a class description block, everything until the first non-commented line is considered as a valid member function description block.

If the rootrc variable Root.Html.DescriptionStyle is set to Doc++ THtml will also look for method documentation in front of the function implementation. This feature is not recommended; source code making use of this does not comply to the ROOT documentation standards, which means future versions of THtml might not support it anymore.

III.4 Data member documentation

Data members are documented by putting a C++ comment behind their declaration in the header file, e.g.

   int fIAmADataMember; // this is a data member

IV. Documentation directives

NOTE that THtml does not yet support nested directives (i.e. latex inside html etc)!

IV.1 BEGIN_HTML END_HTML: include 'raw' HTML

You can insert pure html code into your documentation comments. During the generation of the documentation, this code will be inserted as is into the html file.

Pure html code must be surrounded by the keywords BEGIN_HTML and END_HTML, where the case is ignored. An example of pure html code is this class description you are reading right now. THtml uses a TDocHtmlDirective object to process this directive.

IV.2 BEGIN_MACRO END_MACRO: include a picture generated by a macro

THtml can create images from scripts. You can either call an external script by surrounding it by "begin_macro"/"end_macro", or include an unnamed macro within these keywords. The macro should return a pointer to an object; this object will then be saved as a GIF file.

Objects deriving from TGObject (GUI elements) will need to run in graphics mode (non-batch). You must specify this as a parameter: "Begin_macro(GUI)...". To create a second tab that displays the source of the macro you can specify the argument "Begin_macro(source)...". Of course you can combine them, e.g. as "Begin_macro(source,gui)...". THtml uses a TDocMacroDirective object to process this directive.

This is an example:

END_HTML BEGIN_MACRO(source) { TCanvas* macro_example_canvas = new TCanvas("macro_example_canvas", "", 150, 150); macro_example_canvas->SetBorderSize(0); macro_example_canvas->SetFillStyle(1001); macro_example_canvas->SetFillColor(kWhite); macro_example_canvas->cd(); TArc* macro_example_arc = new TArc(0.5,0.32,0.11,180,360); macro_example_arc->Draw(); TEllipse* macro_example_ellipsis = new TEllipse(0.42,0.58,0.014,0.014,0,360,0); macro_example_ellipsis->SetFillStyle(0); macro_example_ellipsis->Draw(); macro_example_ellipsis = new TEllipse(0.58,0.58,0.014,0.014,0,360,0); macro_example_ellipsis->SetFillStyle(0); macro_example_ellipsis->Draw(); macro_example_ellipsis = new TEllipse(0.50,0.48,0.22,0.32,0,360,0); macro_example_ellipsis->SetFillStyle(0); macro_example_ellipsis->Draw(); TLine* macro_example_line = new TLine(0.48,0.53,0.52,0.41); macro_example_line->Draw(); return macro_example_canvas; } END_MACRO

BEGIN_HTML

IV.3 BEGIN_LATEX END_LATEX: include a latex picture

You can specify TLatex style text and let THtml convert it into an image by surrounding it by "Begin_Latex", "End_Latex". You can have multiple lines, and e.g. align each line at the '=' sign by passing the argument separator='='. You can also specify how to align these parts; if you want the part left of the separator to be right aligned, and the right part to be left aligned, you could specify align='rl'. THtml uses a TDocLatexDirective object to process the directive. This is an example output with arguments separator='=', align='rl':

END_HTML BEGIN_LATEX(separator='=', align='rl')#kappa(x)^{2}=sin(x)^{x} x=#chi^{2} END_LATEX

BEGIN_HTML

V. Product and module index

THtml::MakeIndex() will generate index files for classes and types, all modules, and the product which you can set by THtml::SetProductName(). THtml will make use of external documentation in the module and product index, either by linking it or by including it. The files for modules are searched based on the source file directory of the module's classes.

A filename starting with "index." will be included in the index page; all other files will be linked. Only files ending on .html or .txt will be taken into account; the text files will first be run through THtml::Convert(). You can see an example here; the part between "Index of HIST classes" and "Jump to" is created by parsing the module's doc directory.

VI. Auxiliary files: style sheet, JavaScript, help page

The documentation pages share a common set of javascript and CSS files. They are generated automatically when running MakeAll(); they can be generated on demand by calling CreateAuxiliaryFiles().

VII. Class Charts

THtml can generate a number of graphical representations for a class, which are displayed as a tabbed set of imaged on-top of the class description. It can show the inheritance, inherited and hidden members, directly and indirectly included files, and library dependencies.

These graphs are generated using the Graphviz package. You can install it from http://www.graphviz.org. You can either put it into your $PATH, or tell THtml where to find it by calling SetDotDir().

VIII. Configuration variables

Here is a list of all configuration variables that are known to THtml. You can set them in your .rootrc file, see TEnv.

  Root.Html.OutputDir    (default: htmldoc)
  Root.Html.SourceDir    (default: .:src/:include/)
  Root.Html.Author       (default: // Author:) - start tag for authors
  Root.Html.LastUpdate   (default: // @(#)) - start tag for last update
  Root.Html.Copyright    (default:  * Copyright) - start tag for copyright notice
  Root.Html.Description  (default: //____________________ ) - start tag for class descr
  Root.Html.HomePage     (default: ) - URL to the user defined home page
  Root.Html.Header       (default: ) - location of user defined header
  Root.Html.Footer       (default: ) - location of user defined footer
  Root.Html.Root         (default: ) - URL of Root's class documentation
  Root.Html.SearchEngine (default: ) - link to the search engine
  Root.Html.Search       (default: ) - link to search by replacing "%s" with user input
  Root.Html.ViewCVS      (default: ) - URL of ViewCVS base
  Root.Html.XWho         (default: http://consult.cern.ch/xwho/people?) - URL of CERN's xWho
  Root.Html.Charset      (default: ISO-8859-1) - HTML character set

IX. Behind the scene

Internally, THtml is just an API class that sets up the list of known classes, and forwards API invocations to the "work horses". TDocOutput generates the output by letting a TDocParser object parse the sources, which in turn invokes objects deriving from TDocDirective to process directives.

Definition at line 40 of file THtml.h.

Classes

struct  DocEntityInfo_t
 
struct  DocSyntax_t
 
struct  LinkInfo_t
 
struct  OutputStyle_t
 
struct  PathInfo_t
 
class  TFileDefinition
 
class  TFileSysDB
 
class  TFileSysDir
 
class  TFileSysEntry
 
class  TFileSysRoot
 
class  THelperBase
 
class  TModuleDefinition
 
class  TPathDefinition
 

Public Types

enum  EConvertOutput {
  kNoOutput , kInterpretedOutput , kCompiledOutput , kForceOutput = 0x10 ,
  kSeparateProcessOutput = 0x20
}
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = BIT(0) , kOverwrite = BIT(1) , kWriteDelete = BIT(2) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = BIT(3) }
 
enum  EStatusBits {
  kCanDelete = BIT(0) , kMustCleanup = BIT(3) , kIsReferenced = BIT(4) , kHasUUID = BIT(5) ,
  kCannotPick = BIT(6) , kNoContextMenu = BIT(8) , kInvalidObject = BIT(13)
}
 

Public Member Functions

 THtml ()
 Create a THtml object.
 
virtual ~THtml ()
 Default destructor.
 
void AddMacroPath (const char *path)
 Add path to the directories to be searched for macro files that are to be executed via the TDocMacroDirective ("Begin_Macro"/"End_Macro"); relative to the source file that the directive is run on.
 
void Convert (const char *filename, const char *title, const char *dirname="", const char *relpath="../", Int_t includeOutput=kNoOutput, const char *context="")
 It converts a single text file to HTML.
 
Bool_t CopyFileFromEtcDir (const char *filename) const
 Copy a file from $ROOTSYS/etc/html into GetOutputDir()
 
virtual void CreateAuxiliaryFiles () const
 copy CSS, javascript file, etc to the output dir
 
void CreateHierarchy ()
 Create the inheritance hierarchy diagram for all classes.
 
const TStringGetAuthorTag () const
 
const TStringGetCharset () const
 
virtual TClassGetClass (const char *name) const
 Return pointer to class with name.
 
const TStringGetClassDocTag () const
 
const TStringGetCopyrightTag () const
 
const char * GetCounter () const
 
const char * GetCounterFormat () const
 
virtual bool GetDeclFileName (TClass *cl, Bool_t filesys, TString &out_name) const
 Return declaration file name; return the full path if filesys is true.
 
void GetDerivedClasses (TClass *cl, std::map< TClass *, Int_t > &derived) const
 fill derived with all classes inheriting from cl and their inheritance distance to cl
 
const TStringGetDocStyle () const
 
const TStringGetDotDir () const
 
virtual const char * GetEtcDir () const
 Get the directory containing THtml's auxiliary files ($ROOTSYS/etc/html)
 
const TFileDefinitionGetFileDefinition () const
 Return the TFileDefinition (or derived) object as set by SetFileDefinition(); create and return a TFileDefinition object if none was set.
 
const TStringGetFooter () const
 
const TStringGetHeader () const
 
const TStringGetHomepage () const
 
virtual const char * GetHtmlFileName (const char *classname) const
 Get the html file name for a class named classname.
 
virtual void GetHtmlFileName (TClass *classPtr, TString &filename) const
 Return real HTML filename.
 
virtual bool GetImplFileName (TClass *cl, Bool_t filesys, TString &out_name) const
 Return implementation file name.
 
const TStringGetInputPath () const
 
const TStringGetLastUpdateTag () const
 
TListGetLibraryDependencies ()
 
const TListGetListOfClasses () const
 
const TListGetListOfModules () const
 
TFileSysDBGetLocalFiles () const
 
const TStringGetMacroPath () const
 
TVirtualMutexGetMakeClassMutex () const
 
const TModuleDefinitionGetModuleDefinition () const
 Return the TModuleDefinition (or derived) object as set by SetModuleDefinition(); create and return a TModuleDefinition object if none was set.
 
const TStringGetModuleDocPath () const
 
void GetModuleMacroPath (const TString &module, TString &out_path) const
 
virtual void GetModuleNameForClass (TString &module, TClass *cl) const
 Return the module name for a given class.
 
const TStringGetOutputDir (Bool_t createDir=kTRUE) const
 Return the output directory as set by SetOutputDir().
 
const TPathDefinitionGetPathDefinition () const
 Return the TModuleDefinition (or derived) object as set by SetModuleDefinition(); create and return a TModuleDefinition object if none was set.
 
const PathInfo_tGetPathInfo () const
 
const TStringGetProductName () const
 
const TStringGetSearchEngine () const
 
const TStringGetSearchStemURL () const
 
const char * GetURL (const char *lib=0) const
 Get the documentation URL for library lib.
 
const TStringGetViewCVS () const
 
const TStringGetWikiURL () const
 
const TStringGetXwho () const
 
Bool_t HaveDot ()
 Check whether dot is available in $PATH or in the directory set by SetDotPath()
 
void HelperDeleted (THelperBase *who)
 Inform the THtml object that one of its helper objects was deleted.
 
Bool_t IsBatch () const
 
void MakeAll (Bool_t force=kFALSE, const char *filter="*", int numthreads=1)
 Produce documentation for all the classes specified in the filter (by default "*") To process all classes having a name starting with XX, do: html.MakeAll(kFALSE,"XX*"); If force=kFALSE (default), only the classes that have been modified since the previous call to this function will be generated.
 
void MakeClass (const char *className, Bool_t force=kFALSE)
 Make HTML files for a single class.
 
void MakeIndex (const char *filter="*")
 Create the index files for the product, modules, all types, etc.
 
void MakeTree (const char *className, Bool_t force=kFALSE)
 Make an inheritance tree.
 
void ReplaceSpecialChars (std::ostream &, const char *)
 
void SetAuthorTag (const char *tag)
 
void SetBatch (Bool_t batch=kTRUE)
 
void SetCharset (const char *charset)
 
void SetClassDocTag (const char *tag)
 
void SetCopyrightTag (const char *tag)
 
void SetCounterFormat (const char *format)
 
void SetDeclFileName (TClass *cl, const char *filename)
 Explicitly set a decl file name for TClass cl.
 
void SetDocPath (const char *path)
 
void SetDocStyle (const char *style)
 
void SetDotDir (const char *dir)
 
void SetEscape (char='\\')
 
void SetEtcDir (const char *dir)
 
void SetFileDefinition (const TFileDefinition &fd)
 Set the file defining object to be used; can also be a user derived object (a la traits).
 
void SetFooter (const char *file)
 
void SetFoundDot (Bool_t found=kTRUE)
 Set whether "dot" (a GraphViz utility) is available.
 
void SetHeader (const char *file)
 
void SetHomepage (const char *url)
 
void SetImplFileName (TClass *cl, const char *filename)
 Explicitly set a impl file name for TClass cl.
 
void SetIncludePath (const char *dir)
 
void SetInputDir (const char *dir)
 Set the directory containing the source files.
 
void SetLastUpdateTag (const char *tag)
 
void SetLibURL (const char *lib, const char *url)
 
void SetMacroPath (const char *path)
 
void SetModuleDefinition (const TModuleDefinition &md)
 Set the module defining object to be used; can also be a user derived object (a la traits).
 
void SetOutputDir (const char *dir)
 Set the directory where the HTML pages should be written to.
 
void SetPathDefinition (const TPathDefinition &pd)
 Set the path defining object to be used; can also be a user derived object (a la traits).
 
void SetProductName (const char *product)
 
void SetRootURL (const char *url)
 
void SetSearchEngine (const char *url)
 
void SetSearchStemURL (const char *url)
 
void SetSourceDir (const char *dir)
 
void SetViewCVS (const char *url)
 
void SetWikiURL (const char *url)
 
void SetXwho (const char *xwho)
 
const char * ShortType (const char *name) const
 Get short type name, i.e. with default templates removed.
 
void SortListOfModules ()
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility.
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method.
 
virtual void Copy (TObject &object) const
 Copy this to obj.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
virtual const char * GetName () const
 Returns name of object.
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object.
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
 
virtual ULong_t Hash () const
 Return hash value for this object.
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout.
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification.
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator.
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 

Static Public Member Functions

static const char * GetDirDelimiter ()
 
static Bool_t IsNamespace (const TClass *cl)
 Check whether cl is a namespace.
 
static void LoadAllLibs ()
 Load all libraries known to ROOT via the rootmap system.
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 

Protected Member Functions

virtual void CreateJavascript () const
 Write the default ROOT style sheet.
 
void CreateListOfClasses (const char *filter)
 Create the list of all known classes.
 
void CreateListOfTypes ()
 Create index of all data types and a page for each typedef-to-class.
 
virtual void CreateStyleSheet () const
 Write the default ROOT style sheet.
 
virtual bool GetDeclImplFileName (TClass *cl, bool filesys, bool decl, TString &out_name) const
 Combined implementation for GetDeclFileName(), GetImplFileName(): Return declaration / implementation file name (depending on decl); return the full path if filesys is true.
 
TClassDocInfoGetNextClass ()
 Return the next class to be generated for MakeClassThreaded.
 
void MakeClass (void *cdi, Bool_t force=kFALSE)
 Make HTML files for a single class.
 
void SetLocalFiles () const
 Fill the files available in the file system below fPathInfo.fInputPath.
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
 
void MakeZombie ()
 

Static Protected Member Functions

static voidMakeClassThreaded (void *info)
 Entry point of worker threads for multi-threaded MakeAll().
 

Protected Attributes

Bool_t fBatch
 
TString fCounter
 
TString fCounterFormat
 
DocEntityInfo_t fDocEntityInfo
 
DocSyntax_t fDocSyntax
 
TFileDefinitionfFileDef
 
TGClientfGClient
 
LinkInfo_t fLinkInfo
 
TFileSysDBfLocalFiles
 
TVirtualMutexfMakeClassMutex
 
TModuleDefinitionfModuleDef
 
OutputStyle_t fOutputStyle
 
TPathDefinitionfPathDef
 
PathInfo_t fPathInfo
 
TString fProductName
 
Int_t fThreadedClassCount
 
TIterfThreadedClassIter
 

Additional Inherited Members

- Protected Types inherited from TObject
enum  { kOnlyPrepStep = BIT(3) }
 

#include <THtml.h>

Inheritance diagram for THtml:
[legend]

Member Enumeration Documentation

◆ EConvertOutput

Enumerator
kNoOutput 
kInterpretedOutput 
kCompiledOutput 
kForceOutput 
kSeparateProcessOutput 

Definition at line 233 of file THtml.h.

Constructor & Destructor Documentation

◆ THtml()

THtml::THtml ( )

Create a THtml object.

In case output directory does not exist an error will be printed and gHtml stays 0 also zombie bit will be set.

Definition at line 1221 of file THtml.cxx.

◆ ~THtml()

THtml::~THtml ( )
virtual

Default destructor.

Definition at line 1263 of file THtml.cxx.

Member Function Documentation

◆ AddMacroPath()

void THtml::AddMacroPath ( const char *  path)

Add path to the directories to be searched for macro files that are to be executed via the TDocMacroDirective ("Begin_Macro"/"End_Macro"); relative to the source file that the directive is run on.

Definition at line 1283 of file THtml.cxx.

◆ Convert()

void THtml::Convert ( const char *  filename,
const char *  title,
const char *  dirname = "",
const char *  relpath = "../",
Int_t  includeOutput = kNoOutput,
const char *  context = "" 
)

It converts a single text file to HTML.

Input: filename - name of the file to convert title - title which will be placed at the top of the HTML file dirname - optional parameter, if it's not specified, output will be placed in htmldoc/examples directory. relpath - optional parameter pointing to the THtml generated doc on the server, relative to the current page. includeOutput - if != kNoOutput, run the script passed as filename and store all created canvases in PNG files that are shown next to the converted source. Bitwise-ORing with kForceOutput re-runs the script even if output PNGs exist that are newer than the script. If kCompiledOutput is passed, the script is run through ACLiC (.x filename+) context - line shown verbatim at the top of the page; e.g. for links. If context is non-empty it is expected to also print the title.

NOTE: Output file name is the same as filename, but with extension .html

Definition at line 1470 of file THtml.cxx.

◆ CopyFileFromEtcDir()

Bool_t THtml::CopyFileFromEtcDir ( const char *  filename) const

Copy a file from $ROOTSYS/etc/html into GetOutputDir()

Definition at line 1915 of file THtml.cxx.

◆ CreateAuxiliaryFiles()

void THtml::CreateAuxiliaryFiles ( ) const
virtual

copy CSS, javascript file, etc to the output dir

Definition at line 1299 of file THtml.cxx.

◆ CreateHierarchy()

void THtml::CreateHierarchy ( )

Create the inheritance hierarchy diagram for all classes.

Definition at line 1936 of file THtml.cxx.

◆ CreateJavascript()

void THtml::CreateJavascript ( ) const
protectedvirtual

Write the default ROOT style sheet.

Definition at line 1945 of file THtml.cxx.

◆ CreateListOfClasses()

void THtml::CreateListOfClasses ( const char *  filter)
protected

Create the list of all known classes.

Definition at line 1555 of file THtml.cxx.

◆ CreateListOfTypes()

void THtml::CreateListOfTypes ( )
protected

Create index of all data types and a page for each typedef-to-class.

Definition at line 1905 of file THtml.cxx.

◆ CreateStyleSheet()

void THtml::CreateStyleSheet ( ) const
protectedvirtual

Write the default ROOT style sheet.

Definition at line 1952 of file THtml.cxx.

◆ GetAuthorTag()

const TString & THtml::GetAuthorTag ( ) const
inline

Definition at line 305 of file THtml.h.

◆ GetCharset()

const TString & THtml::GetCharset ( ) const
inline

Definition at line 315 of file THtml.h.

◆ GetClass()

TClass * THtml::GetClass ( const char *  name) const
virtual

Return pointer to class with name.

Definition at line 2076 of file THtml.cxx.

◆ GetClassDocTag()

const TString & THtml::GetClassDocTag ( ) const
inline

Definition at line 304 of file THtml.h.

◆ GetCopyrightTag()

const TString & THtml::GetCopyrightTag ( ) const
inline

Definition at line 307 of file THtml.h.

◆ GetCounter()

const char * THtml::GetCounter ( ) const
inline

Definition at line 323 of file THtml.h.

◆ GetCounterFormat()

const char * THtml::GetCounterFormat ( ) const
inline

Definition at line 303 of file THtml.h.

◆ GetDeclFileName()

bool THtml::GetDeclFileName ( TClass cl,
Bool_t  filesys,
TString out_name 
) const
virtual

Return declaration file name; return the full path if filesys is true.

Definition at line 2105 of file THtml.cxx.

◆ GetDeclImplFileName()

bool THtml::GetDeclImplFileName ( TClass cl,
bool  filesys,
bool  decl,
TString out_name 
) const
protectedvirtual

Combined implementation for GetDeclFileName(), GetImplFileName(): Return declaration / implementation file name (depending on decl); return the full path if filesys is true.

Definition at line 2123 of file THtml.cxx.

◆ GetDerivedClasses()

void THtml::GetDerivedClasses ( TClass cl,
std::map< TClass *, Int_t > &  derived 
) const

fill derived with all classes inheriting from cl and their inheritance distance to cl

Definition at line 1964 of file THtml.cxx.

◆ GetDirDelimiter()

static const char * THtml::GetDirDelimiter ( )
inlinestatic

Definition at line 327 of file THtml.h.

◆ GetDocStyle()

const TString & THtml::GetDocStyle ( ) const
inline

Definition at line 316 of file THtml.h.

◆ GetDotDir()

const TString & THtml::GetDotDir ( ) const
inline

Definition at line 299 of file THtml.h.

◆ GetEtcDir()

const char * THtml::GetEtcDir ( ) const
virtual

Get the directory containing THtml's auxiliary files ($ROOTSYS/etc/html)

Definition at line 1352 of file THtml.cxx.

◆ GetFileDefinition()

const THtml::TFileDefinition & THtml::GetFileDefinition ( ) const

Return the TFileDefinition (or derived) object as set by SetFileDefinition(); create and return a TFileDefinition object if none was set.

Definition at line 1325 of file THtml.cxx.

◆ GetFooter()

const TString & THtml::GetFooter ( ) const
inline

Definition at line 309 of file THtml.h.

◆ GetHeader()

const TString & THtml::GetHeader ( ) const
inline

Definition at line 308 of file THtml.h.

◆ GetHomepage()

const TString & THtml::GetHomepage ( ) const
inline

Definition at line 310 of file THtml.h.

◆ GetHtmlFileName() [1/2]

const char * THtml::GetHtmlFileName ( const char *  classname) const
virtual

Get the html file name for a class named classname.

Returns 0 if the class is not documented.

Definition at line 2065 of file THtml.cxx.

◆ GetHtmlFileName() [2/2]

void THtml::GetHtmlFileName ( TClass classPtr,
TString filename 
) const
virtual

Return real HTML filename.

Input: classPtr - pointer to a class filename - string containing a full name of the corresponding HTML file after the function returns.

Definition at line 2001 of file THtml.cxx.

◆ GetImplFileName()

bool THtml::GetImplFileName ( TClass cl,
Bool_t  filesys,
TString out_name 
) const
virtual

Return implementation file name.

Definition at line 2113 of file THtml.cxx.

◆ GetInputPath()

const TString & THtml::GetInputPath ( ) const
inline

Definition at line 295 of file THtml.h.

◆ GetLastUpdateTag()

const TString & THtml::GetLastUpdateTag ( ) const
inline

Definition at line 306 of file THtml.h.

◆ GetLibraryDependencies()

TList * THtml::GetLibraryDependencies ( )
inline

Definition at line 338 of file THtml.h.

◆ GetListOfClasses()

const TList * THtml::GetListOfClasses ( ) const
inline

Definition at line 341 of file THtml.h.

◆ GetListOfModules()

const TList * THtml::GetListOfModules ( ) const
inline

Definition at line 340 of file THtml.h.

◆ GetLocalFiles()

TFileSysDB * THtml::GetLocalFiles ( ) const
inline

Definition at line 342 of file THtml.h.

◆ GetMacroPath()

const TString & THtml::GetMacroPath ( ) const
inline

Definition at line 302 of file THtml.h.

◆ GetMakeClassMutex()

TVirtualMutex * THtml::GetMakeClassMutex ( ) const
inline

Definition at line 343 of file THtml.h.

◆ GetModuleDefinition()

const THtml::TModuleDefinition & THtml::GetModuleDefinition ( ) const

Return the TModuleDefinition (or derived) object as set by SetModuleDefinition(); create and return a TModuleDefinition object if none was set.

Definition at line 1311 of file THtml.cxx.

◆ GetModuleDocPath()

const TString & THtml::GetModuleDocPath ( ) const
inline

Definition at line 298 of file THtml.h.

◆ GetModuleMacroPath()

void THtml::GetModuleMacroPath ( const TString module,
TString out_path 
) const
inline

Definition at line 324 of file THtml.h.

◆ GetModuleNameForClass()

void THtml::GetModuleNameForClass ( TString module,
TClass cl 
) const
virtual

Return the module name for a given class.

Use the cached information from fDocEntityInfo.fClasses.

Definition at line 1540 of file THtml.cxx.

◆ GetNextClass()

TClassDocInfo * THtml::GetNextClass ( )
protected

Return the next class to be generated for MakeClassThreaded.

Definition at line 1369 of file THtml.cxx.

◆ GetOutputDir()

const TString & THtml::GetOutputDir ( Bool_t  createDir = kTRUE) const

Return the output directory as set by SetOutputDir().

Create it if it doesn't exist and if createDir is kTRUE.

Definition at line 2177 of file THtml.cxx.

◆ GetPathDefinition()

const THtml::TPathDefinition & THtml::GetPathDefinition ( ) const

Return the TModuleDefinition (or derived) object as set by SetModuleDefinition(); create and return a TModuleDefinition object if none was set.

Definition at line 1339 of file THtml.cxx.

◆ GetPathInfo()

const PathInfo_t & THtml::GetPathInfo ( ) const
inline

Definition at line 345 of file THtml.h.

◆ GetProductName()

const TString & THtml::GetProductName ( ) const
inline

Definition at line 294 of file THtml.h.

◆ GetSearchEngine()

const TString & THtml::GetSearchEngine ( ) const
inline

Definition at line 312 of file THtml.h.

◆ GetSearchStemURL()

const TString & THtml::GetSearchStemURL ( ) const
inline

Definition at line 311 of file THtml.h.

◆ GetURL()

const char * THtml::GetURL ( const char *  lib = 0) const

Get the documentation URL for library lib.

If lib == 0 or no documentation URL has been set for lib, return the ROOT documentation URL. The return value is always != 0.

Definition at line 1395 of file THtml.cxx.

◆ GetViewCVS()

const TString & THtml::GetViewCVS ( ) const
inline

Definition at line 313 of file THtml.h.

◆ GetWikiURL()

const TString & THtml::GetWikiURL ( ) const
inline

Definition at line 314 of file THtml.h.

◆ GetXwho()

const TString & THtml::GetXwho ( ) const
inline

Definition at line 301 of file THtml.h.

◆ HaveDot()

Bool_t THtml::HaveDot ( )

Check whether dot is available in $PATH or in the directory set by SetDotPath()

Definition at line 1411 of file THtml.cxx.

◆ HelperDeleted()

void THtml::HelperDeleted ( THtml::THelperBase who)

Inform the THtml object that one of its helper objects was deleted.

Called by THtml::HelperBase::~HelperBase().

Definition at line 1438 of file THtml.cxx.

◆ IsBatch()

Bool_t THtml::IsBatch ( ) const
inline

Definition at line 353 of file THtml.h.

◆ IsNamespace()

Bool_t THtml::IsNamespace ( const TClass cl)
static

Check whether cl is a namespace.

Definition at line 2202 of file THtml.cxx.

◆ LoadAllLibs()

void THtml::LoadAllLibs ( )
static

Load all libraries known to ROOT via the rootmap system.

Definition at line 2210 of file THtml.cxx.

◆ MakeAll()

void THtml::MakeAll ( Bool_t  force = kFALSE,
const char *  filter = "*",
int  numthreads = 1 
)

Produce documentation for all the classes specified in the filter (by default "*") To process all classes having a name starting with XX, do: html.MakeAll(kFALSE,"XX*"); If force=kFALSE (default), only the classes that have been modified since the previous call to this function will be generated.

If force=kTRUE, all classes passing the filter will be processed. If numthreads is != -1, use numthreads threads, else decide automatically based on the number of CPUs.

Definition at line 2226 of file THtml.cxx.

◆ MakeClass() [1/2]

void THtml::MakeClass ( const char *  className,
Bool_t  force = kFALSE 
)

Make HTML files for a single class.

Input: className - name of the class to process

Definition at line 2292 of file THtml.cxx.

◆ MakeClass() [2/2]

void THtml::MakeClass ( void cdi_void,
Bool_t  force = kFALSE 
)
protected

Make HTML files for a single class.

Input: cdi - doc info for class to process

Definition at line 2313 of file THtml.cxx.

◆ MakeClassThreaded()

void * THtml::MakeClassThreaded ( void info)
staticprotected

Entry point of worker threads for multi-threaded MakeAll().

info points to an (internal) THtmlThreadInfo object containing the current THtml object, and whether "force" was passed to MakeAll(). The thread will poll GetNextClass() until no further class is available.

Definition at line 2353 of file THtml.cxx.

◆ MakeIndex()

void THtml::MakeIndex ( const char *  filter = "*")

Create the index files for the product, modules, all types, etc.

By default all classes are indexed (if filter="*"); to generate an index for all classes starting with "XX", do html.MakeIndex("XX*");

Definition at line 2369 of file THtml.cxx.

◆ MakeTree()

void THtml::MakeTree ( const char *  className,
Bool_t  force = kFALSE 
)

Make an inheritance tree.

Input: className - name of the class to process

Definition at line 2393 of file THtml.cxx.

◆ ReplaceSpecialChars()

void THtml::ReplaceSpecialChars ( std::ostream &  ,
const char *   
)
inline

Definition at line 355 of file THtml.h.

◆ SetAuthorTag()

void THtml::SetAuthorTag ( const char *  tag)
inline

Definition at line 277 of file THtml.h.

◆ SetBatch()

void THtml::SetBatch ( Bool_t  batch = kTRUE)
inline

Definition at line 352 of file THtml.h.

◆ SetCharset()

void THtml::SetCharset ( const char *  charset)
inline

Definition at line 287 of file THtml.h.

◆ SetClassDocTag()

void THtml::SetClassDocTag ( const char *  tag)
inline

Definition at line 276 of file THtml.h.

◆ SetCopyrightTag()

void THtml::SetCopyrightTag ( const char *  tag)
inline

Definition at line 279 of file THtml.h.

◆ SetCounterFormat()

void THtml::SetCounterFormat ( const char *  format)
inline

Definition at line 275 of file THtml.h.

◆ SetDeclFileName()

void THtml::SetDeclFileName ( TClass cl,
const char *  filename 
)

Explicitly set a decl file name for TClass cl.

Definition at line 2494 of file THtml.cxx.

◆ SetDocPath()

void THtml::SetDocPath ( const char *  path)
inline

Definition at line 268 of file THtml.h.

◆ SetDocStyle()

void THtml::SetDocStyle ( const char *  style)
inline

Definition at line 288 of file THtml.h.

◆ SetDotDir()

void THtml::SetDotDir ( const char *  dir)
inline

Definition at line 269 of file THtml.h.

◆ SetEscape()

void THtml::SetEscape ( char  = '\\')
inline

Definition at line 358 of file THtml.h.

◆ SetEtcDir()

void THtml::SetEtcDir ( const char *  dir)
inline

Definition at line 267 of file THtml.h.

◆ SetFileDefinition()

void THtml::SetFileDefinition ( const TFileDefinition fd)

Set the file defining object to be used; can also be a user derived object (a la traits).

Definition at line 2440 of file THtml.cxx.

◆ SetFooter()

void THtml::SetFooter ( const char *  file)
inline

Definition at line 281 of file THtml.h.

◆ SetFoundDot()

void THtml::SetFoundDot ( Bool_t  found = kTRUE)

Set whether "dot" (a GraphViz utility) is available.

Definition at line 2410 of file THtml.cxx.

◆ SetHeader()

void THtml::SetHeader ( const char *  file)
inline

Definition at line 280 of file THtml.h.

◆ SetHomepage()

void THtml::SetHomepage ( const char *  url)
inline

Definition at line 282 of file THtml.h.

◆ SetImplFileName()

void THtml::SetImplFileName ( TClass cl,
const char *  filename 
)

Explicitly set a impl file name for TClass cl.

Definition at line 2507 of file THtml.cxx.

◆ SetIncludePath()

void THtml::SetIncludePath ( const char *  dir)
inline

Definition at line 266 of file THtml.h.

◆ SetInputDir()

void THtml::SetInputDir ( const char *  dir)

Set the directory containing the source files.

The source file for a class MyClass will be searched by prepending dir to the value of MyClass::Class()->GetImplFileName() - which can contain directory information! Also resets the class structure, in case new files can be found after this call.

Definition at line 2469 of file THtml.cxx.

◆ SetLastUpdateTag()

void THtml::SetLastUpdateTag ( const char *  tag)
inline

Definition at line 278 of file THtml.h.

◆ SetLibURL()

void THtml::SetLibURL ( const char *  lib,
const char *  url 
)
inline

Definition at line 271 of file THtml.h.

◆ SetLocalFiles()

void THtml::SetLocalFiles ( ) const
protected

Fill the files available in the file system below fPathInfo.fInputPath.

Definition at line 2418 of file THtml.cxx.

◆ SetMacroPath()

void THtml::SetMacroPath ( const char *  path)
inline

Definition at line 273 of file THtml.h.

◆ SetModuleDefinition()

void THtml::SetModuleDefinition ( const TModuleDefinition md)

Set the module defining object to be used; can also be a user derived object (a la traits).

Definition at line 2428 of file THtml.cxx.

◆ SetOutputDir()

void THtml::SetOutputDir ( const char *  dir)

Set the directory where the HTML pages should be written to.

If the directory does not exist it will be created when needed.

Definition at line 2483 of file THtml.cxx.

◆ SetPathDefinition()

void THtml::SetPathDefinition ( const TPathDefinition pd)

Set the path defining object to be used; can also be a user derived object (a la traits).

Definition at line 2452 of file THtml.cxx.

◆ SetProductName()

void THtml::SetProductName ( const char *  product)
inline

Definition at line 262 of file THtml.h.

◆ SetRootURL()

void THtml::SetRootURL ( const char *  url)
inline

Definition at line 270 of file THtml.h.

◆ SetSearchEngine()

void THtml::SetSearchEngine ( const char *  url)
inline

Definition at line 284 of file THtml.h.

◆ SetSearchStemURL()

void THtml::SetSearchStemURL ( const char *  url)
inline

Definition at line 283 of file THtml.h.

◆ SetSourceDir()

void THtml::SetSourceDir ( const char *  dir)
inline

Definition at line 265 of file THtml.h.

◆ SetViewCVS()

void THtml::SetViewCVS ( const char *  url)
inline

Definition at line 285 of file THtml.h.

◆ SetWikiURL()

void THtml::SetWikiURL ( const char *  url)
inline

Definition at line 286 of file THtml.h.

◆ SetXwho()

void THtml::SetXwho ( const char *  xwho)
inline

Definition at line 272 of file THtml.h.

◆ ShortType()

const char * THtml::ShortType ( const char *  name) const

Get short type name, i.e. with default templates removed.

Definition at line 2520 of file THtml.cxx.

◆ SortListOfModules()

void THtml::SortListOfModules ( )
inline

Definition at line 339 of file THtml.h.

Member Data Documentation

◆ fBatch

Bool_t THtml::fBatch
protected

Definition at line 424 of file THtml.h.

◆ fCounter

TString THtml::fCounter
protected

Definition at line 408 of file THtml.h.

◆ fCounterFormat

TString THtml::fCounterFormat
protected

Definition at line 409 of file THtml.h.

◆ fDocEntityInfo

DocEntityInfo_t THtml::fDocEntityInfo
protected

Definition at line 419 of file THtml.h.

◆ fDocSyntax

DocSyntax_t THtml::fDocSyntax
protected

Definition at line 415 of file THtml.h.

◆ fFileDef

TFileDefinition* THtml::fFileDef
mutableprotected

Definition at line 422 of file THtml.h.

◆ fGClient

TGClient* THtml::fGClient
protected

Definition at line 414 of file THtml.h.

◆ fLinkInfo

LinkInfo_t THtml::fLinkInfo
protected

Definition at line 416 of file THtml.h.

◆ fLocalFiles

TFileSysDB* THtml::fLocalFiles
mutableprotected

Definition at line 423 of file THtml.h.

◆ fMakeClassMutex

TVirtualMutex* THtml::fMakeClassMutex
protected

Definition at line 413 of file THtml.h.

◆ fModuleDef

TModuleDefinition* THtml::fModuleDef
mutableprotected

Definition at line 421 of file THtml.h.

◆ fOutputStyle

OutputStyle_t THtml::fOutputStyle
protected

Definition at line 417 of file THtml.h.

◆ fPathDef

TPathDefinition* THtml::fPathDef
mutableprotected

Definition at line 420 of file THtml.h.

◆ fPathInfo

PathInfo_t THtml::fPathInfo
mutableprotected

Definition at line 418 of file THtml.h.

◆ fProductName

TString THtml::fProductName
protected

Definition at line 410 of file THtml.h.

◆ fThreadedClassCount

Int_t THtml::fThreadedClassCount
protected

Definition at line 412 of file THtml.h.

◆ fThreadedClassIter

TIter* THtml::fThreadedClassIter
protected

Definition at line 411 of file THtml.h.

Libraries for THtml:

The documentation for this class was generated from the following files: