Skip to content
Snippets Groups Projects
Commit b35679b2 authored by Rene Brun's avatar Rene Brun
Browse files

From Axel:

New doc type XHTML 1.0 transitional; w3c validator now happy (except for
what's in BEGIN/END_HTML)
Escape func names for href targets
Anchors can now be created during all passes: can now jump to inline
methods, too.
When looking for method impl, don't look behind '{'
Reduce method overload count properly (don't erase name before using it)
Fix removal of same-char doc lines ("//+++++++++++++")
Same-char doc lines are class descr tag
Fix removal of trailing */
Fix state reset of kCComment
Introduce line no (do we want them in the doc?)
Close ClassDecl div if no decl found
For globals doc link to their type in ListOfTypes, not their name
Allow '~' as part of name (IsWord, IsName) for d'tors
Fix rootdev email address
"This page has been automatically generated" is no address


git-svn-id: http://root.cern.ch/svn/root/trunk@15863 27541ba8-7e3a-0410-8455-c3a389f83636
parent d7615fd3
No related branches found
No related tags found
No related merge requests found
// @(#)root/html:$Name: $:$Id: THtml.h,v 1.20 2006/07/11 10:39:15 brun Exp $
// @(#)root/html:$Name: $:$Id: THtml.h,v 1.21 2006/07/11 17:34:02 brun Exp $
// Author: Nenad Buncic 18/10/95
/*************************************************************************
......@@ -87,11 +87,14 @@ protected:
TString fSourceDir; // source path
TString fOutputDir; // output directory
TString fLine; // current line
UInt_t fLineNo; // current line number
TString fLineExpanded; // current line with links
TString fLineStripped; // current line without surrounding spaces
TClass *fCurrentClass; // current class context of sources being parsed
MethodNames_t fMethodNames; // current class's method names
EDocContext fDocContext; // current context of parsed sources for documenting
EParseContext fParseContext; // current context of parsed sources
std::set<UInt_t> fExtraLinesWithAnchor; // lines that need an additional anchor
TString fSourceInfo[kNumSourceInfos];// author, last changed, ...
TString fCounter; // counter string
Bool_t fEscFlag; // Flag to mark the symbol must be written "as is"
......@@ -106,8 +109,8 @@ protected:
std::map<TClass*,std::string> fGuessedImplFileNames; // names of additional impl file names
static std::set<std::string> fgKeywords; // C++ keywords
void AnchorFromLine(TString& anchor, const char* line);
virtual void BeautifyLine(std::ostream &srcOut, TString* anchor = 0);
void AnchorFromLine(TString& anchor);
virtual void BeautifyLine(std::ostream &srcOut);
void Class2Html(Bool_t force=kFALSE);
void ClassDescription(ofstream &out);
void ClassHtmlTree(ofstream &out, TClass *classPtr, ETraverse dir=kBoth, int depth=1);
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment