-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add supportedPixelTypes
typelist, replace ELEMENT_WRITE
with TryToWriteToStore
#69
Add supportedPixelTypes
typelist, replace ELEMENT_WRITE
with TryToWriteToStore
#69
Conversation
N-Dekker
commented
Aug 21, 2024
- Follow-up to pull request Replace READ_ELEMENT_IF with variadic template, move functions into unnamed namespace #67
Avoided a few redundant `this->GetComponentType()` calls.
1572fb8
to
b24fc51
Compare
"Build, test, package / build-test-cxx (macos-12) (pull_request)" failed saying (https://github.com/InsightSoftwareConsortium/ITKIOOMEZarrNGFF/actions/runs/10498234014/job/29082765516#step:11:1062):
It cannot find Update: Looks like this was some "hick-up" of the CI system! With the latest force-push, it just works fine 😃 |
Anticipated sharing the list of supported pixel types between `OMEZarrNGFFImageIO::Read` and `OMEZarrNGFFImageIO::Write`
Allowed the macro to be called anywhere in the source file.
Allowed `getKVstoreDriver` to be called by other functions from the unnamed namespace more easily. Following C++ Core Guidelines, May 11, 2024, "Use an unnamed (anonymous) namespace for all internal/non-exported entities", http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#sf22-use-an-unnamed-anonymous-namespace-for-all-internalnon-exported-entities
Replaced the original `ELEMENT_WRITE` macro with a variadic template, using a C++17 fold-expression. Follow-up to pull request InsightSoftwareConsortium#67 commit 77a2f45 "STYLE: Replace READ_ELEMENT_IF with TryToReadFromStore variadic template"
b24fc51
to
679a165
Compare
Thanks for your approval, @dzenanz. I also think this PR is ready 😃 |