Skip to content

Commit

Permalink
meta: Add newtype info to TStreamerSTL::ls
Browse files Browse the repository at this point in the history
  • Loading branch information
pcanal committed Oct 4, 2024
1 parent cd0fa99 commit 201f472
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions core/meta/src/TStreamerElement.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,12 @@ void TStreamerElement::ls(Option_t *) const
sequenceType.Prepend(" (");
sequenceType += ") ";
}
printf(" %-14s %-15s offset=%3d type=%2d %s%-20s\n",
temp.Data(),GetFullName(),fOffset,fType,sequenceType.Data(),
GetTitle());
printf(" %-14s %-15s offset=%3d type=%2d",
temp.Data(),GetFullName(),fOffset,fType);
if (fType != fNewType && fNewType != TVirtualStreamerInfo::kUnset)
printf(" newtype=%2d", fNewType);
printf(" %s%-20s\n",
sequenceType.Data(), GetTitle());
}

////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -1883,9 +1886,12 @@ void TStreamerSTL::ls(Option_t *) const
sequenceType.Prepend(" (");
sequenceType += ") ";
}
printf(" %-14s %-15s offset=%3d type=%2d %s,stl=%d, ctype=%d, %-20s\n",
GetTypeName(),name.Data(),fOffset,fType,sequenceType.Data(),
fSTLtype,fCtype,GetTitle());
printf(" %-14s %-15s offset=%3d type=%2d",
GetTypeName(), name.Data(), fOffset, fType);
if (fType != fNewType && fNewType != TVirtualStreamerInfo::kUnset)
printf(" newtype=%2d", fNewType);
printf(" stl=%d ctype=%d %s%-20s\n",
fSTLtype, fCtype, sequenceType.Data(), GetTitle());
}

////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 201f472

Please sign in to comment.