00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "TGWin32ProxyDefs.h"
00025 #include "TGWin32InterpreterProxy.h"
00026 #include "TROOT.h"
00027 #include "TGWin32.h"
00028
00029
00030
00031
00032 TInterpreter *TGWin32InterpreterProxy::RealObject()
00033 {
00034
00035
00036 return gROOT->GetInterpreter();
00037 }
00038
00039 RETURN_PROXY_OBJECT(Interpreter)
00040 VOID_METHOD_ARG1(Interpreter,AddIncludePath,const char*,path,1)
00041 RETURN_METHOD_ARG1(Interpreter,Int_t,AutoLoad,const char *,classname)
00042 VOID_METHOD_ARG0(Interpreter,ClearFileBusy,1)
00043 VOID_METHOD_ARG0(Interpreter,ClearStack,1)
00044 VOID_METHOD_ARG0(Interpreter,EndOfLineAction,1)
00045 VOID_METHOD_ARG0(Interpreter,EnableAutoLoading,1)
00046 RETURN_METHOD_ARG0(Interpreter,Int_t,InitializeDictionaries)
00047 RETURN_METHOD_ARG3(Interpreter,Int_t,GenerateDictionary,const char*,classes,const char*,headers,const char*,options);
00048 RETURN_METHOD_ARG0(Interpreter,char*,GetPrompt)
00049 RETURN_METHOD_ARG0(Interpreter,const char*,GetSharedLibs)
00050 RETURN_METHOD_ARG0(Interpreter,const char*,GetIncludePath)
00051 RETURN_METHOD_ARG2(Interpreter,Int_t,Load,const char*,filenam,Bool_t,system)
00052 RETURN_METHOD_ARG1(Interpreter,Int_t,LoadLibraryMap,const char*,rootmapfile)
00053 RETURN_METHOD_ARG0(Interpreter,Int_t,RescanLibraryMap)
00054 RETURN_METHOD_ARG0(Interpreter,Int_t,ReloadAllSharedLibraryMaps)
00055 RETURN_METHOD_ARG0(Interpreter,Int_t,UnloadAllSharedLibraryMaps)
00056 RETURN_METHOD_ARG1(Interpreter,Int_t,UnloadLibraryMap,const char*,library)
00057 VOID_METHOD_ARG2(Interpreter,LoadMacro,const char*,filename,TInterpreter::EErrorCode*,error,1)
00058 RETURN_METHOD_ARG2(Interpreter,Long_t,ProcessLine,const char*,line,TInterpreter::EErrorCode*,error)
00059 RETURN_METHOD_ARG2(Interpreter,Long_t,ProcessLineSynch,const char*,line,TInterpreter::EErrorCode*,error)
00060 VOID_METHOD_ARG0(Interpreter,PrintIntro,1)
00061 typedef char* (*GetlineFunc_t)(const char* prompt);
00062 typedef void (*HistaddFunc_t)(char* line);
00063 VOID_METHOD_ARG2(Interpreter,SetGetline,GetlineFunc_t, getlineFunc,\
00064 HistaddFunc_t, histaddFunc, 1)
00065 VOID_METHOD_ARG0(Interpreter,Reset,1)
00066 VOID_METHOD_ARG0(Interpreter,ResetAll,1)
00067 VOID_METHOD_ARG0(Interpreter,ResetGlobals,1)
00068 VOID_METHOD_ARG0(Interpreter,RewindDictionary,1)
00069 RETURN_METHOD_ARG1(Interpreter,Int_t,DeleteGlobal,void*,obj)
00070 VOID_METHOD_ARG0(Interpreter,SaveContext,1)
00071 VOID_METHOD_ARG0(Interpreter,SaveGlobalsContext,1)
00072 VOID_METHOD_ARG0_LOCK(Interpreter,UpdateListOfGlobals)
00073 VOID_METHOD_ARG0_LOCK(Interpreter,UpdateListOfGlobalFunctions)
00074 VOID_METHOD_ARG0_LOCK(Interpreter,UpdateListOfTypes)
00075 VOID_METHOD_ARG2_LOCK(Interpreter,SetClassInfo,TClass*,cl,Bool_t,reload)
00076 RETURN_METHOD_ARG2(Interpreter,Bool_t,CheckClassInfo,const char*,name,Bool_t,autoload)
00077 RETURN_METHOD_ARG2(Interpreter,Long_t,Calc,const char*,line,TInterpreter::EErrorCode*,error)
00078 VOID_METHOD_ARG1_LOCK(Interpreter,CreateListOfBaseClasses,TClass*,cl)
00079 VOID_METHOD_ARG1_LOCK(Interpreter,CreateListOfDataMembers,TClass*,cl)
00080 VOID_METHOD_ARG1_LOCK(Interpreter,CreateListOfMethods,TClass*,cl)
00081 VOID_METHOD_ARG1_LOCK(Interpreter,CreateListOfMethodArgs,TFunction*,m)
00082 VOID_METHOD_ARG1_LOCK(Interpreter,UpdateListOfMethods,TClass*,cl)
00083 RETURN_METHOD_ARG3(Interpreter,TString,GetMangledName,TClass*,cl,const char*,method,const char*,params)
00084 RETURN_METHOD_ARG3(Interpreter,TString,GetMangledNameWithPrototype,TClass*,cl,const char*,method,const char*,proto)
00085 RETURN_METHOD_ARG3(Interpreter,void*,GetInterfaceMethod,TClass*,cl,const char*,method,const char*,params)
00086 RETURN_METHOD_ARG3(Interpreter,void*,GetInterfaceMethodWithPrototype,TClass*,cl,const char*,method,const char*,proto)
00087 RETURN_METHOD_ARG1(Interpreter,const char*,GetClassSharedLibs,const char*,s)
00088 RETURN_METHOD_ARG1(Interpreter,const char*,GetSharedLibDeps,const char*,s)
00089 RETURN_METHOD_ARG2(Interpreter,const char*,GetInterpreterTypeName,const char*,s,Bool_t,full)
00090 VOID_METHOD_ARG3(Interpreter,Execute,const char*,function,const char*,params,int*,error,1)
00091 VOID_METHOD_ARG5(Interpreter,Execute,TObject*,obj,TClass*,cl,const char*,method,const char*,params,int*,error,1)
00092 VOID_METHOD_ARG5(Interpreter,Execute,TObject*,object,TClass*,cl,TMethod*,method,TObjArray*,params,int*,error,1)
00093 RETURN_METHOD_ARG2(Interpreter,Long_t,ExecuteMacro,const char*,filename,TInterpreter::EErrorCode*,error)
00094 RETURN_METHOD_ARG1(Interpreter,Bool_t,SetErrorMessages,Bool_t,enable)
00095 VOID_METHOD_ARG1(Interpreter,SetProcessLineLock,Bool_t,lock,1)
00096 RETURN_METHOD_ARG1(Interpreter,const char*,TypeName,const char*,s)
00097