215 fIgnorePath(
"\\b(include|CVS|test|tutorials|doc|lib|python|demo|freetype-|gdk|libAfterImage|etc|config|build|bin)\\b"),
247 void Convert(
const char *filename,
const char *title,
248 const char *dirname =
"",
const char *relpath=
"../",
250 const char* context =
"");
300 const char*
GetURL(
const char* lib = 0)
const;
356 Error(
"ReplaceSpecialChars",
357 "Removed, call TDocOutput::ReplaceSpecialChars() instead!"); }
#define ClassDef(name, id)
The ROOT global object gROOT contains a list of all defined classes.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
This class stores a (key,value) pair using an external hash.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
THashTable implements a hash table to store TObject's.
TString MatchFileSysName(TString &filename, TFileSysEntry **fse=0) const
Find filename in the list of system files; return the system file name and change filename to the fil...
virtual bool GetDeclFileName(const TClass *cl, TString &out_filename, TString &out_fsys, TFileSysEntry **fse=0) const
Determine cl's declaration file name.
void NormalizePath(TString &path) const
Remove "/./" and collapse "/subdir/../" to "/".
void SplitClassIntoDirFile(const TString &clname, TString &dir, TString &filename) const
Given a class name with a scope, split the class name into directory part and file name: A::B::C beco...
virtual bool GetImplFileName(const TClass *cl, TString &out_filename, TString &out_fsys, TFileSysEntry **fse=0) const
Determine cl's implementation file name.
virtual bool GetFileName(const TClass *cl, bool decl, TString &out_filename, TString &out_fsys, TFileSysEntry **fse=0) const
Common implementation for GetDeclFileName(), GetImplFileName()
void ExpandSearchPath(TString &path) const
Create all permutations of path and THtml's input path: path being PP/ and THtml's input being .
TFileSysDB(const char *path, const char *ignorePath, Int_t maxdirlevel)
const TString & GetIgnore() const
THashTable & GetEntries()
Int_t GetMaxLevel() const
void Fill()
Recursively fill entries by parsing the path specified in GetName(); can be a THtml::GetDirDelimiter(...
void Recurse(TFileSysDB *db, const char *path)
Recursively fill entries by parsing the contents of path.
TFileSysDir(const char *name, TFileSysDir *parent)
const TList * GetFiles() const
const TList * GetSubDirs() const
const char * GetName() const
Returns name of object.
TFileSysDir * GetParent() const
virtual void GetFullName(TString &fullname, Bool_t asIncluded) const
TFileSysEntry(const char *name, TFileSysDir *parent)
virtual ULong_t Hash() const
Return hash value for this object.
void GetFullName(TString &fullname, Bool_t asIncluded) const
TFileSysRoot(const char *name, TFileSysDB *parent)
virtual ~THelperBase()
Helper's destructor.
void SetOwner(THtml *html)
Set the THtml object owning this object; if it's already set to a different THtml object than issue a...
virtual bool GetModule(TClass *cl, TFileSysEntry *fse, TString &out_modulename) const
Set out_modulename to cl's module name; return true if it's valid.
virtual bool GetIncludeAs(TClass *cl, TString &out_include_as) const
Determine the path and filename used in an include statement for the header file of the given class.
virtual bool GetFileNameFromInclude(const char *included, TString &out_fsname) const
Set out_fsname to the full pathname corresponding to a file included as "included".
virtual bool GetMacroPath(const TString &module, TString &out_dir) const
Determine the path to look for macros (see TDocMacroDirective) for classes from a given module.
virtual bool GetDocDir(const TString &module, TString &doc_dir) const
Determine the module's documentation directory.
void SetModuleDefinition(const TModuleDefinition &md)
Set the module defining object to be used; can also be a user derived object (a la traits).
THtml()
Create a THtml object.
void SetCharset(const char *charset)
virtual void CreateStyleSheet() const
Write the default ROOT style sheet.
const char * GetCounter() const
const TString & GetClassDocTag() const
const TString & GetFooter() const
const TString & GetSearchStemURL() const
const TString & GetViewCVS() const
void SetDocStyle(const char *style)
const TString & GetCharset() const
DocEntityInfo_t fDocEntityInfo
const char * ShortType(const char *name) const
Get short type name, i.e. with default templates removed.
const TString & GetHomepage() const
void SetAuthorTag(const char *tag)
const TString & GetModuleDocPath() const
void SetPathDefinition(const TPathDefinition &pd)
Set the path defining object to be used; can also be a user derived object (a la traits).
TFileSysDB * GetLocalFiles() const
void SetHeader(const char *file)
virtual TClass * GetClass(const char *name) const
Return pointer to class with name.
const TString & GetInputPath() const
const TString & GetCopyrightTag() const
static Bool_t IsNamespace(const TClass *cl)
Check whether cl is a namespace.
void CreateListOfClasses(const char *filter)
Create the list of all known classes.
void SetXwho(const char *xwho)
void SetOutputDir(const char *dir)
Set the directory where the HTML pages shuold be written to.
void SetDotDir(const char *dir)
const TString & GetProductName() const
void SetEtcDir(const char *dir)
TVirtualMutex * fMakeClassMutex
void SetCounterFormat(const char *format)
void SetInputDir(const char *dir)
Set the directory containing the source files.
virtual bool GetDeclImplFileName(TClass *cl, bool filesys, bool decl, TString &out_name) const
Combined implementation for GetDeclFileName(), GetImplFileName(): Return declaration / implementation...
const char * GetCounterFormat() const
static void * MakeClassThreaded(void *info)
Entry point of worker threads for multi-threaded MakeAll().
void SetImplFileName(TClass *cl, const char *filename)
Explicitly set a impl file name for TClass cl.
const TString & GetAuthorTag() const
void AddMacroPath(const char *path)
Add path to the directories to be searched for macro files that are to be executed via the TDocMacroD...
const TString & GetDocStyle() const
void SetDeclFileName(TClass *cl, const char *filename)
Explicitly set a decl file name for TClass cl.
void MakeTree(const char *className, Bool_t force=kFALSE)
Make an inheritance tree.
TList * GetLibraryDependencies()
const TList * GetListOfModules() const
Int_t fThreadedClassCount
const TString & GetDotDir() const
const TString & GetSearchEngine() const
void SetBatch(Bool_t batch=kTRUE)
const TModuleDefinition & GetModuleDefinition() const
Return the TModuleDefinition (or derived) object as set by SetModuleDefinition(); create and return a...
void SetEscape(char='\\')
TFileDefinition * fFileDef
void CreateHierarchy()
Create the inheritance hierarchy diagram for all classes.
static void LoadAllLibs()
Load all libraries known to ROOT via the rootmap system.
Bool_t HaveDot()
Check whether dot is available in $PATH or in the directory set by SetDotPath()
void SetMacroPath(const char *path)
void SetClassDocTag(const char *tag)
virtual void CreateAuxiliaryFiles() const
copy CSS, javascript file, etc to the output dir
void SetLastUpdateTag(const char *tag)
void SetFileDefinition(const TFileDefinition &fd)
Set the file defining object to be used; can also be a user derived object (a la traits).
void GetModuleMacroPath(const TString &module, TString &out_path) 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 cla...
void SetLocalFiles() const
Fill the files available in the file system below fPathInfo.fInputPath.
void SetFooter(const char *file)
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
void SetProductName(const char *product)
void MakeClass(const char *className, Bool_t force=kFALSE)
Make HTML files for a single class.
virtual ~THtml()
Default destructor.
void SetSearchEngine(const char *url)
virtual bool GetDeclFileName(TClass *cl, Bool_t filesys, TString &out_name) const
Return declaration file name; return the full path if filesys is true.
TModuleDefinition * fModuleDef
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.
const TString & GetHeader() const
void SetCopyrightTag(const char *tag)
void CreateListOfTypes()
Create index of all data types and a page for each typedef-to-class.
void SetLibURL(const char *lib, const char *url)
const PathInfo_t & GetPathInfo() const
virtual void CreateJavascript() const
Write the default ROOT style sheet.
void SetFoundDot(Bool_t found=kTRUE)
Set whether "dot" (a GraphViz utility) is available.
void SetViewCVS(const char *url)
OutputStyle_t fOutputStyle
const TString & GetWikiURL() const
virtual const char * GetEtcDir() const
Get the directory containing THtml's auxiliary files ($ROOTSYS/etc/html)
const TString & GetMacroPath() const
void SetDocPath(const char *path)
const TString & GetLastUpdateTag() const
static const char * GetDirDelimiter()
virtual void GetHtmlFileName(TClass *classPtr, TString &filename) const
Return real HTML filename.
void SetIncludePath(const char *dir)
void SetSourceDir(const char *dir)
void MakeIndex(const char *filter="*")
Create the index files for the product, modules, all types, etc.
void SetSearchStemURL(const char *url)
TClassDocInfo * GetNextClass()
Return the next class to be generated for MakeClassThreaded.
virtual void GetModuleNameForClass(TString &module, TClass *cl) const
Return the module name for a given class.
void SetWikiURL(const char *url)
const TString & GetOutputDir(Bool_t createDir=kTRUE) const
Return the output directory as set by SetOutputDir().
TVirtualMutex * GetMakeClassMutex() const
void HelperDeleted(THelperBase *who)
Inform the THtml object that one of its helper objects was deleted.
TPathDefinition * fPathDef
virtual bool GetImplFileName(TClass *cl, Bool_t filesys, TString &out_name) const
Return implementation file name.
void ReplaceSpecialChars(std::ostream &, const char *)
void SetRootURL(const char *url)
const TList * GetListOfClasses() const
TIter * fThreadedClassIter
const TPathDefinition & GetPathDefinition() const
Return the TModuleDefinition (or derived) object as set by SetModuleDefinition(); create and return a...
const TFileDefinition & GetFileDefinition() const
Return the TFileDefinition (or derived) object as set by SetFileDefinition(); create and return a TFi...
void SetHomepage(const char *url)
Bool_t CopyFileFromEtcDir(const char *filename) const
Copy a file from $ROOTSYS/etc/html into GetOutputDir()
const TString & GetXwho() const
const char * GetURL(const char *lib=0) const
Get the documentation URL for library lib.
virtual void Sort(Bool_t order=kSortAscending)
Sort linked list.
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
This class implements a mutex interface.
void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
THashList fShortClassNames
std::map< std::string, TString > fLibURLs