12#ifndef O2_TOBJECTWRAPPER_H
13#define O2_TOBJECTWRAPPER_H
32 std::unique_ptr<
char,
void (*)(
void*)>
res{abi::__cxa_demangle(
name,
nullptr,
nullptr, &status), std::free};
33 return (status == 0) ?
res.get() :
name;
47 auto& t =
typeid(*this);
48 std::string
message(
"Need dicionary for type ");
49 auto typestring = demangle(t.name());
52 auto hasdict = TClass::HasDictionarySelection(typestring.c_str());
54 throw std::runtime_error(
message);
~TObjectWrapper() override=default
GLuint const GLchar * name
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLuint GLsizei const GLchar * message
std::string demangle(const char *name)
utility function to demangle cxx type names
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...