TTabCom Class Reference

#include <TTabCom.h>

List of all members.

Public Types

enum  
enum  EContext_t
enum  
enum  EContext_t
typedef TList TContainer
typedef TListIter TContIter
typedef TList TContainer
typedef TListIter TContIter

Public Member Functions

 TTabCom ()
virtual ~TTabCom ()
Int_t Hook (char *buf, int *pLoc)
const TSeqCollectionGetListOfClasses ()
const TSeqCollectionGetListOfCppDirectives ()
const TSeqCollectionGetListOfFilesInPath (const char path[])
const TSeqCollectionGetListOfEnvVars ()
const TSeqCollectionGetListOfGlobalFunctions ()
const TSeqCollectionGetListOfGlobals ()
const TSeqCollectionGetListOfPragmas ()
const TSeqCollectionGetListOfSysIncFiles ()
const TSeqCollectionGetListOfUsers ()
void ClearClasses ()
void ClearCppDirectives ()
void ClearEnvVars ()
void ClearFiles ()
void ClearGlobalFunctions ()
void ClearGlobals ()
void ClearPragmas ()
void ClearSysIncFiles ()
void ClearUsers ()
void ClearAll ()
void RehashClasses ()
void RehashCppDirectives ()
void RehashEnvVars ()
void RehashFiles ()
void RehashGlobalFunctions ()
void RehashGlobals ()
void RehashPragmas ()
void RehashSysIncFiles ()
void RehashUsers ()
void RehashAll ()
 TTabCom ()
virtual ~TTabCom ()
Int_t Hook (char *buf, int *pLoc)
const TSeqCollectionGetListOfClasses ()
const TSeqCollectionGetListOfCppDirectives ()
const TSeqCollectionGetListOfFilesInPath (const char path[])
const TSeqCollectionGetListOfEnvVars ()
const TSeqCollectionGetListOfGlobalFunctions ()
const TSeqCollectionGetListOfGlobals ()
const TSeqCollectionGetListOfPragmas ()
const TSeqCollectionGetListOfSysIncFiles ()
const TSeqCollectionGetListOfUsers ()
void ClearClasses ()
void ClearCppDirectives ()
void ClearEnvVars ()
void ClearFiles ()
void ClearGlobalFunctions ()
void ClearGlobals ()
void ClearPragmas ()
void ClearSysIncFiles ()
void ClearUsers ()
void ClearAll ()
void RehashClasses ()
void RehashCppDirectives ()
void RehashEnvVars ()
void RehashFiles ()
void RehashGlobalFunctions ()
void RehashGlobals ()
void RehashPragmas ()
void RehashSysIncFiles ()
void RehashUsers ()
void RehashAll ()

Static Public Member Functions

static Char_t AllAgreeOnChar (int i, const TSeqCollection *pList, Int_t &nGoodStrings)
static void AppendListOfFilesInDirectory (const char dirName[], TSeqCollection *pList)
static TString DetermineClass (const char varName[])
static Bool_t ExcludedByFignore (TString s)
static TString GetSysIncludePath ()
static Bool_t IsDirectory (const char fileName[])
static TSeqCollectionNewListOfFilesInPath (const char path[])
static Bool_t PathIsSpecifiedInFileName (const TString &fileName)
static void NoMsg (Int_t errorLevel)
static Char_t AllAgreeOnChar (int i, const TSeqCollection *pList, Int_t &nGoodStrings)
static void AppendListOfFilesInDirectory (const char dirName[], TSeqCollection *pList)
static TString DetermineClass (const char varName[])
static Bool_t ExcludedByFignore (TString s)
static TString GetSysIncludePath ()
static Bool_t IsDirectory (const char fileName[])
static TSeqCollectionNewListOfFilesInPath (const char path[])
static Bool_t PathIsSpecifiedInFileName (const TString &fileName)
static void NoMsg (Int_t errorLevel)

Private Member Functions

 TTabCom (const TTabCom &)
TTabComoperator= (const TTabCom &)
Int_t Complete (const TRegexp &re, const TSeqCollection *pListOfCandidates, const char appendage[], TString::ECaseCompare cmp=TString::kExact)
void CopyMatch (char dest[], const char localName[], const char appendage[]=0, const char fullName[]=0) const
EContext_t DetermineContext () const
TString DeterminePath (const TString &fileName, const char defaultPath[]) const
TString ExtendPath (const char originalPath[], TString newBase) const
void InitPatterns ()
TClassMakeClassFromClassName (const char className[]) const
TClassTryMakeClassFromClassName (const char className[]) const
TClassMakeClassFromVarName (const char varName[], EContext_t &context, int iter=0)
void SetPattern (EContext_t handle, const char regexp[])
int ParseReverse (const char *var_str, int start)
 TTabCom (const TTabCom &)
