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