-
- Downloads
Adapt code to use the intended (list of) StreamerElement
This is ‘instead’ of re-compiling the StreamerInfo to force the optimized list to be of the type (optimized/non-optimized) the calling code needed. Add to TVirtualStreamerInfo the routines: TStreamerElement *GetElement(Int_t id) const; Int_t GetElementOffset(Int_t id) const; respectively as a convenience accessor and as a performance accessor to the StreamerElement information based on ‘id’ being the index in the full list of StreamerElement (in contrast GetElem and GetOffset take an id which is the index in the shorter list of optimized elements). Add TStreamerInfo::GetNelement() as a short cut to fElements->GetEntries(); Conflicts: io/io/src/TStreamerInfoActions.cxx
Showing
- core/meta/inc/TVirtualStreamerInfo.h 2 additions, 0 deletionscore/meta/inc/TVirtualStreamerInfo.h
- io/io/inc/TStreamerInfo.h 4 additions, 1 deletionio/io/inc/TStreamerInfo.h
- io/io/src/TStreamerInfoActions.cxx 21 additions, 23 deletionsio/io/src/TStreamerInfoActions.cxx
- io/io/src/TStreamerInfoReadBuffer.cxx 1 addition, 1 deletionio/io/src/TStreamerInfoReadBuffer.cxx
- tree/tree/src/TBranchBrowsable.cxx 2 additions, 2 deletionstree/tree/src/TBranchBrowsable.cxx
- tree/tree/src/TBranchElement.cxx 45 additions, 44 deletionstree/tree/src/TBranchElement.cxx
- tree/tree/src/TBranchSTL.cxx 2 additions, 2 deletionstree/tree/src/TBranchSTL.cxx
- tree/treeplayer/src/TBranchProxy.cxx 1 addition, 1 deletiontree/treeplayer/src/TBranchProxy.cxx
- tree/treeplayer/src/TFormLeafInfo.cxx 4 additions, 3 deletionstree/treeplayer/src/TFormLeafInfo.cxx
- tree/treeplayer/src/TTreeFormula.cxx 14 additions, 14 deletionstree/treeplayer/src/TTreeFormula.cxx
Loading
Please register or sign in to comment