90 exec +=
"(" +
p +
")";
91 retval =
gROOT->ProcessLine(exec, error);
121 gROOT->GetApplication()->ProcessLine(
"gROOT->Reset()");
winID h TVirtualViewer3D TVirtualGLPainter p
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
R__EXTERN TSystem * gSystem
Sub-class of TMacro, overriding Exec to unload the previous version and cleanup after the execution.
void ResetRoot()
Call gROOT->Reset() via interpreter.
virtual Longptr_t Exec(const char *params="0", Int_t *error=nullptr)
Execute the macro.
TEveMacro()
Default constructor.
Class supporting a collection of lines with C++ code.
virtual Int_t ReadFile(const char *filename)
Read lines in filename in this macro.
void SaveSource(FILE *fp)
Save macro source in file pointer fp.
const char * GetName() const override
Returns name of object.
Wrapper for PCRE library (Perl Compatible Regular Expressions).
Int_t Match(const TString &s, UInt_t start=0)
Runs a match on s against the regex 'this' was created with.
const char * Data() const
virtual int Unlink(const char *name)
Unlink, i.e.