Project

General

Profile

Actions

Feature #808

closed

Introduce a new method getNumberOfValues() or getValueCount() for the various VR classes

Added by Jörg Riesmeier over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Library
Target version:
Start date:
2017-12-13
Due date:
% Done:

100%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:

Description

Currently, there is no method that would always return the number of values stored in an instance of DcmElement (or derived classes). The existing method getVM() returns the Value Multiplicity, which is always 1 for some VRs. Therefore, the number of stored values has to be computed e.g. by "getLengthField() / sizeof(<type>)", which is sometime forgotten (see Bug #807).


Related issues 1 (0 open1 closed)

Precedes DCMTK - Bug #807: Some methods expect getVM() to always return the number of stored values (which is not correct)Closed2017-12-14

Actions
Actions #1

Updated by Jörg Riesmeier over 7 years ago

  • Precedes Bug #807: Some methods expect getVM() to always return the number of stored values (which is not correct) added
Actions #2

Updated by Jörg Riesmeier over 7 years ago

  • Assignee set to Jörg Riesmeier
  • Target version set to 3.6.4
Actions #3

Updated by Jörg Riesmeier over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Closed by commit b4ca1a8.

Actions

Also available in: Atom PDF