17 #include "GaudiKernel/MsgStream.h"
18 #include "GaudiKernel/System.h"
37 std::string clname = System::typeinfoName (ti);
39 msg << MSG::ERROR <<
"Cannot find full dictionary information for class " <<
41 TClass*
cls =
static_cast<TClass*
>(typ);
43 msg << MSG::ERROR <<
"No TClass; trying to retrieve again." <<
endmsg;
44 cls = TClass::GetClass (ti);
46 msg << MSG::ERROR <<
"Couldn't retrieve via type_info; try by name." <<
endmsg;
47 cls = TClass::GetClass (clname.c_str());
51 msg << MSG::ERROR <<
"Got TClass " <<
cls->GetName() <<
" " <<
52 cls->HasInterpreterInfoInMemory() <<
" " <<
53 cls->HasInterpreterInfo() <<
" " <<
54 cls->GetState() <<
" " <<
55 cls->HasDictionary() <<
" " <<
56 cls->IsLoaded() <<
" " <<
59 TClass* cls2 = TClass::GetClass (ti);
61 msg << MSG::ERROR <<
"Got TClass by ti " << cls2->GetName() <<
" " <<
62 (
cls == cls2) <<
" " <<
63 cls2->HasInterpreterInfoInMemory() <<
" " <<
64 cls2->HasInterpreterInfo() <<
" " <<
65 cls2->GetState() <<
" " <<
66 cls2->HasDictionary() <<
" " <<
67 cls2->IsLoaded() <<
" " <<
68 cls2->IsForeign() <<
endmsg;
71 msg << MSG::ERROR <<
"Could not re-get class by ti" <<
endmsg;
74 cls2 = TClass::GetClass (clname.c_str());
76 msg << MSG::ERROR <<
"Got TClass by name " << cls2->GetName() <<
" " <<
77 (
cls == cls2) <<
" " <<
78 cls2->HasInterpreterInfoInMemory() <<
" " <<
79 cls2->HasInterpreterInfo() <<
" " <<
80 cls2->GetState() <<
" " <<
81 cls2->HasDictionary() <<
" " <<
82 cls2->IsLoaded() <<
" " <<
83 cls2->IsForeign() <<
endmsg;
86 msg << MSG::ERROR <<
"Could not re-get class by name" <<
endmsg;
91 cls2 = TClass::GetClass (ti);
93 msg << MSG::ERROR <<
"Got TClass by ti " << cls2->GetName() <<
" " <<
94 (
cls == cls2) <<
" " <<
95 cls2->HasInterpreterInfoInMemory() <<
" " <<
96 cls2->HasInterpreterInfo() <<
" " <<
97 cls2->GetState() <<
" " <<
98 cls2->HasDictionary() <<
" " <<
99 cls2->IsLoaded() <<
" " <<
100 cls2->IsForeign() <<
endmsg;
103 msg << MSG::ERROR <<
"Could not re-get class by ti" <<
endmsg;
106 cls2 = TClass::GetClass (clname.c_str());
108 msg << MSG::ERROR <<
"Got TClass by name " << cls2->GetName() <<
" " <<
109 (
cls == cls2) <<
" " <<
110 cls2->HasInterpreterInfoInMemory() <<
" " <<
111 cls2->HasInterpreterInfo() <<
" " <<
112 cls2->GetState() <<
" " <<
113 cls2->HasDictionary() <<
" " <<
114 cls2->IsLoaded() <<
" " <<
115 cls2->IsForeign() <<
endmsg;
118 msg << MSG::ERROR <<
"Could not re-get class by name" <<
endmsg;