Project

General

Profile

Actions

Feature #1067

open

DcmTag should define its own stream output operator

Added by Jörg Riesmeier over 2 years ago.

Status:
New
Priority:
Normal
Category:
Library and Apps
Target version:
-
Start date:
2023-02-22
Due date:
% Done:

0%

Estimated time:
Module:
dcmdata et al.
Operating System:
Compiler:

Description

Currently, the DcmTag class does not define its own stream output operator, which causes the output of a DcmTag instance to be limited to the Attribute Tag (similar to the output of a DcmTagKey instance).

It would be nice if there would be an implementation of "ostream &operator<<(STD_NAMESPACE ostream &, const DcmTag &)" that would also output the Attribute Name/Keyword, e.g. "ImageType (0008,0008)".
In order to avoid the double output of the associated name/keyword, it should be checked whether the name/keyword is already printed in front of the tag somewhere in the toolkit.

No data to display

Actions

Also available in: Atom PDF