ROOT
6.06/09
Reference Guide
|
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 | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
Public Member Functions | |
THtml () | |
virtual | ~THtml () |
Default destructor. More... | |
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. More... | |
void | CreateHierarchy () |
Create the inheritance hierarchy diagram for all classes. More... | |
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. More... | |
void | MakeClass (const char *className, Bool_t force=kFALSE) |
Make HTML files for a single class. More... | |
void | MakeIndex (const char *filter="*") |
Create the index files for the product, modules, all types, etc. More... | |
void | MakeTree (const char *className, Bool_t force=kFALSE) |
Make an inheritance tree. More... | |
void | SetModuleDefinition (const TModuleDefinition &md) |
Set the module defining object to be used; can also be a user derived object (a la traits). More... | |
void | SetFileDefinition (const TFileDefinition &fd) |
Set the file defining object to be used; can also be a user derived object (a la traits). More... | |
void | SetPathDefinition (const TPathDefinition &pd) |
Set the path defining object to be used; can also be a user derived object (a la traits). More... | |
void | SetProductName (const char *product) |
void | SetOutputDir (const char *dir) |
Set the directory where the HTML pages shuold be written to. More... | |
void | SetInputDir (const char *dir) |
Set the directory containing the source files. More... | |
void | SetSourceDir (const char *dir) |
void | SetIncludePath (const char *dir) |
void | SetEtcDir (const char *dir) |
void | SetDocPath (const char *path) |
void | SetDotDir (const char *dir) |
void | SetRootURL (const char *url) |
void | SetLibURL (const char *lib, const char *url) |
void | SetXwho (const char *xwho) |
void | SetMacroPath (const char *path) |
void | AddMacroPath (const char *path) |
that the directive is run on. More... | |
void | SetCounterFormat (const char *format) |
void | SetClassDocTag (const char *tag) |
void | SetAuthorTag (const char *tag) |
void | SetLastUpdateTag (const char *tag) |
void | SetCopyrightTag (const char *tag) |
void | SetHeader (const char *file) |
void | SetFooter (const char *file) |
void | SetHomepage (const char *url) |
void | SetSearchStemURL (const char *url) |
void | SetSearchEngine (const char *url) |
void | SetViewCVS (const char *url) |
void | SetWikiURL (const char *url) |
void | SetCharset (const char *charset) |
void | SetDocStyle (const char *style) |
const TModuleDefinition & | GetModuleDefinition () const |
Return the TModuleDefinition (or derived) object as set by SetModuleDefinition(); create and return a TModuleDefinition object if none was set. More... | |
const TFileDefinition & | GetFileDefinition () const |
Return the TFileDefinition (or derived) object as set by SetFileDefinition(); create and return a TFileDefinition object if none was set. More... | |
const TPathDefinition & | GetPathDefinition () const |
Return the TModuleDefinition (or derived) object as set by SetModuleDefinition(); create and return a TModuleDefinition object if none was set. More... | |
const TString & | GetProductName () const |
const TString & | GetInputPath () const |
const TString & | GetOutputDir (Bool_t createDir=kTRUE) const |
Return the output directory as set by SetOutputDir(). More... | |
virtual const char * | GetEtcDir () const |
Get the directory containing THtml's auxiliary files ($ROOTSYS/etc/html) More... | |
const TString & | GetModuleDocPath () const |
const TString & | GetDotDir () const |
const char * | GetURL (const char *lib=0) const |
Get the documentation URL for library lib. More... | |
const TString & | GetXwho () const |
const TString & | GetMacroPath () const |
const char * | GetCounterFormat () const |
const TString & | GetClassDocTag () const |
const TString & | GetAuthorTag () const |
const TString & | GetLastUpdateTag () const |
const TString & | GetCopyrightTag () const |
const TString & | GetHeader () const |
const TString & | GetFooter () const |
const TString & | GetHomepage () const |
const TString & | GetSearchStemURL () const |
const TString & | GetSearchEngine () const |
const TString & | GetViewCVS () const |
const TString & | GetWikiURL () const |
const TString & | GetCharset () const |
const TString & | GetDocStyle () const |
Bool_t | CopyFileFromEtcDir (const char *filename) const |
Copy a file from $ROOTSYS/etc/html into GetOutputDir() More... | |
virtual void | CreateAuxiliaryFiles () const |
copy CSS, javascript file, etc to the output dir More... | |
virtual TClass * | GetClass (const char *name) const |
*-*-*-*-*Return pointer to class with name*-*-*-*-*-*-*-*-*-*-*-*-* *-* ================================= More... | |
const char * | ShortType (const char *name) const |
Get short type name, i.e. with default templates removed. More... | |
const char * | GetCounter () const |
void | GetModuleMacroPath (const TString &module, TString &out_path) 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. More... | |
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 More... | |
virtual bool | GetImplFileName (TClass *cl, Bool_t filesys, TString &out_name) const |
Return implementation file name. More... | |
virtual void | GetHtmlFileName (TClass *classPtr, TString &filename) const |
Return real HTML filename. More... | |
virtual const char * | GetHtmlFileName (const char *classname) const |
Get the html file name for a class named classname. More... | |
TList * | GetLibraryDependencies () |
void | SortListOfModules () |
const TList * | GetListOfModules () const |
const TList * | GetListOfClasses () const |
TFileSysDB * | GetLocalFiles () const |
TVirtualMutex * | GetMakeClassMutex () const |
virtual void | GetModuleNameForClass (TString &module, TClass *cl) const |
Return the module name for a given class. More... | |
const PathInfo_t & | GetPathInfo () const |
Bool_t | HaveDot () |
Check whether dot is available in $PATH or in the directory set by SetDotPath() More... | |
void | HelperDeleted (THelperBase *who) |
Inform the THtml object that one of its helper objects was deleted. More... | |
void | SetDeclFileName (TClass *cl, const char *filename) |
Explicitly set a decl file name for TClass cl. More... | |
void | SetFoundDot (Bool_t found=kTRUE) |
Set whether "dot" (a GraphViz utility) is available. More... | |
void | SetImplFileName (TClass *cl, const char *filename) |
Explicitly set a impl file name for TClass cl. More... | |
void | SetBatch (Bool_t batch=kTRUE) |
Bool_t | IsBatch () const |
void | ReplaceSpecialChars (std::ostream &, const char *) |
void | SetEscape (char='\\') |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. More... | |
virtual void | Copy (TObject &object) const |
Copy this to obj. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
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. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
virtual Bool_t | IsSortable () const |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual void | Print (Option_t *option="") const |
This method must be overridden when a class wants to print itself. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
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). More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
Static Public Member Functions | |
static void | LoadAllLibs () |
Load all libraries known to ROOT via the rootmap system. More... | |
static const char * | GetDirDelimiter () |
static Bool_t | IsNamespace (const TClass *cl) |
Check whether cl is a namespace. More... | |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Protected Member Functions | |
virtual void | CreateJavascript () const |
Write the default ROOT style sheet. More... | |
virtual void | CreateStyleSheet () const |
Write the default ROOT style sheet. More... | |
void | CreateListOfTypes () |
Create index of all data types and a page for each typedef-to-class. More... | |
void | CreateListOfClasses (const char *filter) |
Create the list of all known classes. More... | |
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. More... | |
void | MakeClass (void *cdi, Bool_t force=kFALSE) |
Make HTML files for a single class. More... | |
TClassDocInfo * | GetNextClass () |
Return the next class to be generated for MakeClassThreaded. More... | |
void | SetLocalFiles () const |
Fill the files available in the file system below fPathInfo.fInputPath. More... | |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
Static Protected Member Functions | |
static void * | MakeClassThreaded (void *info) |
Entry point of worker threads for multi-threaded MakeAll(). More... | |
#include <THtml.h>
THtml::THtml | ( | ) |
void THtml::AddMacroPath | ( | const char * | path | ) |
that the directive is run on.
Definition at line 3 of file THtml_001.C.
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 201 of file THtml_001.C.
Bool_t THtml::CopyFileFromEtcDir | ( | const char * | filename | ) | const |
Copy a file from $ROOTSYS/etc/html into GetOutputDir()
Definition at line 645 of file THtml_001.C.
Referenced by CreateAuxiliaryFiles(), CreateJavascript(), and CreateStyleSheet().
|
virtual |
copy CSS, javascript file, etc to the output dir
Definition at line 19 of file THtml_001.C.
Referenced by TDocOutput::CreateClassIndex().
void THtml::CreateHierarchy | ( | ) |
Create the inheritance hierarchy diagram for all classes.
Definition at line 666 of file THtml_001.C.
|
protectedvirtual |
Write the default ROOT style sheet.
Definition at line 675 of file THtml_001.C.
Referenced by CreateAuxiliaryFiles().
|
protected |
Create the list of all known classes.
Definition at line 284 of file THtml_001.C.
Referenced by Convert(), MakeClass(), and MakeIndex().
|
protected |
Create index of all data types and a page for each typedef-to-class.
Definition at line 635 of file THtml_001.C.
|
protectedvirtual |
Write the default ROOT style sheet.
Definition at line 682 of file THtml_001.C.
Referenced by CreateAuxiliaryFiles().
|
inline |
Definition at line 314 of file THtml.h.
Referenced by TDocOutput::WriteHtmlHeader().
|
virtual |
*-*-*-*-*Return pointer to class with name*-*-*-*-*-*-*-*-*-*-*-*-* *-* =================================
Definition at line 807 of file THtml_001.C.
Referenced by TClassDocOutput::ClassHtmlTree(), CreateListOfClasses(), MakeTree(), ShortType(), and TClassDocOutput::WriteClassDescription().
|
inline |
Definition at line 322 of file THtml.h.
Referenced by TClassDocOutput::Class2Html(), TDocOutput::CreateClassIndex(), TDocOutput::CreateHierarchy(), TClassDocOutput::CreateHierarchyDot(), and TDocOutput::CreateModuleIndex().
|
inline |
Definition at line 302 of file THtml.h.
Referenced by TClassDocOutput::Class2Html(), TClassDocOutput::ClassTree(), TDocOutput::CreateClassIndex(), TDocOutput::CreateHierarchy(), TClassDocOutput::CreateHierarchyDot(), TDocOutput::CreateModuleIndex(), TDocOutput::CreateProductIndex(), TDocOutput::CreateTypeIndex(), and TClassDocOutput::MakeTree().
Return declaration file name; return the full path if filesys is true.
Definition at line 838 of file THtml_001.C.
Referenced by TClassDocOutput::Class2Html(), TClassDocOutput::CreateDotClassChartIncl(), GetClass(), GetDeclImplFileName(), GetHtmlFileName(), THtml::TPathDefinition::GetIncludeAs(), THtml::TModuleDefinition::GetModule(), TDocOutput::IsModified(), TClassDocOutput::ListFunctions(), TDocParser::LocateMethodsInHeaderClassDecl(), TDocParser::LocateMethodsInHeaderInline(), TClassDocOutput::WriteClassDocHeader(), and TDocOutput::WriteHtmlHeader().
|
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 856 of file THtml_001.C.
Referenced by GetDeclFileName(), and GetImplFileName().
fill derived with all classes inheriting from cl and their inheritance distance to cl
Definition at line 694 of file THtml_001.C.
Referenced by TClassDocOutput::CreateDotClassChartInh().
|
inlinestatic |
Definition at line 326 of file THtml.h.
Referenced by THtml::TFileDefinition::ExpandSearchPath(), THtml::TFileSysDB::Fill(), THtml::TFileDefinition::GetFileName(), THtml::TPathDefinition::GetIncludeAs(), and THtml::TModuleDefinition::GetModule().
|
inline |
Definition at line 315 of file THtml.h.
Referenced by TDocParser::LocateMethodsInSource().
|
inline |
Definition at line 298 of file THtml.h.
Referenced by TDocOutput::RunDot().
|
virtual |
Get the directory containing THtml's auxiliary files ($ROOTSYS/etc/html)
Definition at line 72 of file THtml_001.C.
Referenced by CopyFileFromEtcDir(), TDocOutput::WriteHtmlFooter(), and TDocOutput::WriteHtmlHeader().
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 45 of file THtml_001.C.
Referenced by CreateListOfClasses(), and GetDeclImplFileName().
|
inline |
Definition at line 308 of file THtml.h.
Referenced by TDocOutput::WriteHtmlFooter().
|
inline |
Definition at line 307 of file THtml.h.
Referenced by TDocOutput::WriteHtmlHeader().
|
inline |
Definition at line 309 of file THtml.h.
Referenced by TDocOutput::WriteTopLinks().
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 731 of file THtml_001.C.
Referenced by TClassDocOutput::ClassHtmlTree(), TClassDocOutput::CreateDotClassChartInh(), TClassDocOutput::CreateDotClassChartInhMem(), CreateListOfClasses(), TDocDirective::GetName(), TClassDocOutput::ListDataMembers(), TClassDocOutput::ListFunctions(), TClassDocOutput::MakeTree(), TDocOutput::ReferenceEntity(), and TClassDocOutput::WriteClassDescription().
|
virtual |
Get the html file name for a class named classname.
Returns 0 if the class is not documented.
Definition at line 795 of file THtml_001.C.
Return implementation file name.
Definition at line 846 of file THtml_001.C.
Referenced by TClassDocOutput::CreateDotClassChartIncl(), GetDeclImplFileName(), GetHtmlFileName(), THtml::TModuleDefinition::GetModule(), TDocOutput::IsModified(), TDocParser::LocateMethods(), TDocParser::LocateMethodsInSource(), TClassDocOutput::WriteClassDocHeader(), and TDocOutput::WriteHtmlHeader().
|
inline |
Definition at line 294 of file THtml.h.
Referenced by CreateListOfClasses(), and THtml::TFileDefinition::ExpandSearchPath().
|
inline |
Definition at line 337 of file THtml.h.
Referenced by TDocOutput::CreateModuleIndex().
|
inline |
Definition at line 340 of file THtml.h.
Referenced by TDocOutput::CreateClassIndex(), TDocOutput::CreateHierarchy(), TClassDocOutput::CreateHierarchyDot(), TClassDocOutput::DescendHierarchy(), and TDocOutput::ReferenceEntity().
|
inline |
Definition at line 339 of file THtml.h.
Referenced by TDocOutput::CreateClassTypeDefs(), TDocOutput::CreateModuleIndex(), TClassDocOutput::WriteClassDocHeader(), and TDocOutput::WriteModuleLinks().
|
inline |
|
inline |
Definition at line 301 of file THtml.h.
Referenced by THtml::TPathDefinition::GetMacroPath().
|
inline |
Definition at line 342 of file THtml.h.
Referenced by CopyFileFromEtcDir(), TDocParser::ExpandCPPLine(), GetDeclImplFileName(), GetEtcDir(), GetNextClass(), GetOutputDir(), GetURL(), and HaveDot().
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 31 of file THtml_001.C.
Referenced by CreateListOfClasses().
Definition at line 323 of file THtml.h.
Referenced by TDocMacroDirective::CreateSubprocessInputFile().
Return the module name for a given class.
Use the cached information from fDocEntityInfo.fClasses.
Definition at line 269 of file THtml_001.C.
Referenced by TDocOutput::CreateClassTypeDefs(), CreateListOfClasses(), TDocMacroDirective::CreateSubprocessInputFile(), and TClassDocOutput::WriteClassDocHeader().
|
protected |
Return the next class to be generated for MakeClassThreaded.
Definition at line 100 of file THtml_001.C.
Return the output directory as set by SetOutputDir().
Create it if it doesn't exist and if createDir is kTRUE.
Definition at line 910 of file THtml_001.C.
Referenced by TClassDocOutput::Class2Html(), TClassDocOutput::ClassDotCharts(), TClassDocOutput::ClassTree(), CopyFileFromEtcDir(), TDocOutput::CopyHtmlFile(), TDocOutput::CreateClassIndex(), TDocOutput::CreateClassTypeDefs(), TDocOutput::CreateHierarchy(), TClassDocOutput::CreateHierarchyDot(), TDocOutput::CreateModuleIndex(), TClassDocOutput::CreateSourceOutputStream(), TDocOutput::CreateTypeIndex(), TDocDirective::GetOutputDir(), TDocOutput::IsModified(), and SetLocalFiles().
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 59 of file THtml_001.C.
Referenced by TDocOutput::CreateClassTypeDefs(), TClassDocOutput::CreateDotClassChartIncl(), TDocOutput::CreateModuleIndex(), TDocParser::ExpandCPPLine(), GetModuleMacroPath(), and TClassDocOutput::WriteClassDocHeader().
|
inline |
Definition at line 344 of file THtml.h.
Referenced by THtml::TFileDefinition::GetFileName(), and THtml::TPathDefinition::GetIncludeAs().
|
inline |
Definition at line 293 of file THtml.h.
Referenced by TDocOutput::CreateProductIndex(), THtml::TPathDefinition::GetDocDir(), TDocOutput::WriteLocation(), and TDocOutput::WriteTopLinks().
|
inline |
Definition at line 311 of file THtml.h.
Referenced by TDocOutput::WriteSearch().
|
inline |
Definition at line 310 of file THtml.h.
Referenced by TDocOutput::WriteSearch().
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 126 of file THtml_001.C.
Referenced by GetHtmlFileName().
|
inline |
Definition at line 312 of file THtml.h.
Referenced by CreateListOfClasses(), and TClassDocOutput::WriteClassDocHeader().
|
inline |
Definition at line 313 of file THtml.h.
Referenced by TClassDocOutput::WriteClassDocHeader().
|
inline |
Definition at line 300 of file THtml.h.
Referenced by TDocOutput::FixupAuthorSourceInfo().
Bool_t THtml::HaveDot | ( | ) |
Check whether dot is available in $PATH or in the directory set by SetDotPath()
Definition at line 142 of file THtml_001.C.
Referenced by TClassDocOutput::ClassDotCharts(), TClassDocOutput::MakeTree(), TDocOutput::RunDot(), and TClassDocOutput::WriteClassDocHeader().
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 169 of file THtml_001.C.
Referenced by THtml::THelperBase::~THelperBase().
|
inline |
Definition at line 352 of file THtml.h.
Referenced by TDocMacroDirective::GetResult().
Check whether cl is a namespace.
Definition at line 935 of file THtml_001.C.
Referenced by CreateListOfClasses(), TClassDocOutput::ListDataMembers(), TClassDocOutput::ListFunctions(), TClassDocOutput::WriteClassDescription(), and TClassDocOutput::WriteClassDocHeader().
|
static |
Load all libraries known to ROOT via the rootmap system.
Definition at line 943 of file THtml_001.C.
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 991 of file THtml_001.C.
Make HTML files for a single class.
Input: className - name of the class to process
Definition at line 1057 of file THtml_001.C.
Referenced by MakeAll().
Make HTML files for a single class.
Input: cdi - doc info for class to process
Definition at line 1078 of file THtml_001.C.
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 1118 of file THtml_001.C.
Referenced by MakeAll().
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 1134 of file THtml_001.C.
Referenced by MakeAll().
Make an inheritance tree.
Input: className - name of the class to process
Definition at line 1158 of file THtml_001.C.
|
inline |
Explicitly set a decl file name for TClass cl.
Definition at line 1259 of file THtml_001.C.
void THtml::SetFileDefinition | ( | const TFileDefinition & | md | ) |
Set the file defining object to be used; can also be a user derived object (a la traits).
Definition at line 1205 of file THtml_001.C.
Set whether "dot" (a GraphViz utility) is available.
Definition at line 1175 of file THtml_001.C.
Referenced by TDocOutput::RunDot().
Explicitly set a impl file name for TClass cl.
Definition at line 1272 of file THtml_001.C.
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 1234 of file THtml_001.C.
Referenced by SetSourceDir().
|
inline |
|
protected |
Fill the files available in the file system below fPathInfo.fInputPath.
Definition at line 1183 of file THtml_001.C.
Referenced by GetLocalFiles().
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 1193 of file THtml_001.C.
void THtml::SetOutputDir | ( | const char * | dir | ) |
Set the directory where the HTML pages shuold be written to.
If the directory does not exist it will be created when needed.
Definition at line 1248 of file THtml_001.C.
Referenced by ClassImp().
void THtml::SetPathDefinition | ( | const TPathDefinition & | md | ) |
Set the path defining object to be used; can also be a user derived object (a la traits).
Definition at line 1217 of file THtml_001.C.
|
inline |
Definition at line 284 of file THtml.h.
Referenced by CreateListOfClasses().
const char * THtml::ShortType | ( | const char * | name | ) | const |
Get short type name, i.e. with default templates removed.
Definition at line 1285 of file THtml_001.C.
Referenced by TDocOutput::CreateClassTypeDefs(), CreateListOfClasses(), TClassDocOutput::ListDataMembers(), TDocOutput::NameSpace2FileName(), and TDocOutput::ReferenceEntity().
|
inline |
Definition at line 338 of file THtml.h.
Referenced by TDocOutput::WriteModuleLinks().
|
protected |
Definition at line 423 of file THtml.h.
Referenced by IsBatch(), and SetBatch().
|
protected |
Definition at line 407 of file THtml.h.
Referenced by GetCounter(), GetNextClass(), MakeAll(), and MakeClass().
|
protected |
Definition at line 408 of file THtml.h.
Referenced by GetCounterFormat(), MakeClass(), and SetCounterFormat().
|
protected |
Definition at line 418 of file THtml.h.
Referenced by ClassImp(), CreateListOfClasses(), GetClass(), GetDeclImplFileName(), GetDerivedClasses(), GetHtmlFileName(), GetLibraryDependencies(), GetListOfClasses(), GetListOfModules(), GetModuleNameForClass(), GetNextClass(), MakeAll(), MakeClass(), SetDeclFileName(), SetImplFileName(), SetInputDir(), ShortType(), SortListOfModules(), and ~THtml().
|
protected |
Definition at line 414 of file THtml.h.
Referenced by ClassImp(), GetAuthorTag(), GetClassDocTag(), GetCopyrightTag(), GetDocStyle(), GetLastUpdateTag(), SetAuthorTag(), SetClassDocTag(), SetCopyrightTag(), SetDocStyle(), and SetLastUpdateTag().
|
mutableprotected |
Definition at line 421 of file THtml.h.
Referenced by GetFileDefinition(), HelperDeleted(), SetFileDefinition(), and ~THtml().
|
protected |
|
protected |
Definition at line 415 of file THtml.h.
Referenced by ClassImp(), GetHomepage(), GetSearchEngine(), GetSearchStemURL(), GetURL(), GetViewCVS(), GetWikiURL(), GetXwho(), SetHomepage(), SetLibURL(), SetRootURL(), SetSearchEngine(), SetSearchStemURL(), SetViewCVS(), SetWikiURL(), and SetXwho().
|
mutableprotected |
Definition at line 422 of file THtml.h.
Referenced by GetLocalFiles(), SetLocalFiles(), and ~THtml().
|
protected |
Definition at line 412 of file THtml.h.
Referenced by GetMakeClassMutex(), and MakeAll().
|
mutableprotected |
Definition at line 420 of file THtml.h.
Referenced by GetModuleDefinition(), HelperDeleted(), SetModuleDefinition(), and ~THtml().
|
protected |
Definition at line 416 of file THtml.h.
Referenced by ClassImp(), GetCharset(), GetFooter(), GetHeader(), SetCharset(), SetFooter(), and SetHeader().
|
mutableprotected |
Definition at line 419 of file THtml.h.
Referenced by GetPathDefinition(), HelperDeleted(), SetPathDefinition(), and ~THtml().
|
mutableprotected |
Definition at line 417 of file THtml.h.
Referenced by AddMacroPath(), ClassImp(), Convert(), GetDotDir(), GetEtcDir(), GetHtmlFileName(), GetInputPath(), GetMacroPath(), GetModuleDocPath(), GetOutputDir(), GetPathInfo(), HaveDot(), SetDocPath(), SetDotDir(), SetEtcDir(), SetFoundDot(), SetIncludePath(), SetInputDir(), SetLocalFiles(), SetMacroPath(), and SetOutputDir().
|
protected |
Definition at line 409 of file THtml.h.
Referenced by CreateListOfClasses(), GetProductName(), and SetProductName().
|
protected |
Definition at line 411 of file THtml.h.
Referenced by GetNextClass(), and MakeAll().
|
protected |
Definition at line 410 of file THtml.h.
Referenced by GetNextClass(), and MakeAll().