Mercurial > hg > orthanc
comparison OrthancServer/FromDcmtkBridge.cpp @ 1655:e40fd0d925c5
/tools/create-dicom can create tags with unknown VR
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 29 Sep 2015 14:54:24 +0200 |
parents | 96582230ddcb |
children | d3ba98d6b6e9 |
comparison
equal
deleted
inserted
replaced
1654:3727a09e7b53 | 1655:e40fd0d925c5 |
---|---|
616 } | 616 } |
617 #endif | 617 #endif |
618 } | 618 } |
619 | 619 |
620 | 620 |
621 bool FromDcmtkBridge::IsUnknownTag(const DicomTag& tag) | |
622 { | |
623 DcmTag tmp(tag.GetGroup(), tag.GetElement()); | |
624 return tmp.isUnknownVR(); | |
625 } | |
626 | |
627 | |
621 void FromDcmtkBridge::Print(FILE* fp, const DicomMap& m) | 628 void FromDcmtkBridge::Print(FILE* fp, const DicomMap& m) |
622 { | 629 { |
623 for (DicomMap::Map::const_iterator | 630 for (DicomMap::Map::const_iterator |
624 it = m.map_.begin(); it != m.map_.end(); ++it) | 631 it = m.map_.begin(); it != m.map_.end(); ++it) |
625 { | 632 { |