45 if (
auto clInfo = cl->GetClassInfo()) {
68 std::string
printerCode =
"namespace ROOT::Internal::Pythonizations::ValuePrinters"
70 " template<class T, ULong64_t> std::string ValuePrinter(void *obj)"
72 " return cling::printValue((T *)obj);"
92 std::string
printFuncName =
"ROOT::Internal::Pythonizations::ValuePrinters::ValuePrinter<" + className +
", " +
static ULong64_t GetClassID(const char *clName)
PyObject * ClingPrintValue(PyObject *self, PyObject *)
unsigned long long ULong64_t
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
bool AddToClass(PyObject *pyclass, const char *label, PyCFunction cfunc, int flags=METH_VARARGS)
CPYCPPYY_EXTERN void * Instance_AsVoidPtr(PyObject *pyobject)
RPY_EXPORTED std::string GetScopedFinalName(TCppType_t type)
PyObject * AddPrettyPrintingPyz(PyObject *self, PyObject *args)
Add pretty printing pythonization.