Project

General

Profile

Actions

Bug #807

closed

Some methods expect getVM() to always return the number of stored values (which is not correct)

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

Status:
Closed
Priority:
High
Assignee:
-
Category:
Library
Target version:
Start date:
2017-12-14
Due date:
% Done:

100%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:

Description

As documented in the various VR classes, getVM() always returns the Value Multiplicity, which is 1 by definition for some VRs (e.g. OF, OD and OL). However, methods like compare() and matches() expect getVM() to return the number of stored values, which is not always true, and, therefore, create wrong results.


Related issues 1 (0 open1 closed)

Follows DCMTK - Feature #808: Introduce a new method getNumberOfValues() or getValueCount() for the various VR classesClosedJörg Riesmeier2017-12-13

Actions
Actions

Also available in: Atom PDF