TTabComoperator= (const TTabCom &)
Int_t Complete (const TRegexp &re, const TSeqCollection *pListOfCandidates, const char appendage[], TString::ECaseCompare cmp=TString::kExact)
void CopyMatch (char dest[], const char localName[], const char appendage[]=0, const char fullName[]=0) const
EContext_t DetermineContext () const
TString DeterminePath (const TString &fileName, const char defaultPath[]) const
TString ExtendPath (const char originalPath[], TString newBase) const
void InitPatterns ()
TClassMakeClassFromClassName (const char className[]) const
TClassTryMakeClassFromClassName (const char className[]) const
TClassMakeClassFromVarName (const char varName[], EContext_t &context, int iter=0)
void SetPattern (EContext_t handle, const char regexp[])
int ParseReverse (const char *var_str, int start)

Private Attributes

TSeqCollectionfpClasses
TSeqCollectionfpNamespaces
TSeqCollectionfpDirectives
TSeqCollectionfpEnvVars
TSeqCollectionfpFiles
TSeqCollectionfpGlobals
TSeqCollectionfpGlobalFuncs
TSeqCollectionfpPragmas
TSeqCollectionfpSysIncFiles
TSeqCollectionfpUsers
char * fBuf
int * fpLoc
Pattern_t fPat [kNUM_PAT][MAX_LEN_PAT]
const char * fRegExp [kNUM_PAT]
Bool_t fVarIsPointer
Int_t fLastIter
TSeqCollectionfpClasses
TSeqCollectionfpNamespaces
TSeqCollectionfpDirectives
TSeqCollectionfpEnvVars
TSeqCollectionfpFiles
TSeqCollectionfpGlobals
TSeqCollectionfpGlobalFuncs
TSeqCollectionfpPragmas
TSeqCollectionfpSysIncFiles
TSeqCollectionfpUsers
char * fBuf
int * fpLoc
const char * fRegExp [kNUM_PAT]


Detailed Description

Definition at line 57 of file TTabCom.h.


Member Typedef Documentation

typedef TList TTabCom::TContainer

Definition at line 64 of file TTabCom.h.

typedef TListIter TTabCom::TContIter

Definition at line 65 of file TTabCom.h.

typedef TList TTabCom::TContainer

Definition at line 64 of file TTabCom.h.

typedef TListIter TTabCom::TContIter

Definition at line 65 of file TTabCom.h.


Member Enumeration Documentation

anonymous enum

Definition at line 116 of file TTabCom.h.

enum TTabCom::EContext_t

Definition at line 118 of file TTabCom.h.

anonymous enum

Definition at line 116 of file TTabCom.h.

enum TTabCom::EContext_t

Definition at line 118 of file TTabCom.h.


Constructor & Destructor Documentation

TTabCom::TTabCom (  ) 

Definition at line 178 of file TTabCom.cxx.

References fBuf, fLastIter, fpClasses, fpDirectives, fpEnvVars, fpFiles, fpGlobalFuncs, fpGlobals, fpLoc, fpNamespaces, fpPragmas, fpSysIncFiles, fpUsers, fVarIsPointer, gl_root_tab_hook(), Gl_tab_hook, InitPatterns(), and kFALSE.

TTabCom::~TTabCom (  )  [virtual]

Definition at line 206 of file TTabCom.cxx.

References ClearAll(), ClearSysIncFiles(), and ClearUsers().

TTabCom::TTabCom ( const TTabCom  )  [private]

TTabCom::TTabCom (  ) 

virtual TTabCom::~TTabCom (  )  [virtual]

TTabCom::TTabCom ( const TTabCom  )  [private]


Member Function Documentation

Int_t TTabCom::Hook ( char *  buf,
int *  pLoc 
)

Definition at line 1638 of file TTabCom.cxx.

