46 auto* proof =
static_cast<TGRSIProof*
>(TProof::Open(worker));
47 if(proof !=
nullptr) { proof->LoadLibsIntoProof(); }
57 const char* pPath = getenv(
"GRSISYS");
60 Exec(Form(R
"(gInterpreter->AddIncludePath("%s/include"))", pPath));
64 std::cout <<
DYELLOW <<
"Not loading any parser library, this might not work!" <<
RESET_COLOR << std::endl;
65 std::cout <<
"Loading library '" << pPath <<
"/lib/libGRSI.so'" << std::endl;
66 Exec(Form(R
"(gSystem->Load("%s/lib/libGRSI.so");)", pPath));
68 std::cout <<
"Loading parser library '" << library <<
"'" << std::endl;
69 Exec(Form(R
"(gSystem->Load("%s");)", library.c_str()));
static TGRSIOptions * Get(int argc=0, char **argv=nullptr)
Do not use!
void ParserLibrary(std::string &library)
TGRSIProof(TGRSIProof &&) noexcept=delete
TGRSIProof(const TGRSIProof &)=delete
static TGRSIProof * Open(const char *worker="")
void Load(bool quiet=false)
if necessary loads shared object library and sets/initializes all other functions
static TParserLibrary * Get(bool verbose=false)
const char *const nulFileName