Project

General

Profile

Actions

Feature #1111

open

Change optional parameters of print() method

Added by Jörg Riesmeier over 1 year ago. Updated 7 months ago.

Status:
New
Priority:
Low
Category:
Library and Apps
Target version:
-
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 #1

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.

Actions

Also available in: Atom PDF