comparison UnitTestsSources/DicomMapTests.cpp @ 1368:b22ba8c5edbe query-retrieve

query retrieve
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 May 2015 17:54:34 +0200
parents 0649c5aef34a
children 9f66a12eb8fc
comparison
equal deleted inserted replaced
1367:fe6e5a9f1ea2 1368:b22ba8c5edbe
151 151
152 static void TestModule(ResourceType level, 152 static void TestModule(ResourceType level,
153 DicomModule module) 153 DicomModule module)
154 { 154 {
155 std::set<DicomTag> moduleTags, main; 155 std::set<DicomTag> moduleTags, main;
156 DicomTag::GetTagsForModule(moduleTags, module); 156 DicomTag::AddTagsForModule(moduleTags, module);
157 DicomMap::GetMainDicomTags(main, level); 157 DicomMap::GetMainDicomTags(main, level);
158 158
159 // The main dicom tags are a subset of the module 159 // The main dicom tags are a subset of the module
160 for (std::set<DicomTag>::const_iterator it = main.begin(); it != main.end(); ++it) 160 for (std::set<DicomTag>::const_iterator it = main.begin(); it != main.end(); ++it)
161 { 161 {