Actions
Feature #1111
openChange optional parameters of print() method
Start date:
2024-03-06
Due date:
% Done:
0%
Estimated time:
Module:
dcmdata, and others?
Operating System:
Compiler:
Description
Currently, the print() method of the dcmdata module has the following signature:
virtual void print(STD_NAMESPACE ostream &out, const size_t flags = 0, const int level = 0, const char *pixelFileName = NULL, size_t *pixelCounter = NULL);
It would be useful to wrap the four optional parameters (flags, level, pixelFileName and pixelCounter) into a struct, so that the various classes that implement this method are not affected if the struct is extended over time.
It would probably be useful to still provide a print() method with the parameters "flags" and "level" on the level of DcmItem, DcmDataSet and DcmFileFormat.
Another approach would be to only wrap the last two parameters (pixelFileName and pixelCounter) and keep the other two (flags and level) as optional parameters to the print() method.
Actions