References TList::Add(), TCollection::AddAll(), TSeqCollection::At(), TSystem::Beep(), TString::Chop(), comment, Complete(), TCollection::Contains(), TString::Contains(), TString::Data(), dblquote, DetermineContext(), DeterminePath(), dummy, fBuf, TCollection::FindObject(), fLastIter, fpLoc, fpNamespaces, fRegExp, gEnv, TMethod::GetCommentString(), TClass::GetListOfAllPublicDataMembers(), TClass::GetListOfAllPublicMethods(), GetListOfClasses(), GetListOfCppDirectives(), GetListOfEnvVars(), GetListOfFilesInPath(), GetListOfGlobalFunctions(), GetListOfGlobals(), GetListOfPragmas(), GetListOfSysIncFiles(), GetListOfUsers(), TROOT::GetMacroPath(), TObject::GetName(), TFunction::GetReturnTypeName(), TFunction::GetSignature(), TCollection::GetSize(), GetSysIncludePath(), TEnv::GetValue(), gSystem, i, IfDebug, TCollection::IsEmpty(), kCINT_cpp, kCINT_Edit, kCINT_EXec, kCINT_Exec, kCINT_includePWD, kCINT_includeSYS, kCINT_Load, kCINT_pragma, kCINT_stderr, kCINT_stdin, kCINT_stdout, kCXX_ConstructorProto, kCXX_DirectMember, kCXX_DirectProto, kCXX_Global, kCXX_GlobalProto, kCXX_IndirectMember, kCXX_IndirectProto, kCXX_NewProto, kCXX_ScopeMember, kCXX_ScopeProto, kFALSE, TString::kIgnoreCase, kROOT_Load, kSYS_EnvVar, kSYS_FileName, kSYS_UserName, TString::kTrailing, kTRUE, kUNKNOWN_CONTEXT, TString::Length(), MakeClassFromClassName(), MakeClassFromVarName(), name, PathIsSpecifiedInFileName(), prefix, RehashClasses(), TString::Remove(), s, s1, s2, str, and TryMakeClassFromClassName().

Referenced by G__G__Rint_125_0_2().

const TSeqCollection * TTabCom::GetListOfClasses (  ) 

Definition at line 436 of file TTabCom.cxx.

References TSeqCollection::Add(), TInterpreter::DisplayClass(), Error, fclose(), fopen, fpClasses, fpNamespaces, gCint, gSystem, kFALSE, kTRUE, line, and TSystem::Unlink().

Referenced by G__G__Rint_125_0_3(), Hook(), and RehashClasses().

const TSeqCollection * TTabCom::GetListOfCppDirectives (  ) 

Definition at line 513 of file TTabCom.cxx.

References TSeqCollection::Add(), and fpDirectives.

Referenced by G__G__Rint_125_0_4(), Hook(), and RehashCppDirectives().

const TSeqCollection * TTabCom::GetListOfFilesInPath ( const char  path[]  ) 

Definition at line 537 of file TTabCom.cxx.

References ClearFiles(), fpFiles, and NewListOfFilesInPath().

Referenced by G__G__Rint_125_0_5(), and Hook().

const TSeqCollection * TTabCom::GetListOfEnvVars (  ) 

Definition at line 557 of file TTabCom.cxx.

References TSeqCollection::Add(), TString::Data(), env, Error, TSystem::Exec(), fpEnvVars, TSystem::Getenv(), gSystem, kExecutePermission, line, TSystem::Unlink(), and TSystem::Which().

Referenced by G__G__Rint_125_0_6(), Hook(), and RehashEnvVars().

const TSeqCollection * TTabCom::GetListOfGlobalFunctions (  ) 

Definition at line 645 of file TTabCom.cxx.

References a, TSeqCollection::Add(), fpGlobalFuncs, gCint, i, j, TInterpreter::MethodInfo_Delete(), TInterpreter::MethodInfo_Factory(), TInterpreter::MethodInfo_IsValid(), TInterpreter::MethodInfo_Name(), TInterpreter::MethodInfo_Next(), and t.

Referenced by G__G__Rint_125_0_7(), Hook(), and RehashGlobalFunctions().

const TSeqCollection * TTabCom::GetListOfGlobals (  ) 

Definition at line 607 of file TTabCom.cxx.

References a, TSeqCollection::Add(), TInterpreter::DataMemberInfo_Delete(), TInterpreter::DataMemberInfo_Factory(), TInterpreter::DataMemberInfo_IsValid(), TInterpreter::DataMemberInfo_Name(), TInterpreter::DataMemberInfo_Next(), fpGlobals, gCint, i, j, and t.

Referenced by G__G__Rint_125_0_8(), Hook(), MakeClassFromVarName(), and RehashGlobals().

const TSeqCollection * TTabCom::GetListOfPragmas (  ) 

Definition at line 683 of file TTabCom.cxx.

References TSeqCollection::Add(), and fpPragmas.

Referenced by G__G__Rint_125_0_9(), Hook(), and RehashPragmas().

const TSeqCollection * TTabCom::GetListOfSysIncFiles (  ) 

Definition at line 713 of file TTabCom.cxx.

References fpSysIncFiles, GetSysIncludePath(), and NewListOfFilesInPath().

Referenced by G__G__Rint_125_0_10(), Hook(), and RehashSysIncFiles().

const TSeqCollection * TTabCom::GetListOfUsers (  ) 

Definition at line 724 of file TTabCom.cxx.

References TSeqCollection::Add(), fpUsers, and TString::ReadToDelim().

Referenced by G__G__Rint_125_0_11(), Hook(), and RehashUsers().

void TTabCom::ClearClasses (  ) 

Definition at line 222 of file TTabCom.cxx.

References TCollection::Delete(), fpClasses, and fpNamespaces.

Referenced by ClearAll(), G__G__Rint_125_0_12(), and RehashClasses().

void TTabCom::ClearCppDirectives (  ) 

Definition at line 242 of file TTabCom.cxx.

References TCollection::Delete(), and fpDirectives.

Referenced by ClearAll(), G__G__Rint_125_0_13(), and RehashCppDirectives().

void TTabCom::ClearEnvVars (  ) 

Definition at line 254 of file TTabCom.cxx.

References TCollection::Delete(), and fpEnvVars.

Referenced by ClearAll(), G__G__Rint_125_0_14(), and RehashEnvVars().

void TTabCom::ClearFiles (  ) 

Definition at line 265 of file TTabCom.cxx.

References TCollection::Delete(), and fpFiles.

Referenced by ClearAll(), G__G__Rint_125_0_15(), GetListOfFilesInPath(), and RehashFiles().

void TTabCom::ClearGlobalFunctions (  ) 

Definition at line 276 of file TTabCom.cxx.

References TCollection::Delete(), and fpGlobalFuncs.

Referenced by ClearAll(), G__G__Rint_125_0_16(), and RehashGlobalFunctions().

void TTabCom::ClearGlobals (  ) 

Definition at line 287 of file TTabCom.cxx.

References TCollection::Delete(), and fpGlobals.

Referenced by ClearAll(), G__G__Rint_125_0_17(), and RehashGlobals().

void TTabCom::ClearPragmas (  ) 

Definition at line 298 of file TTabCom.cxx.

References TCollection::Delete(), and fpPragmas.

Referenced by ClearAll(), G__G__Rint_125_0_18(), and RehashPragmas().

void TTabCom::ClearSysIncFiles (  ) 

Definition at line 309 of file TTabCom.cxx.

References TCollection::Delete(), and fpSysIncFiles.

Referenced by G__G__Rint_125_0_19(), RehashSysIncFiles(), and ~TTabCom().

void TTabCom::ClearUsers (  ) 

Definition at line 320 of file TTabCom.cxx.

References TCollection::Delete(), and fpUsers.

Referenced by G__G__Rint_125_0_20(), RehashUsers(), and ~TTabCom().

void TTabCom::ClearAll (  ) 

Definition at line 331 of file TTabCom.cxx.

References ClearClasses(), ClearCppDirectives(), ClearEnvVars(), ClearFiles(), ClearGlobalFunctions(), ClearGlobals(), and ClearPragmas().

Referenced by G__G__Rint_125_0_21(), TRint::HandleTermInput(), and ~TTabCom().

void TTabCom::RehashClasses (  ) 

Definition at line 348 of file TTabCom.cxx.

References ClearClasses(), and GetListOfClasses().

Referenced by G__G__Rint_125_0_22(), Hook(), and RehashAll().

void TTabCom::RehashCppDirectives (  ) 

Definition at line 356 of file TTabCom.cxx.

References ClearCppDirectives(), and GetListOfCppDirectives().

Referenced by G__G__Rint_125_0_23(), and RehashAll().

void TTabCom::RehashEnvVars (  ) 

Definition at line 364 of file TTabCom.cxx.

References ClearEnvVars(), and GetListOfEnvVars().

Referenced by G__G__Rint_125_0_24(), and RehashAll().

void TTabCom::RehashFiles (  ) 

Definition at line 372 of file TTabCom.cxx.

References ClearFiles().

Referenced by G__G__Rint_125_0_25(), and RehashAll().

void TTabCom::RehashGlobalFunctions (  ) 

Definition at line 379 of file TTabCom.cxx.

References ClearGlobalFunctions(), and GetListOfGlobalFunctions().

Referenced by G__G__Rint_125_0_26(), and RehashAll().

void TTabCom::RehashGlobals (  ) 

Definition at line 387 of file TTabCom.cxx.

References ClearGlobals(), and GetListOfGlobals().

Referenced by G__G__Rint_125_0_27(), and RehashAll().

void TTabCom::RehashPragmas (  ) 

Definition at line 395 of file TTabCom.cxx.

References ClearPragmas(), and GetListOfPragmas().

Referenced by G__G__Rint_125_0_28(), and RehashAll().

void TTabCom::RehashSysIncFiles (  ) 

Definition at line 403 of file TTabCom.cxx.

References ClearSysIncFiles(), and GetListOfSysIncFiles().

Referenced by G__G__Rint_125_0_29().

void TTabCom::RehashUsers (  ) 

Definition at line 411 of file TTabCom.cxx.

References ClearUsers(), and GetListOfUsers().

Referenced by G__G__Rint_125_0_30().

void TTabCom::RehashAll (  ) 

Definition at line 419 of file TTabCom.cxx.

References RehashClasses(), RehashCppDirectives(), RehashEnvVars(), RehashFiles(), RehashGlobalFunctions(), RehashGlobals(), and RehashPragmas().

Referenced by G__G__Rint_125_0_31().

Char_t TTabCom::AllAgreeOnChar ( int  i,
const TSeqCollection pList,
Int_t nGoodStrings 
) [static]

Definition at line 757 of file TTabCom.cxx.

References ExcludedByFignore(), TObject::GetName(), kFALSE, kTRUE, TIter::Reset(), and s.

Referenced by Complete(), G__G__Rint_125_0_32(), and G__setup_memfuncTTabCom().

void TTabCom::AppendListOfFilesInDirectory ( const char  dirName[],
TSeqCollection pList 
) [static]

Definition at line 828 of file TTabCom.cxx.

References TSeqCollection::Add(), dir(), TSystem::FreeDirectory(), TSystem::GetDirEntry(), gSystem, TSystem::OpenDirectory(), and TString::Prepend().

Referenced by G__G__Rint_125_0_33(), G__setup_memfuncTTabCom(), and NewListOfFilesInPath().

TString TTabCom::DetermineClass ( const char  varName[]  )  [static]

Definition at line 877 of file TTabCom.cxx.

References c, cleanup(), TString::Data(), Error, flush, gROOT, gSystem, IfDebug, TROOT::ProcessLineSync(), type, and TSystem::Unlink().

Referenced by G__G__Rint_125_0_34(), G__setup_memfuncTTabCom(), and MakeClassFromVarName().

Bool_t TTabCom::ExcludedByFignore ( TString  s  )  [static]

Definition at line 968 of file TTabCom.cxx.

References gEnv, TEnv::GetValue(), TString::IsNull(), kDelim, kFALSE, kTRUE, TString::ReadToDelim(), and s.

Referenced by AllAgreeOnChar(), Complete(), G__G__Rint_125_0_35(), and G__setup_memfuncTTabCom().

TString TTabCom::GetSysIncludePath (  )  [static]

Definition at line 1002 of file TTabCom.cxx.

References TString::Append(), TInterpreter::DisplayIncludePath(), Error, fclose(), fopen, gCint, gSystem, TString::Length(), and TSystem::Unlink().

Referenced by G__G__Rint_125_0_36(), G__setup_memfuncTTabCom(), GetListOfSysIncFiles(), and Hook().

Bool_t TTabCom::IsDirectory ( const char  fileName[]  )  [static]

Definition at line 1106 of file TTabCom.cxx.

References TSystem::GetPathInfo(), gSystem, R_ISDIR(), and stat.

Referenced by Complete(), CopyMatch(), G__G__Rint_125_0_37(), and G__setup_memfuncTTabCom().

TSeqCollection * TTabCom::NewListOfFilesInPath ( const char  path[]  )  [static]

Definition at line 1121 of file TTabCom.cxx.

References AppendListOfFilesInDirectory(), IfDebug, and kDelim.

Referenced by G__G__Rint_125_0_38(), G__setup_memfuncTTabCom(), GetListOfFilesInPath(), and GetListOfSysIncFiles().

Bool_t TTabCom::PathIsSpecifiedInFileName ( const TString fileName  )  [static]

Definition at line 1160 of file TTabCom.cxx.

References TString::BeginsWith(), c1, and TString::Length().

Referenced by DeterminePath(), G__G__Rint_125_0_39(), G__setup_memfuncTTabCom(), and Hook().

void TTabCom::NoMsg ( Int_t  errorLevel  )  [static]

Definition at line 1178 of file TTabCom.cxx.

References gErrorIgnoreLevel.

