Dear ROOTers,
Is there “nice looking” way to load given namespaces in my macro? Lets say that I have MyLib that contains MyNamespace and MyClass. Now I have to use MyClass before calling namespace e.g.
MyClass *d = 0x0;
Int_t val = MyNamespace::Something();
I tried to call gSystem->Load(“MyClass”) but this it doesn’t help
_ROOT Version: 6.10/80 Platform: Not Provided Compiler: Not Provided
Hi,
actually is not an option because there is no MyLib.h file, I create “MyLib” from MyNamespace MyClass and few other classes. I tried to include “raw” MyNamespace.h but it gives me error
"IncrementalExecutor::executeFunction: symbol X unresolved while linking [cling interface function]!. C++filt says that this “X” points to method in my namespace.
However thanks to you I found better (still not perfect) solution - I can include header with something like: