-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[genreflex] Add support for noStreamer and noInputOperator xml attribute #864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Can one of the admins verify this patch? |
|
Hey Lukas - thanks a lot! |
|
Nice. One caveat though. When running with genreflex the default is to use essentially the modifier + (request for new StreamerInfo based I/O) and there is no way (and should not) to request the old I/O implementation. So it probably does not make sense to advertise the + (which is always a no-op). |
|
I agree with philippe. The + could be left aside as the default. For what concerns the name of the field I am not sure "modifier" is the best name possible. "StreamerOption" ? Two simple fields, which can be "NoStreamer" and "NoInputOperator"? |
|
...also the PR should be complemented with a test in roottest. |
|
Thanks for the feedback Philippe and Danilo! |
|
@phsft-bot build |
|
Starting build on |
|
Hi @breitwieserCern ,
In your case the CMake section could be something like: This will generate the dictionary from customStreamer.h and customStreamer_selection.xml. The macro customStreamer.C will be then executed and you can check there that your streamer does what is supposed to do (print something? your call :) ). The output will be compared to customStreamer.ref . You can start from a simplified version of the actual classes you are working with. Cheers, |
|
Corresponding tests: root-project/roottest#70 |
|
That was quick... |
|
was interrupted between sending the 2 PR ;) |
https://root-forum.cern.ch/t/linkdef-wildcarding-for-class-templates/25523/6