Mercurial > hg > orthanc
comparison UnitTestsSources/DicomMapTests.cpp @ 1304:7b6925b0890d
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Feb 2015 17:03:17 +0100 |
parents | 6e7e5ed91c2d |
children | 0649c5aef34a |
comparison
equal
deleted
inserted
replaced
1303:bba8a47922d1 | 1304:7b6925b0890d |
---|---|
139 std::set<DicomTag> moduleTags, main; | 139 std::set<DicomTag> moduleTags, main; |
140 DicomTag::GetTagsForModule(moduleTags, module); | 140 DicomTag::GetTagsForModule(moduleTags, module); |
141 DicomMap::GetMainDicomTags(main, level); | 141 DicomMap::GetMainDicomTags(main, level); |
142 | 142 |
143 // The main dicom tags are a subset of the module | 143 // The main dicom tags are a subset of the module |
144 for (std::set<DicomTag>::const_iterator it = main.begin(); it != main.end(); it++) | 144 for (std::set<DicomTag>::const_iterator it = main.begin(); it != main.end(); ++it) |
145 { | 145 { |
146 bool ok = moduleTags.find(*it) != moduleTags.end(); | 146 bool ok = moduleTags.find(*it) != moduleTags.end(); |
147 | 147 |
148 // Exceptions for the Series level | 148 // Exceptions for the Series level |
149 /*if ((// | 149 /*if ((// |