40 typedef std::vector<std::string>
Words_t;
72 if (!step || step >=
numLeft)
return;
217 carr[idx++].str =
l[
iS].c_str();
220 std::vector<std::string>
lsort(
l.size());
272 link.Prepend(
"<a href=\"");
274 if (comment &&
strlen(comment)) {
284 str.String().Insert(str.Start() + str.Length(),
"</a>");
285 str.String().Insert(str.Start(),
link);
301 line.ReplaceAll(
"=\"@!@",
"=\"");
313 const char* context ,
329 if (context && context[0])
330 out << context << std::endl;
331 else if (title && title[0])
332 out <<
"<h1 class=\"convert\">" << title <<
"</h1>" << std::endl;
425 gSystem->
Exec(
TString::Format(
"ROOT_HIST=0 root.exe -l -q %s $ROOTSYS/etc/html/saveScriptOutput.C\\(\\\"%s\\\",\\\"%s\\\",%d\\)",
426 gROOT->IsBatch() ?
"-b" :
"",
452 gROOT->ProcessLine(
TString::Format(
"*((TList**)0x%zx) = ((TGClient*)0x%zx)->GetListOfWindows();",
454 gROOT->ProcessLine(
TString::Format(
"*((TObject**)0x%zx) = ((TGClient*)0x%zx)->GetDefaultRoot();",
466 if (
gROOT->GetListOfCanvases()->GetSize())
482 gROOT->ProcessLine(cmd, &err);
511 gROOT->ProcessLine(
TString::Format(
"*((TVirtualPad**)0x%zx) = ((TRootCanvas*)0x%zx)->Canvas();",
512 (
size_t)&
pad, (
size_t)
win));
513 if (!
pad->HasViewer3D() ||
pad->GetViewer3D()->InheritsFrom(
"TViewer3DPad")) {
530 if (last ==
pad) last = 0;
546 out <<
"<table><tr><td style=\"vertical-align:top;padding-right:2em;\">" << std::endl;
548 out <<
"<div class=\"listing\"><pre class=\"listing\">" << std::endl;
554 out <<
"</pre></div>" << std::endl;
559 out <<
"</td><td style=\"vertical-align:top;\">" << std::endl;
560 out <<
"<table>" << std::endl;
563 out <<
"<tr><td><a href=\"" <<
pngname <<
"\">" << std::endl
564 <<
"<img src=\"" <<
pngname <<
"\" id=\"canv" << i <<
"\" alt=\"thumb\" style=\"border:none;width:22em;\" "
565 "onmouseover=\"javascript:canv" << i <<
".style.width='auto';\" />" << std::endl
566 <<
"</a></td></tr>" << std::endl;
568 out <<
"</table>" << std::endl;
569 out <<
"</td></tr></table>" << std::endl;
599 Error(
"Copy",
"Can't copy file '%s' to '%s' directory - source file name invalid!",
sourceName,
622 Error(
"Copy",
"Can't copy file '%s' to '%s'!",
650 Error(
"CreateHierarchy",
"Can't open file '%s' !",
filename.Data());
661 out <<
"<h1>Class Hierarchy</h1>" << std::endl;
668 if (!
cdi->HaveSource())
676 Warning(
"THtml::CreateHierarchy",
"skipping class %s\n",
cdi->GetName());
681 cdo.CreateClassHierarchy(out,
cdi->GetHtmlFileName());
704 Error(
"CreateClassIndex",
"Can't open file '%s' !",
filename.Data());
715 indexFile <<
"<h1>Class Index</h1>" << std::endl;
726 if (
cdi->IsSelected() &&
cdi->HaveSource())
731 indexFile <<
"<div id=\"indxShortX\"><h4>Jump to</h4>" << std::endl;
739 indexFile <<
"</div><br />" << std::endl;
743 indexFile <<
"<ul id=\"indx\">" << std::endl;
751 if (!
cdi->IsSelected() || !
cdi->HaveSource())
759 Warning(
"THtml::CreateClassIndex",
"skipping class %s\n",
cdi->GetName());
763 indexFile <<
"<li class=\"idxl" << (i++)%2 <<
"\">";
773 indexFile <<
"\"><span class=\"typename\">";
777 indexFile <<
"<span class=\"typename\">";
802 const char* title =
"LibraryDependencies";
808 <<
"ratio=compress;" << std::endl
809 <<
"node [fontsize=22,labeldistance=0.1];" << std::endl
810 <<
"edge [len=0.01];" << std::endl
811 <<
"fontsize=22;" << std::endl
812 <<
"size=\"16,16\";" << std::endl
813 <<
"overlap=false;" << std::endl
814 <<
"splines=true;" << std::endl
815 <<
"K=0.1;" << std::endl;
823 if (!
module->IsSelected())
834 Error(
"CreateModuleIndex",
"Can't open file '%s' !",
filename.Data());
850 if (
GetHtml()->GetModuleDocPath().Length()) {
866 if (!
cdi->IsSelected() || !
cdi->HaveSource())
902 if (
libs[pos] ==
' ') {
903 if (
thisLib.Length() && lib.length()) {
904 size_t posExt = lib.find(
'.');
905 if (
posExt != std::string::npos)
913 if (lib.length() &&
thisLib.Length()) {
914 size_t posExt = lib.find(
'.');
915 if (
posExt != std::string::npos)
928 if (!
cdi->IsSelected() || !
cdi->HaveSource())
933 Error(
"CreateModuleIndex",
"Unknown class '%s' !",
cdi->GetName());
938 outputFile <<
"<h2>Class Index</h2>" << std::endl;
941 outputFile <<
"<div id=\"indxShortX\"><h4>Jump to</h4>" << std::endl;
955 outputFile <<
"<ul id=\"indx\">" << std::endl;
959 outputFile <<
"<li class=\"idxl" << (count++)%2 <<
"\">";
1011 std::set<std::string>& deps =
libinfo->GetDependencies();
1012 for (std::set<std::string>::iterator
iDep = deps.begin();
1013 iDep != deps.end(); ) {
1015 for (std::set<std::string>::const_iterator
iDep2 = deps.begin();
1021 const std::set<std::string>&
deps2 =
libinfo2->GetDependencies();
1042 <<
"style=filled;" << std::endl
1043 <<
"color=lightgray;" << std::endl
1052 modURL.ReplaceAll(
"/",
"_");
1055 <<
modURL <<
"_Index.html\"];" << std::endl;
1058 <<
"}" << std::endl;
1062 modURL.ReplaceAll(
"/",
"_");
1065 <<
"\" [label=\"" <<
libinfo->GetName()
1066 <<
"\",style=filled,color=lightgray,shape=box,URL=\""
1067 <<
modURL <<
"_Index.html\"];" << std::endl;
1078 const std::set<std::string>& deps =
libinfo->GetDependencies();
1079 for (std::set<std::string>::const_iterator
iDep = deps.begin();
1091 sstrDeps <<
"\"" <<
mod <<
"\" -> \"CONT\" [style=invis];" << std::endl;
1101 Error(
"CreateModuleIndex",
"Can't open file '%s.html' !",
1112 out <<
"<h1>Library Dependencies</h1>" << std::endl;
1116 out <<
"<img alt=\"Library Dependencies\" class=\"classcharts\" usemap=\"#Map" << title <<
"\" src=\"" << title <<
".png\"/>" << std::endl;
1135 Error(
"CreateProductIndex",
"Can't open file '%s' !",
outFile.Data());
1153 out <<
"<h2>Chapters</h2>" << std::endl
1154 <<
"<h3><a href=\"./ClassIndex.html\">Class Index</a></h3>" << std::endl
1155 <<
"<p>A complete list of all classes defined in " <<
GetHtml()->
GetProductName() <<
"</p>" << std::endl
1156 <<
"<h3><a href=\"./ClassHierarchy.html\">Class Hierarchy</a></h3>" << std::endl
1157 <<
"<p>A hierarchy graph of all classes, showing each class's base and derived classes</p>" << std::endl
1158 <<
"<h3><a href=\"./ListOfTypes.html\">Type Index</a></h3>" << std::endl
1159 <<
"<p>A complete list of all types</p>" << std::endl
1160 <<
"<h3><a href=\"./LibraryDependencies.html\">Library Dependency</a></h3>" << std::endl
1161 <<
"<p>A diagram showing all of " <<
GetHtml()->
GetProductName() <<
"'s libraries and their dependencies</p>" << std::endl;
1176 if (
cdi->GetListOfTypedefs().IsEmpty())
1182 Info(
"CreateClassTypeDefs",
"Creating typedef %s to class %s",
1183 dt->GetName(),
cdi->GetName());
1196 Error(
"CreateClassTypeDefs",
"Can't open file '%s' !",
filename.Data());
1202 outfile <<
"<a name=\"TopOfPage\"></a>" << std::endl;
1215 const char* lib=
cls->GetSharedLibs();
1230 outfile <<
"<script type=\"text/javascript\">WriteFollowPageBox('"
1236 TModuleDocInfo*
module = (TModuleDocInfo*) fHtml->GetListOfModules()->FindObject(modulename);
1239 outfile <<
"<div class=\"dropshadow\"><div class=\"withshadow\">";
1241 <<
"<div class=\"classdescr\">" << std::endl;
1247 <<
"</div>" << std::endl
1248 <<
"</div></div><div style=\"clear:both;\"></div>" << std::endl;
1251 outfile << std::endl <<
"<div id=\"datamembers\">" << std::endl
1252 <<
"<table class=\"data\" cellspacing=\"0\">" << std::endl;
1253 outfile <<
"<tr class=\"data";
1254 outfile <<
"\"><td class=\"datatype\">typedef ";
1256 outfile <<
"</td><td class=\"dataname\">";
1258 if (
dt->GetTitle() &&
dt->GetTitle()[0]) {
1259 outfile <<
"</td><td class=\"datadesc\">";
1261 }
else outfile <<
"</td><td>";
1262 outfile <<
"</td></tr>" << std::endl
1263 <<
"</table></div>" << std::endl;
1283 Error(
"CreateTypeIndex",
"Can't open file '%s' !",
outFile.Data());
1291 typesList <<
"<h2> List of data types </h2>" << std::endl;
1296 std::vector<std::string>
typeNames(
gROOT->GetListOfTypes()->GetSize());
1316 typesList <<
"<div id=\"indxShortX\"><h4>Jump to</h4>" << std::endl;
1324 typesList <<
"</div><br />" << std::endl;
1327 typesList <<
"<ul id=\"indx\">" << std::endl;
1335 typesList <<
"<li class=\"idxl" << idx%2 <<
"\">";
1342 typesList <<
"\"><span class=\"typename\">";
1374 str.Insert(pos,
"<span class=\"comment\">");
1379 str.Insert(pos,
"<span class=\"string\">");
1382 str.Insert(pos,
"<span class=\"keyword\">");
1385 str.Insert(pos,
"<span class=\"cpp\">");
1388 str.Insert(pos,
"<pre>");
1391 Error(
"DecorateEntityBegin",
"Unhandled / invalid entity type %d!", (
Int_t)
type);
1414 str.Insert(pos,
"</span>");
1419 str.Insert(pos,
"</span>");
1422 str.Insert(pos,
"</span>");
1425 str.Insert(pos,
"</span>");
1428 str.Insert(pos,
"</pre>");
1431 Error(
"DecorateEntityBegin",
"Unhandled / invalid entity type %d!", (
Int_t)
type);
1592 Error(
"IsModified",
"Unknown file type !");
1647 if (
name.Length() > 240) {
1684 const char*
entry = 0;
1685 std::list<std::string>
files;
1709 if (!
line.ReadLine(in))
break;
1710 out <<
line << std::endl;
1726 Error(
"CreateModuleIndex",
"Cannot create output directory %s",
outdir);
1735 Error(
"CreateModuleIndex",
"Cannot copy file %s to %s",
1769 out <<
"<h3>Further Reading</h3><div id=\"furtherreading\">" << std::endl
1770 <<
furtherReading.str() <<
"</div><h3>List of Classes</h3>" << std::endl;
1884 link =
"ListOfTypes.html#";
1926 if (!comment &&
entity->GetClass()) {
1953 return !reference ||
1954 strncmp(reference,
"http", 4) ||
1955 (
strncmp(reference + 4,
"://", 3) &&
strncmp(reference + 4,
"s://", 4));
1976 case '<':
return "<";
1977 case '&':
return "&";
1978 case '>':
return ">";
1994 const char c =
text[pos];
2012 while (pos <
text.Length())
2026 while (
string && *
string) {
2054 runDot +=
" -q1 -Tpng -o";
2066 Info(
"RunDot",
"Running: %s",
runDot.Data());
2079 if (
line.compare(0, 6,
"<area ") == 0) {
2087 *
outMap <<
"</map>" << std::endl;
2095 Error(
"RunDot",
"Error running %s!",
runDot.Data());
2116 Warning(
"THtml::WriteHtmlHeader",
2117 "Can't open html header file %s\n", header);
2149 txt.ReplaceAll(
"%RELDIR%",
dir);
2153 txt.ReplaceAll(
"%CLASS%",
cls->GetName());
2158 out <<
txt << std::endl;
2200 TString header(
"header.html");
2236 Warning(
"THtml::WriteHtmlFooter",
2237 "Can't open html footer file %s\n",
footer);
2261 out <<
line << std::endl;
2297 if (
footer.EndsWith(
"+"))
2315 out <<
"<div id=\"indxModules\"><h4>Modules</h4>" << std::endl;
2323 if (
module->IsSelected()) {
2326 out <<
"<a href=\"" <<
name <<
"_Index.html\">"
2327 <<
name <<
"</a>" << std::endl;
2330 out<<
"</div><br />" << std::endl;
2342 out <<
"<div id=\"linenums\">";
2345 out <<
"<div class=\"ln\"> <span class=\"lnfile\">" <<
infileBase
2346 <<
":</span><a name=\"" << i + 1 <<
"\" href=\"#" << i + 1
2347 <<
"\" class=\"ln\">" << i + 1 <<
"</a></div>";
2349 out <<
"</div>" << std::endl;
2358 if (
super->GetSub().GetSize()) {
2361 out <<
"<div id=\"indxModules\"><h4>" <<
superName <<
" Modules</h4>" << std::endl;
2363 super->GetSub().Sort();
2367 if (
module->IsSelected()) {
2371 link.ReplaceAll(
"/",
"_");
2375 out <<
"<a href=\"" <<
link <<
"_Index.html\">" <<
name <<
"</a>" << std::endl;
2378 out<<
"</div><br />" << std::endl;
2403 out <<
"<script type=\"text/javascript\">" << std::endl
2404 <<
"function onSearch() {" << std::endl
2405 <<
"var s='" <<
searchCmd <<
"';" << std::endl
2406 <<
"var ref=String(document.location.href).replace(/https?:\\/\\//,'').replace(/\\/[^\\/]*$/,'').replace(/\\//g,'%2F');" << std::endl
2407 <<
"window.location.href=s.replace(/%u/ig,ref).replace(/%s/ig,escape(document.searchform.t.value));" << std::endl
2408 <<
"return false;}" << std::endl
2409 <<
"</script>" << std::endl
2410 <<
"<form id=\"searchform\" name=\"searchform\" onsubmit=\"return onSearch()\" action=\"javascript:onSearch();\" method=\"post\">" << std::endl
2411 <<
"<input name=\"t\" size=\"30\" value=\"Search documentation...\" onfocus=\"if (document.searchform.t.value=='Search documentation...') document.searchform.t.value='';\"></input>" << std::endl
2412 <<
"<a id=\"searchlink\" " <<
serverName <<
" href=\"javascript:onSearch();\" onclick=\"return onSearch()\">Search</a></form>" << std::endl;
2415 out <<
"<a class=\"descrheadentry\" href=\"" <<
searchEngine
2416 <<
"\">Search the Class Reference Guide</a>" << std::endl;
2425 out <<
"<div class=\"location\">" << std::endl;
2427 out <<
"<a class=\"locationlevel\" href=\"index.html\">" <<
productName <<
"</a>" << std::endl;
2436 if (pos ==
kNPOS && !classname)
2441 out <<
" » <a class=\"locationlevel\" href=\"./" <<
modulePath <<
"_Index.html\">" <<
modulePart <<
"</a>" << std::endl;
2455 out <<
" » <a class=\"locationlevel\" href=\"#TopOfPage\">";
2457 out <<
"</a>" << std::endl;
2459 out <<
"</div>" << std::endl;
2471 out <<
"<div id=\"toplinks\">" << std::endl;
2473 out <<
"<div class=\"descrhead\"><div class=\"descrheadcontent\">" << std::endl
2474 <<
"<span class=\"descrtitle\">Quick Links:</span>" << std::endl;
2486 out <<
"<a class=\"descrheadentry\" href=\"http://root.cern.ch\">ROOT Homepage</a>" << std::endl
2487 <<
"<a class=\"descrheadentry\" href=\"./ClassIndex.html\">Class Index</a>" << std::endl
2488 <<
"<a class=\"descrheadentry\" href=\"./ClassHierarchy.html\">Class Hierarchy</a></div>" << std::endl;
2490 out <<
"</div>" << std::endl;
2493 out <<
"</div>" << std::endl;
static void update(gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static int CaseInsensitiveSort(const void *name1, const void *name2)
Friend function for sorting strings, case insensitive.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t cursor
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t win
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Option_t Option_t TPoint TPoint const char text
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
void Printf(const char *fmt,...)
Formats a string in a circular formatting buffer and prints the string.
char * StrDup(const char *str)
Duplicate the string str.
Bool_t R_ISREG(Int_t mode)
R__EXTERN TSystem * gSystem
#define R__LOCKGUARD(mutex)
const_iterator begin() const
const_iterator end() const
TClass instances represent classes, structs and namespaces in the ROOT type system.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
All ROOT classes may have RTTI (run time type identification) support added.
Basic data type descriptor (datatype information is obtained from CINT).
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...
This class defines an abstract interface that must be implemented by all classes that contain diction...
virtual Bool_t IsModified(TClass *classPtr, EFileType type)
Check if file is modified.
void Convert(std::istream &in, const char *infilename, const char *outfilename, const char *title, const char *relpath="../", Int_t includeOutput=0, const char *context="", TGClient *gclient=0)
Convert a text file into a html file.
virtual void DecorateEntityBegin(TString &str, Ssiz_t &pos, TDocParser::EParseContext type)
Add some colors etc to a source entity, contained in str.
virtual void NameSpace2FileName(TString &name)
Replace "::" in name by "__" Replace "<", ">", " ", ",", "~", "=" in name by "_" Replace "A::X<A::Y>"...
void WriteTopLinks(std::ostream &out, TModuleDocInfo *module, const char *classname=0, Bool_t withLocation=kTRUE)
Write the first part of the links shown ontop of each doc page; one <div> has to be closed by caller ...
virtual void CreateProductIndex()
Fetch documentation from THtml::GetProductDocDir() and put it into the product index page.
virtual void CreateClassTypeDefs()
Create a forwarding page for each typedef pointing to a class.
void WriteLineNumbers(std::ostream &out, Long_t nLines, const TString &infileBase) const
Create a div containing the line numbers (for a source listing) 1 to nLines.
virtual void ReferenceEntity(TSubString &str, TClass *entity, const char *comment=0)
Create a reference to a class documentation page.
Bool_t CopyHtmlFile(const char *sourceName, const char *destName="")
Copy file to HTML directory.
virtual void CreateHierarchy()
Create a hierarchical class list The algorithm descends from the base classes and branches into all d...
void WriteHtmlFooter(std::ostream &out, const char *dir, const char *lastUpdate, const char *author, const char *copyright, const char *footer)
Write HTML footer.
virtual const char * ReplaceSpecialChars(char c)
Replace ampersand, less-than and greater-than character, writing to out.
virtual Bool_t ReferenceIsRelative(const char *reference) const
Check whether reference is a relative reference, and can (or should) be prependen by relative paths.
Bool_t RunDot(const char *filename, std::ostream *outMap=0, EGraphvizTool gvwhat=kDot)
Run filename".dot", creating filename".png", and - if outMap is !=0, filename".map",...
virtual void CreateClassIndex()
Create index of all classes.
virtual void CreateTypeIndex()
Create index of all data types.
virtual void DecorateEntityEnd(TString &str, Ssiz_t &pos, TDocParser::EParseContext type)
Add some colors etc to a source entity, contained in str.
virtual void FixupAuthorSourceInfo(TString &authors)
Special author treatment; called when TDocParser::fSourceInfo[kInfoAuthor] is set.
virtual void CreateModuleIndex()
Create the class index for each module, picking up documentation from the module's TModuleDocInfo::Ge...
virtual void AdjustSourcePath(TString &line, const char *relpath="../")
adjust the path of links for source files, which are in src/, but need to point to relpath (usually "...
void ProcessDocInDir(std::ostream &out, const char *indir, const char *outdir, const char *linkdir)
Write links to files indir/*.txt, indir/*.html (non-recursive) to out.
void WriteModuleLinks(std::ostream &out)
Create a div containing links to all topmost modules.
void WriteHtmlHeader(std::ostream &out, const char *titleNoSpecial, const char *dir, TClass *cls, const char *header)
Write HTML header.
virtual void WriteSearch(std::ostream &out)
Write a search link or a search box, based on THtml::GetSearchStemURL() and THtml::GetSearchEngine().
void WriteLocation(std::ostream &out, TModuleDocInfo *module, const char *classname=0)
make a link to the description
void AddLink(TSubString &str, TString &link, const char *comment)
Add a link around str, with title comment.
static void AnchorFromLine(const TString &line, TString &anchor)
Create an anchor from the given line, by hashing it and convertig the hash into a custom base64 strin...
Long_t GetLineNumber() const
void Convert(std::ostream &out, std::istream &in, const char *relpath, Bool_t isCode, Bool_t interpretDirectives)
Parse text file "in", add links etc, and write output to "out".
virtual void DecorateKeywords(std::ostream &out, const char *text)
Expand keywords in text, writing to out.
Legacy ROOT documentation system.
const char * GetCounter() const
const TString & GetFooter() const
const TString & GetSearchStemURL() const
const TString & GetCharset() const
const char * ShortType(const char *name) const
Get short type name, i.e. with default templates removed.
const TString & GetHomepage() const
const TString & GetProductName() const
const char * GetCounterFormat() const
TList * GetLibraryDependencies()
const TList * GetListOfModules() const
const TString & GetDotDir() const
const TString & GetSearchEngine() const
Bool_t HaveDot()
Check whether dot is available in $PATH or in the directory set by SetDotPath()
virtual void CreateAuxiliaryFiles() const
copy CSS, javascript file, etc to the output dir
virtual bool GetDeclFileName(TClass *cl, Bool_t filesys, TString &out_name) const
Return declaration file name; return the full path if filesys is true.
const TString & GetHeader() const
void SetFoundDot(Bool_t found=kTRUE)
Set whether "dot" (a GraphViz utility) is available.
virtual const char * GetEtcDir() const
Get the directory containing THtml's auxiliary files ($ROOTSYS/etc/html)
virtual void GetHtmlFileName(TClass *classPtr, TString &filename) const
Return real HTML filename.
virtual void GetModuleNameForClass(TString &module, TClass *cl) const
Return the module name for a given class.
const TString & GetOutputDir(Bool_t createDir=kTRUE) const
Return the output directory as set by SetOutputDir().
virtual bool GetImplFileName(TClass *cl, Bool_t filesys, TString &out_name) const
Return implementation file name.
const TList * GetListOfClasses() const
const TPathDefinition & GetPathDefinition() const
Return the TModuleDefinition (or derived) object as set by SetModuleDefinition(); create and return a...
const TString & GetXwho() const
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
void Add(TObject *obj) override
Each ROOT class (see TClass) has a linked list of methods.
Mother of all ROOT objects.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
Wrapper for PCRE library (Perl Compatible Regular Expressions).
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
A zero length substring is legal.
Bool_t cd(const char *path)
virtual void FreeDirectory(void *dirp)
Free a directory.
virtual void * OpenDirectory(const char *name)
Open a directory. Returns 0 if directory does not exist.
virtual int CopyFile(const char *from, const char *to, Bool_t overwrite=kFALSE)
Copy a file.
virtual int mkdir(const char *name, Bool_t recursive=kFALSE)
Make a file system directory.
virtual TList * GetListOfTimers() const
virtual Int_t Exec(const char *shellcmd)
Execute a command.
int GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime)
Get info about a file: id, size, flags, modification time.
virtual const char * PrependPathName(const char *dir, TString &name)
Concatenate a directory and a file name.
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
virtual const char * GetDirEntry(void *dirp)
Get a directory entry. Returns 0 if no more entries.
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
virtual TTimer * RemoveTimer(TTimer *t)
Remove timer from list of system timers.
virtual TString GetDirName(const char *pathname)
Return the directory name in pathname.
virtual int Unlink(const char *name)
Unlink, i.e.
Handles synchronous and a-synchronous timer events.
This class represents a WWW compatible URL.
TVirtualPad is an abstract base class for the Pad and Canvas classes.