TInterpreter


class description - source file - inheritance tree

class TInterpreter : public TNamed


    protected:
virtual void Execute(TMethod* method, TObjArray* params, int* error = 0) public:
virtual void ~TInterpreter() virtual void AddIncludePath(const char* path) 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 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 Int_t ExecuteMacro(const char* filename, TInterpreter::EErrorCode* error = 0) virtual Int_t GetExitCode() const virtual const char* GetIncludePath() const virtual void* GetInterfaceMethod(TClass* cl, char* method, char* params) virtual void* GetInterfaceMethodWithPrototype(TClass* cl, char* method, char* proto) virtual Int_t GetMore() const virtual char* GetPrompt() virtual const char* GetSharedLibs() const virtual Int_t InitializeDictionaries() 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) virtual void PrintIntro() virtual Int_t ProcessLine(const char* line, TInterpreter::EErrorCode* error = 0) virtual Int_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()

Data Members


    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


See also

TCint

Class Description

                                                                      
 TInterpreter                                                         
                                                                      
 This class defines an abstract interface to a generic command line   
 interpreter.                                                         
                                                                      




Inline Functions


               void Execute(TMethod* method, TObjArray* params, int* error = 0)
               void AddIncludePath(const char* path)
               void ClearFileBusy()
               void ClearStack()
               void EndOfLineAction()
              Int_t GetExitCode() const
              Int_t GetMore() const
              char* GetPrompt()
        const char* GetSharedLibs() 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)
              Int_t ProcessLine(const char* line, TInterpreter::EErrorCode* error = 0)
              Int_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)
              void* GetInterfaceMethod(TClass* cl, char* method, char* params)
              void* GetInterfaceMethodWithPrototype(TClass* cl, char* method, 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)
              Int_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)
               void ~TInterpreter()


Author: Fons Rademakers 01/03/96
Last update: root/meta:$Name: $:$Id: TInterpreter.cxx,v 1.1.1.1 2000/05/16 17:00:43 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.