Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomParsing/IDicomTranscoder.cpp @ 4300:b30a8de92ad9
abi continued
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 19:33:18 +0100 |
parents | 7112a8af0b63 |
children | 44b53a2c0a13 |
comparison
equal
deleted
inserted
replaced
4299:3f85db78c441 | 4300:b30a8de92ad9 |
---|---|
64 return TranscodingType_Unknown; | 64 return TranscodingType_Unknown; |
65 } | 65 } |
66 } | 66 } |
67 | 67 |
68 | 68 |
69 IDicomTranscoder::~IDicomTranscoder() | |
70 { | |
71 } | |
72 | |
73 | |
69 std::string IDicomTranscoder::GetSopInstanceUid(DcmFileFormat& dicom) | 74 std::string IDicomTranscoder::GetSopInstanceUid(DcmFileFormat& dicom) |
70 { | 75 { |
71 if (dicom.getDataset() == NULL) | 76 if (dicom.getDataset() == NULL) |
72 { | 77 { |
73 throw OrthancException(ErrorCode_InternalError); | 78 throw OrthancException(ErrorCode_InternalError); |
161 default: | 166 default: |
162 break; | 167 break; |
163 } | 168 } |
164 } | 169 } |
165 } | 170 } |
166 | 171 |
167 | 172 |
168 void IDicomTranscoder::DicomImage::Parse() | 173 void IDicomTranscoder::DicomImage::Parse() |
169 { | 174 { |
170 if (parsed_.get() != NULL) | 175 if (parsed_.get() != NULL) |
171 { | 176 { |