Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h @ 4139:a4f28efdfccf
"maxTagLength" must be explicitly given to ParsedDicomFile::ExtractDicomSummary()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Aug 2020 18:25:47 +0200 |
parents | bf7b9edf6b81 |
children | 0ddc5297a8ab |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h Thu Aug 06 17:56:10 2020 +0200 +++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h Thu Aug 06 18:25:47 2020 +0200 @@ -244,9 +244,21 @@ void ChangeEncoding(Encoding target); - void ExtractDicomSummary(DicomMap& target) const; + /** + * The DICOM tags with a string whose size is greater than + * "maxTagLength", are replaced by a DicomValue whose type is + * "DicomValue_Null". If "maxTagLength" is zero, all the leaf tags + * are included, independently of their length. + **/ + void ExtractDicomSummary(DicomMap& target, + unsigned int maxTagLength) const; + /** + * This flavor can be used to bypass the "maxTagLength" limitation + * on a selected set of DICOM tags. + **/ void ExtractDicomSummary(DicomMap& target, + unsigned int maxTagLength, const std::set<DicomTag>& ignoreTagLength) const; bool LookupTransferSyntax(std::string& result);