Referenced by G__G__Rint_125_0_40(), G__setup_memfuncTTabCom(), MakeClassFromClassName(), and TryMakeClassFromClassName().

TTabCom& TTabCom::operator= ( const TTabCom  )  [private]

Int_t TTabCom::Complete ( const TRegexp re,
const TSeqCollection pListOfCandidates,
const char  appendage[],
TString::ECaseCompare  cmp = TString::kExact 
) [private]

Definition at line 1243 of file TTabCom.cxx.

References TList::Add(), AllAgreeOnChar(), TString::Append(), TSystem::Beep(), TString::BeginsWith(), BUF_SIZE, TObject::ClassName(), CopyMatch(), TString::Data(), Error, ExcludedByFignore(), fBuf, TCollection::FindObject(), fpLoc, TObject::GetName(), TFunction::GetNargs(), gSystem, i, IfDebug, IsDirectory(), TString::kExact, TString::kIgnoreCase, l, TString::Length(), match(), s, s1, s2, TCollection::SetOwner(), and start.

Referenced by Hook().

void TTabCom::CopyMatch ( char  dest[],
const char  localName[],
const char  appendage[] = 0,
const char  fullName[] = 0 
) const [private]

Definition at line 1490 of file TTabCom.cxx.

References IfDebug, IsDirectory(), and strcpy().

Referenced by Complete().

TTabCom::EContext_t TTabCom::DetermineContext (  )  const [private]

Definition at line 1542 of file TTabCom.cxx.

References fBuf, fPat, fpLoc, fRegExp, IfDebug, kNUM_PAT, kUNKNOWN_CONTEXT, and Matchs().

Referenced by Hook().

TString TTabCom::DeterminePath ( const TString fileName,
const char  defaultPath[] 
) const [private]

Definition at line 1566 of file TTabCom.cxx.

References TString::Contains(), TSystem::DirName(), TSystem::ExpandPathName(), ExtendPath(), gSystem, IfDebug, TString::Length(), and PathIsSpecifiedInFileName().

Referenced by Hook().

TString TTabCom::ExtendPath ( const char  originalPath[],
TString  newBase 
) const [private]

Definition at line 1606 of file TTabCom.cxx.

References TString::Append(), TString::BeginsWith(), dir(), TString::EndsWith(), kDelim, TString::kLeading, TString::kTrailing, TString::Remove(), str, and TString::Strip().

Referenced by DeterminePath().

void TTabCom::InitPatterns (  )  [private]

Definition at line 2265 of file TTabCom.cxx.

References kCINT_cpp, kCINT_Edit, kCINT_EXec, kCINT_Exec, kCINT_includePWD, kCINT_includeSYS, kCINT_Load, kCINT_pragma, kCINT_stderr, kCINT_stdin, kCINT_stdout, kCXX_ConstructorProto, kCXX_DirectMember, kCXX_DirectProto, kCXX_Global, kCXX_GlobalProto, kCXX_IndirectMember, kCXX_IndirectProto, kCXX_NewProto, kCXX_ScopeMember, kCXX_ScopeProto, kROOT_Load, kSYS_EnvVar, kSYS_FileName, kSYS_UserName, and SetPattern().

Referenced by TTabCom().

TClass * TTabCom::MakeClassFromClassName ( const char  className[]  )  const [private]

Definition at line 2327 of file TTabCom.cxx.

References dblquote, TClass::GetListOfAllPublicDataMembers(), TClass::GetListOfAllPublicMethods(), TCollection::GetSize(), kWarning, and NoMsg().

Referenced by Hook().

TClass * TTabCom::TryMakeClassFromClassName ( const char  className[]  )  const [private]

Definition at line 2356 of file TTabCom.cxx.

References TClass::GetListOfAllPublicDataMembers(), TClass::GetListOfAllPublicMethods(), TCollection::GetSize(), kWarning, and NoMsg().

Referenced by Hook().

TClass * TTabCom::MakeClassFromVarName ( const char  varName[],
EContext_t context,
int  iter = 0 
) [private]

Definition at line 2377 of file TTabCom.cxx.

References TString::Chop(), TCollection::Contains(), TString::Data(), dblquote, DetermineClass(), fBuf, TROOT::FindObject(), fLastIter, fpLoc, fVarIsPointer, TClass::GetListOfAllPublicDataMembers(), TClass::GetListOfAllPublicMethods(), TClass::GetListOfDataMembers(), GetListOfGlobals(), gROOT, i, TString::IsNull(), kCXX_DirectMember, kCXX_DirectProto, kCXX_IndirectMember, kCXX_IndirectProto, kFALSE, kTRUE, len, TString::Length(), level, and ParseReverse().

Referenced by Hook().

void TTabCom::SetPattern ( EContext_t  handle,
const char  regexp[] 
) [private]

Definition at line 2671 of file TTabCom.cxx.

References fPat, fRegExp, int, kNUM_PAT, Makepat(), and MAX_LEN_PAT.

Referenced by InitPatterns().

int TTabCom::ParseReverse ( const char *  var_str,
int  start 
) [private]

Definition at line 2690 of file TTabCom.cxx.

Referenced by MakeClassFromVarName().

Int_t TTabCom::Hook ( char *  buf,
int *  pLoc 
)

const TSeqCollection* TTabCom::GetListOfClasses (  ) 

const TSeqCollection* TTabCom::GetListOfCppDirectives (  ) 

const TSeqCollection* TTabCom::GetListOfFilesInPath ( const char  path[]  ) 

const TSeqCollection* TTabCom::GetListOfEnvVars (  ) 

const TSeqCollection* TTabCom::GetListOfGlobalFunctions (  ) 

const TSeqCollection* TTabCom::GetListOfGlobals (  ) 

const TSeqCollection* TTabCom::GetListOfPragmas (  ) 

const TSeqCollection* TTabCom::GetListOfSysIncFiles (  ) 

const TSeqCollection* TTabCom::GetListOfUsers (  ) 

void TTabCom::ClearClasses (  ) 

void TTabCom::ClearCppDirectives (  ) 

void TTabCom::ClearEnvVars (  ) 

void TTabCom::ClearFiles (  ) 

void TTabCom::ClearGlobalFunctions (  ) 

void TTabCom::ClearGlobals (  ) 

void TTabCom::ClearPragmas (  ) 

void TTabCom::ClearSysIncFiles (  ) 

void TTabCom::ClearUsers (  ) 

void TTabCom::ClearAll (  ) 

void TTabCom::RehashClasses (  ) 

void TTabCom::RehashCppDirectives (  ) 

void TTabCom::RehashEnvVars (  ) 

void TTabCom::RehashFiles (  ) 

void TTabCom::RehashGlobalFunctions (  ) 

void TTabCom::RehashGlobals (  ) 

void TTabCom::RehashPragmas (  ) 

void TTabCom::RehashSysIncFiles (  ) 

void TTabCom::RehashUsers (  ) 

void TTabCom::RehashAll (  ) 

static Char_t TTabCom::AllAgreeOnChar ( int  i,
const TSeqCollection pList,
Int_t nGoodStrings 
) [static]

static void TTabCom::AppendListOfFilesInDirectory ( const char  dirName[],
TSeqCollection pList 
) [static]

static TString TTabCom::DetermineClass ( const char  varName[]  )  [static]

static Bool_t TTabCom::ExcludedByFignore ( TString  s  )  [static]

static TString TTabCom::GetSysIncludePath (  )  [static]

static Bool_t TTabCom::IsDirectory ( const char  fileName[]  )  [static]

static TSeqCollection* TTabCom::NewListOfFilesInPath ( const char  path[]  )  [static]

static Bool_t TTabCom::PathIsSpecifiedInFileName ( const TString fileName  )  [static]

static void TTabCom::NoMsg ( Int_t  errorLevel  )  [static]

TTabCom& TTabCom::operator= ( const TTabCom  )  [private]

Int_t TTabCom::Complete ( const TRegexp re,
const TSeqCollection pListOfCandidates,
const char  appendage[],
TString::ECaseCompare  cmp = TString::kExact 
) [private]

void TTabCom::CopyMatch ( char  dest[],
const char  localName[],
const char  appendage[] = 0,
const char  fullName[] = 0 
) const [private]

EContext_t TTabCom::DetermineContext (  )  const [private]

TString TTabCom::DeterminePath ( const TString fileName,
const char  defaultPath[] 
) const [private]

TString TTabCom::ExtendPath ( const char  originalPath[],
TString  newBase 
) const [private]

void TTabCom::InitPatterns (  )  [private]

TClass* TTabCom::MakeClassFromClassName ( const char  className[]  )  const [private]

TClass* TTabCom::TryMakeClassFromClassName ( const char  className[]  )  const [private]

TClass* TTabCom::MakeClassFromVarName ( const char  varName[],
EContext_t context,
int  iter = 0 
) [private]

void TTabCom::SetPattern ( EContext_t  handle,
const char  regexp[] 
) [private]

int TTabCom::ParseReverse ( const char *  var_str,
int  start 
) [private]


