library: libCore #include "TInterpreter.h" |
TInterpreter
class description - source file - inheritance tree (.pdf)
This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.
protected:
virtual void Execute(TMethod* method, TObjArray* params, int* error = 0)
public:
virtual ~TInterpreter()
virtual void AddIncludePath(const char* path)
virtual Int_t AutoLoad(const char* classname)
virtual Long_t Calc(const char* line, TInterpreter::EErrorCode* error = 0)
virtual Bool_t CheckClassInfo(const char* name)
static TClass* Class()
virtual void ClearFileBusy()
virtual void ClearStack()
virtual void CreateListOfBaseClasses(TClass* cl)
virtual void CreateListOfDataMembers(TClass* cl)
virtual void CreateListOfMethodArgs(TFunction* m)
virtual void CreateListOfMethods(TClass* cl)
virtual Int_t DeleteGlobal(void* obj)
virtual void EnableAutoLoading()
virtual void EndOfLineAction()
virtual void Execute(const char* function, const char* params, int* error = 0)
virtual void Execute(TObject* obj, TClass* cl, const char* method, const char* params, int* error = 0)
virtual void Execute(TObject* obj, TClass* cl, TMethod* method, TObjArray* params, int* error = 0)
virtual Long_t ExecuteMacro(const char* filename, TInterpreter::EErrorCode* error = 0)
virtual const char* GetClassSharedLibs(const char* cls) const
virtual Int_t GetExitCode() const
virtual const char* GetIncludePath() const
virtual void* GetInterfaceMethod(TClass* cl, const char* method, const char* params)
virtual void* GetInterfaceMethodWithPrototype(TClass* cl, const char* method, const char* proto)
virtual const char* GetInterpreterTypeName(const char* name, Bool_t full = kFALSE) const
virtual TString GetMangledName(TClass* cl, const char* method, const char* params)
virtual TString GetMangledNameWithPrototype(TClass* cl, const char* method, const char* proto)
virtual Int_t GetMore() const
virtual char* GetPrompt()
virtual const char* GetSharedLibDeps(const char* lib) const
virtual const char* GetSharedLibs() const
virtual Int_t InitializeDictionaries()
static TInterpreter*& Instance()
virtual TClass* IsA() const
virtual Bool_t IsErrorMessagesEnabled()
virtual Bool_t IsLoaded(const char* filename) const
virtual Int_t Load(const char* filenam, Bool_t system = kFALSE)
virtual void LoadMacro(const char* filename, TInterpreter::EErrorCode* error = 0)
TInterpreter& operator=(const TInterpreter&)
virtual void PrintIntro()
virtual Long_t ProcessLine(const char* line, TInterpreter::EErrorCode* error = 0)
virtual Long_t ProcessLineSynch(const char* line, TInterpreter::EErrorCode* error = 0)
virtual void Reset()
virtual void ResetAll()
virtual void ResetGlobals()
virtual void RewindDictionary()
virtual void SaveContext()
virtual void SaveGlobalsContext()
virtual void SetClassInfo(TClass* cl, Bool_t reload = kFALSE)
virtual Bool_t SetErrorMessages(Bool_t enable = kTRUE)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual const char* TypeName(const char* s) const
virtual void UpdateListOfGlobalFunctions()
virtual void UpdateListOfGlobals()
virtual void UpdateListOfTypes()
public:
static const TInterpreter::EErrorCode kNoError
static const TInterpreter::EErrorCode kRecoverable
static const TInterpreter::EErrorCode kDangerous
static const TInterpreter::EErrorCode kFatal
static const TInterpreter::EErrorCode kProcessing
TInterpreter
This class defines an abstract interface to a generic command line
interpreter.
TInterpreter*& Instance()
returns gInterpreter global
Inline Functions
void ~TInterpreter()
void Execute(TMethod* method, TObjArray* params, int* error = 0)
void AddIncludePath(const char* path)
Int_t AutoLoad(const char* classname)
void ClearFileBusy()
void ClearStack()
void EnableAutoLoading()
void EndOfLineAction()
Int_t GetExitCode() const
Int_t GetMore() const
char* GetPrompt()
const char* GetSharedLibs() const
const char* GetClassSharedLibs(const char* cls) const
const char* GetSharedLibDeps(const char* lib) const
const char* GetIncludePath() const
Int_t InitializeDictionaries()
Bool_t IsLoaded(const char* filename) const
Int_t Load(const char* filenam, Bool_t system = kFALSE)
void LoadMacro(const char* filename, TInterpreter::EErrorCode* error = 0)
Long_t ProcessLine(const char* line, TInterpreter::EErrorCode* error = 0)
Long_t ProcessLineSynch(const char* line, TInterpreter::EErrorCode* error = 0)
void PrintIntro()
void Reset()
void ResetAll()
void ResetGlobals()
void RewindDictionary()
Int_t DeleteGlobal(void* obj)
void SaveContext()
void SaveGlobalsContext()
void UpdateListOfGlobals()
void UpdateListOfGlobalFunctions()
void UpdateListOfTypes()
void SetClassInfo(TClass* cl, Bool_t reload = kFALSE)
Bool_t CheckClassInfo(const char* name)
Long_t Calc(const char* line, TInterpreter::EErrorCode* error = 0)
void CreateListOfBaseClasses(TClass* cl)
void CreateListOfDataMembers(TClass* cl)
void CreateListOfMethods(TClass* cl)
void CreateListOfMethodArgs(TFunction* m)
TString GetMangledName(TClass* cl, const char* method, const char* params)
TString GetMangledNameWithPrototype(TClass* cl, const char* method, const char* proto)
const char* GetInterpreterTypeName(const char* name, Bool_t full = kFALSE) const
void* GetInterfaceMethod(TClass* cl, const char* method, const char* params)
void* GetInterfaceMethodWithPrototype(TClass* cl, const char* method, const char* proto)
void Execute(const char* function, const char* params, int* error = 0)
void Execute(TObject* obj, TClass* cl, const char* method, const char* params, int* error = 0)
void Execute(TObject* obj, TClass* cl, TMethod* method, TObjArray* params, int* error = 0)
Long_t ExecuteMacro(const char* filename, TInterpreter::EErrorCode* error = 0)
Bool_t IsErrorMessagesEnabled()
Bool_t SetErrorMessages(Bool_t enable = kTRUE)
const char* TypeName(const char* s) const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TInterpreter& operator=(const TInterpreter&)
Author: Fons Rademakers 01/03/96
Last update: root/meta:$Name: $:$Id: TInterpreter.cxx,v 1.3 2003/12/12 15:23:28 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.