43 #define MAX_LEN_PAT 1024 // maximum length of a pattern 44 #define dblquote(x) "\"" << x << "\"" 64 Int_t Hook(
char *buf,
int *pLoc, std::ostream& out);
196 void CopyMatch(
char dest[],
const char localName[],
const char appendage[]=0,
const char fullName[]=0 )
const;
static void AppendListOfFilesInDirectory(const char dirName[], TSeqCollection *pList)
[static utility function]/////////////////////////////
void ClearGlobals()
Forget all global variables seen so far.
static Char_t AllAgreeOnChar(int i, const TSeqCollection *pList, Int_t &nGoodStrings)
[static utility function]///////////////////////////////////////////
void ClearSysIncFiles()
Close system files.
void RehashGlobals()
Reload globals.
const TSeqCollection * GetListOfUsers()
reads from "/etc/passwd"
void CopyMatch(char dest[], const char localName[], const char appendage[]=0, const char fullName[]=0) const
[private]
TClass * MakeClassFromVarName(const char varName[], EContext_t &context, int iter=0)
private returns a new'd TClass given the name of a variable.
void ClearEnvVars()
Forget all environment variables seen so far.
TClass * TryMakeClassFromClassName(const char className[]) const
Same as above but does not print the error message.
TSeqCollection * fpEnvVars
Regular expression class.
static TSeqCollection * NewListOfFilesInPath(const char path[])
[static utility function]/////////////////////////////
const TSeqCollection * GetListOfClasses()
Return the list of classes.
void RehashSysIncFiles()
Reload system include files.
TSeqCollection * fpPragmas
void ClearCppDirectives()
Forget all Cpp directives seen so far.
TTabCom & operator=(const TTabCom &)
void RehashPragmas()
Reload pragmas.
static TString DetermineClass(const char varName[])
[static utility function]/////////////////////////////
TTabCom()
Default constructor.
Sequenceable collection abstract base class.
#define ClassDef(name, id)
void ClearPragmas()
Forget all pragmas seen so far.
int ParseReverse(const char *var_str, int start)
Returns the place in the string where to put the \0, starting the search from "start".
const TSeqCollection * GetListOfFilesInPath(const char path[])
"path" should be initialized with a colon separated list of system directories
void ClearGlobalFunctions()
Forget all global functions seen so far.
void RehashCppDirectives()
Cpp rehashing.
Int_t Hook(char *buf, int *pLoc, std::ostream &out)
[private]
void RehashClasses()
Do the class rehash.
void ClearAll()
clears all lists except for user names and system include files.
static void NoMsg(Int_t errorLevel)
[static utility function]/////////////////////////////
void SetPattern(EContext_t handle, const char regexp[])
[private]
void RehashGlobalFunctions()
Reload global functions.
Collection abstract base class.
TSeqCollection * fpSysIncFiles
void ClearUsers()
Forget all user seen so far.
The ROOT global object gROOT contains a list of all defined classes.
void RehashAll()
clears and then rebuilds all lists except for user names and system include files.
void ClearFiles()
Close all files.
TSeqCollection * fpClasses
TString DeterminePath(const TString &fileName, const char defaultPath[]) const
[private]
void RehashEnvVars()
Environemnt variables rehashing.
const TSeqCollection * GetListOfSysIncFiles()
Return the list of system include files.
EContext_t DetermineContext() const
[private]
static Bool_t PathIsSpecifiedInFileName(const TString &fileName)
[static utility function]/////////////////////////////
TString ExtendPath(const char originalPath[], TString newBase) const
[private]
unsigned long long ULong64_t
static constexpr double s
ULong64_t fPrevInterpMarker
const TSeqCollection * GetListOfPragmas()
Return the list of pragmas.
void ClearClasses()
Clear classes and namespace collections.
#define dest(otri, vertexptr)
TClass * MakeClassFromClassName(const char className[]) const
private returns a new'd TClass given the name of a class.
const char * fRegExp[kNUM_PAT]
Int_t Complete(const TRegexp &re, const TSeqCollection *pListOfCandidates, const char appendage[], std::ostream &out, TString::ECaseCompare cmp=TString::kExact)
[private]
TSeqCollection * fpGlobals
static Bool_t ExcludedByFignore(TString s)
[static utility function]/////////////////////////////
static TString GetSysIncludePath()
[static utility function]/////////////////////////////
static Bool_t IsDirectory(const char fileName[])
[static utility function]/////////////////////////////
const TSeqCollection * GetListOfCppDirectives()
Return the list of CPP directives.
void InitPatterns()
[private]
const TSeqCollection * GetListOfEnvVars()
Uses "env" (Unix) or "set" (Windows) to get list of environment variables.
R__EXTERN TTabCom * gTabCom
TCollection * GetListOfGlobalFunctions()
Return the list of global functions.
const TSeqCollection * GetListOfGlobals()
Return the list of globals.
TSeqCollection * fpDirectives
void RehashUsers()
Reload users.
void RehashFiles()
Close files.
Pattern_t fPat[kNUM_PAT][MAX_LEN_PAT]