If you would like you object to be printed by the CINT command line, you simply need to have a function with the signature:int G__ateval(const MyClass &x);that call the proper printing routines.
This function can be either interpreted or compiled (with a dictionary ).
Hello, it appears that this functionality has disappeared from ROOT6? Is there a new way to print the ‘value’ of an object in Clang? Apologies in advance for my ignorance–I’ve been out of it for a while.
–thanks, Chris
Thanks for the tip. I tried adding the following in my interpreted/compiled code, but it didn’t change the default behavior. Any thoughts? --thanks, Chris