Member Data Documentation

TSeqCollection* TTabCom::fpClasses [private]

Definition at line 212 of file TTabCom.h.

Referenced by ClearClasses(), GetListOfClasses(), and TTabCom().

TSeqCollection* TTabCom::fpNamespaces [private]

Definition at line 213 of file TTabCom.h.

Referenced by ClearClasses(), GetListOfClasses(), Hook(), and TTabCom().

TSeqCollection* TTabCom::fpDirectives [private]

Definition at line 214 of file TTabCom.h.

Referenced by ClearCppDirectives(), GetListOfCppDirectives(), and TTabCom().

TSeqCollection* TTabCom::fpEnvVars [private]

Definition at line 215 of file TTabCom.h.

Referenced by ClearEnvVars(), GetListOfEnvVars(), and TTabCom().

TSeqCollection* TTabCom::fpFiles [private]

Definition at line 216 of file TTabCom.h.

Referenced by ClearFiles(), GetListOfFilesInPath(), and TTabCom().

TSeqCollection* TTabCom::fpGlobals [private]

Definition at line 217 of file TTabCom.h.

Referenced by ClearGlobals(), GetListOfGlobals(), and TTabCom().

TSeqCollection* TTabCom::fpGlobalFuncs [private]

Definition at line 218 of file TTabCom.h.

Referenced by ClearGlobalFunctions(), GetListOfGlobalFunctions(), and TTabCom().

TSeqCollection* TTabCom::fpPragmas [private]

Definition at line 219 of file TTabCom.h.

Referenced by ClearPragmas(), GetListOfPragmas(), and TTabCom().

TSeqCollection* TTabCom::fpSysIncFiles [private]

Definition at line 220 of file TTabCom.h.

Referenced by ClearSysIncFiles(), GetListOfSysIncFiles(), and TTabCom().

TSeqCollection* TTabCom::fpUsers [private]

Definition at line 221 of file TTabCom.h.

Referenced by ClearUsers(), GetListOfUsers(), and TTabCom().

char* TTabCom::fBuf [private]

Definition at line 223 of file TTabCom.h.

Referenced by Complete(), DetermineContext(), Hook(), MakeClassFromVarName(), and TTabCom().

int* TTabCom::fpLoc [private]

Definition at line 224 of file TTabCom.h.

Referenced by Complete(), DetermineContext(), Hook(), MakeClassFromVarName(), and TTabCom().

Pattern_t TTabCom::fPat [private]

Definition at line 226 of file TTabCom.h.

Referenced by DetermineContext(), and SetPattern().

const char* TTabCom::fRegExp[kNUM_PAT] [private]

Definition at line 227 of file TTabCom.h.

Referenced by DetermineContext(), Hook(), and SetPattern().

Bool_t TTabCom::fVarIsPointer [private]

Definition at line 228 of file TTabCom.h.

Referenced by MakeClassFromVarName(), and TTabCom().

Int_t TTabCom::fLastIter [private]

Definition at line 229 of file TTabCom.h.

Referenced by Hook(), MakeClassFromVarName(), and TTabCom().

TSeqCollection* TTabCom::fpClasses [private]

Definition at line 212 of file TTabCom.h.

TSeqCollection* TTabCom::fpNamespaces [private]

Definition at line 213 of file TTabCom.h.

TSeqCollection* TTabCom::fpDirectives [private]

Definition at line 214 of file TTabCom.h.

TSeqCollection* TTabCom::fpEnvVars [private]

Definition at line 215 of file TTabCom.h.

TSeqCollection* TTabCom::fpFiles [private]

Definition at line 216 of file TTabCom.h.

TSeqCollection* TTabCom::fpGlobals [private]

Definition at line 217 of file TTabCom.h.

TSeqCollection* TTabCom::fpGlobalFuncs [private]

Definition at line 218 of file TTabCom.h.

TSeqCollection* TTabCom::fpPragmas [private]

Definition at line 219 of file TTabCom.h.

TSeqCollection* TTabCom::fpSysIncFiles [private]

Definition at line 220 of file TTabCom.h.

TSeqCollection* TTabCom::fpUsers [private]

Definition at line 221 of file TTabCom.h.

char* TTabCom::fBuf [private]

Definition at line 223 of file TTabCom.h.

int* TTabCom::fpLoc [private]

Definition at line 224 of file TTabCom.h.

const char* TTabCom::fRegExp[kNUM_PAT] [private]

Definition at line 227 of file TTabCom.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:47:43 2011 for ROOT_528-00b_version by  doxygen 1.5.1