12 #ifndef ROOT_TDocParser 13 #define ROOT_TDocParser 77 kParseContextMask =
BIT(4) - 1
127 void AddClassMethodsRecursively(
TBaseClass* bc);
128 void AddClassDataMembersRecursively(
TBaseClass* bc);
133 virtual void InitKeywords()
const;
137 std::ostream &srcOut,
TString &anchor,
138 std::ifstream& sourcefile,
Bool_t allowPureVirtual);
139 void LocateMethodsInSource(std::ostream& out);
140 void LocateMethodsInHeaderInline(std::ostream& out);
141 void LocateMethodsInHeaderClassDecl(std::ostream& out);
142 void LocateMethods(std::ostream& out,
const char* filename,
146 const char* methodPattern = 0,
147 const char* sourceExt = 0);
148 virtual Bool_t ProcessComment();
149 void RemoveCommentContext(
Bool_t cxxcomment);
151 void WriteMethod(std::ostream& out,
TString& ret,
156 void WriteSourceLine(std::ostream& out);
164 void Convert(std::ostream& out, std::istream& in,
const char* relpath,
166 void DecrementMethodCount(
const char* name);
167 virtual void DecorateKeywords(std::ostream& out,
const char*
text);
168 virtual void DecorateKeywords(
TString& text);
169 virtual void DeleteDirectiveOutput()
const;
172 void GetCurrentModule(
TString& out_module)
const;
184 virtual void Parse(std::ostream& out);
190 #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
static std::set< std::string > fgKeywords
static constexpr double s
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.
TClass * GetCurrentClass() const
const TList * GetDataMembers(EAccess access) const