comparison Core/DicomFormat/DicomMap.cpp @ 1360:0649c5aef34a

DicomFindQuery
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 May 2015 15:34:32 +0200
parents 61ce8147f30d
children 111e23bb4904
comparison
equal deleted inserted replaced
1359:4378a6636187 1360:0649c5aef34a
404 void DicomMap::Print(FILE* fp) const 404 void DicomMap::Print(FILE* fp) const
405 { 405 {
406 DicomArray a(*this); 406 DicomArray a(*this);
407 a.Print(fp); 407 a.Print(fp);
408 } 408 }
409
410
411 void DicomMap::GetTags(std::set<DicomTag>& tags) const
412 {
413 tags.clear();
414
415 for (Map::const_iterator it = map_.begin();
416 it != map_.end(); ++it)
417 {
418 tags.insert(it->first);
419 }
420 }
409 } 421 }