Feature #1111
openChange optional parameters of print() method
0%
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.
Updated by Jörg Riesmeier 7 months ago
In this context, it should also be checked whether the export of binary data could be extended to other attributes, e.g. large look-up tables. Ideally, this would be a configurable option.