HomePhabricator
Diffusion MITK c0f8d115e52c

T22616 Store_version_and_reader_informationAdded std::initializer_list support…

Description

T22616 Store_version_and_reader_informationAdded std::initializer_list support to PropertyKeyPath

Summary:
Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>

Introduced IO meta information property key path

to store relevant IO meta information

Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>

AbstractFileReader stores relevant IO meta information (BREAKING!)

This is a interface breaking commit for all classes
derived from AbstractFileReader. Derived classes have to
implement now "std::vector<BaseData::Pointer> DoRead()".
Normaly the only thing to do, is to rename the Read()
implementation of the derived class to DoRead().

The change was needed to ensure that for all reader classes
the meta information is stored. This is done now in the
implementation of AbstractFileReader::Read() after DoRead()
is called.

Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>

Ensure that io meta info properties are persisted

Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>

Changed MAPRegistrationWrapperIO to DoRead

Removed redundant LocaleSwitch

Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>

Add DICOM specific IO meta information to reader

+ make it persistant

Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>

Test Plan: Review and unit test

Reviewers: O3 MITK Reviewer Group II, O1 MITK Reviewer Group I, kalali, kislinsk

Reviewed By: O3 MITK Reviewer Group II, O1 MITK Reviewer Group I, kislinsk

Subscribers: kislinsk, kompan, kalali

Maniphest Tasks: T22616

Differential Revision: https://phabricator.mitk.org/D290

Details

Provenance
flocaAuthored on May 11 2020, 2:32 PM
flocaPushed on May 11 2020, 8:45 PM
Reviewer
O3: MITK Reviewer Group II
Differential Revision
Restricted Differential Revision
Parents
rMITK5c9ea78fafc0: Fixed review remarks
rMITK1780784feb8e: Fixed Qt test invocation
Branches
Unknown
Tags
Unknown
Tasks
T22616: Store exact software version in properties when reading DICOM