16 #include <TClassTable.h>
17 #include <TDataMember.h>
27 TClassTable::GetDict(class_name.c_str())()->GetListOfDataMembers();
28 std::cout << std::setw(40) <<
"Data member name"
29 <<
"\tOffset\tSize\tType" << std::endl;
30 for (
auto el : *dm_list) {
31 auto* dm =
static_cast<TDataMember*
>(el);
32 std::cout << std::setw(40) << dm->GetName() <<
"\t" << dm->GetOffset()
33 <<
"\t" << dm->GetUnitSize() <<
"\t" << dm->GetFullTypeName()