12 #ifndef ROOT_TDocParser 13 #define ROOT_TDocParser 30 #ifndef ROOT_THashList 86 kParseContextMask =
BIT(4) - 1
136 void AddClassMethodsRecursively(
TBaseClass* bc);
137 void AddClassDataMembersRecursively(
TBaseClass* bc);
142 virtual void InitKeywords()
const;
146 std::ostream &srcOut,
TString &anchor,
147 std::ifstream& sourcefile,
Bool_t allowPureVirtual);
148 void LocateMethodsInSource(std::ostream& out);
149 void LocateMethodsInHeaderInline(std::ostream& out);
150 void LocateMethodsInHeaderClassDecl(std::ostream& out);
151 void LocateMethods(std::ostream& out,
const char* filename,
155 const char* methodPattern = 0,
156 const char* sourceExt = 0);
157 virtual Bool_t ProcessComment();
158 void RemoveCommentContext(
Bool_t cxxcomment);
160 void WriteMethod(std::ostream& out,
TString& ret,
165 void WriteSourceLine(std::ostream& out);
173 void Convert(std::ostream& out, std::istream& in,
const char* relpath,
175 void DecrementMethodCount(
const char* name);
176 virtual void DecorateKeywords(std::ostream& out,
const char*
text);
177 virtual void DecorateKeywords(
TString& text);
178 virtual void DeleteDirectiveOutput()
const;
181 void GetCurrentModule(
TString& out_module)
const;
193 virtual void Parse(std::ostream& out);
199 #endif // ROOT_TDocParser
const TList * GetEnums(EAccess access) const
virtual Int_t GetOverloadIdx() const =0
const char * GetSourceInfo(ESourceInfo type) const
#define ClassDef(name, id)
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
const TList * GetMethods(EAccess access) const
Long_t GetLineNumber() const
TString fCurrentMethodTag
std::map< std::string, Int_t > fMethodCounts
The ROOT global object gROOT contains a list of all defined classes.
virtual TMethod * GetMethod() const =0
char * Strip(const char *str, char c=' ')
Strip leading and trailing c (blanks by default) from a string.
Each class (see TClass) has a linked list of its base class(es).
std::set< UInt_t > fExtraLinesWithAnchor
EParseContext Context() const
void SetCurrentModule(const char *module)
std::list< UInt_t > fParseContext
Mother of all ROOT objects.
TDocOutput * GetDocOutput() const
Each ROOT class (see TClass) has a linked list of methods.
static std::set< std::string > fgKeywords
TClass * GetCurrentClass() const
const TList * GetDataMembers(EAccess access) const