Skip to content

Conversation

@pcanal
Copy link
Member

@pcanal pcanal commented Dec 5, 2024

Backport #16995
Companion to root-project/roottest#1240

pcanal added 30 commits December 4, 2024 18:00
This enables the StreamerInfoActions to enable the shortcuts that
are possible in that case.
The version recorded 'here' is the version of the TStreamerInfo class not the user class
Even without schema evolution, the representation of a collection of enums
on file is a `vector<int>` so `TStreamerElement::fType` and `TStreamerElement::fClassObject`
should point to `vector<int>` while `TStreamerElement::fNewType` and
`TStreamerElement::fNewClass` should point to the current in memory representaition
`actualCollectionType< actualEnum >` that will know/remember what is the actual enum
in memory representation.
Combine the code with the one use for the text actions
Combine the code with the one use for the text actions
To use be for case where the read and write implementation differs only slightly
To be used for function template that can be used for more than one actual looper (usually in
conjunction with the LoopOverCollection template
Allow to share code with the collection loopers.
This required the addition of a concept that can be used to reduce boiler plate duplication.
We now have an example where a generic function (Read/WriteStreamerLoop) is used with action
with different signature by leveraging template arguments packs and a using statement declaration
within the *Looper helper structs
@pcanal pcanal self-assigned this Dec 5, 2024
@pcanal pcanal requested a review from dpiparo as a code owner December 5, 2024 00:05
@github-actions
Copy link

github-actions bot commented Dec 5, 2024

Test Results

    18 files      18 suites   4d 1h 57m 4s ⏱️
 2 681 tests  2 679 ✅ 0 💤 2 ❌
46 424 runs  46 422 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit 869b806.

♻️ This comment has been updated with latest results.

@pcanal pcanal merged commit 5593268 into root-project:v6-34-00-patches Dec 5, 2024
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant