Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp @ 4200:7112a8af0b63
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Sep 2020 20:53:31 +0200 |
parents | 0ddc5297a8ab |
children | 4d42408da117 |
comparison
equal
deleted
inserted
replaced
4199:fbc49a65340a | 4200:7112a8af0b63 |
---|---|
1101 pimpl_->file_.reset(FromDcmtkBridge::LoadFromMemoryBuffer(&content[0], content.size())); | 1101 pimpl_->file_.reset(FromDcmtkBridge::LoadFromMemoryBuffer(&content[0], content.size())); |
1102 } | 1102 } |
1103 } | 1103 } |
1104 | 1104 |
1105 | 1105 |
1106 ParsedDicomFile::ParsedDicomFile(ParsedDicomFile& other, | 1106 ParsedDicomFile::ParsedDicomFile(const ParsedDicomFile& other, |
1107 bool keepSopInstanceUid) : | 1107 bool keepSopInstanceUid) : |
1108 pimpl_(new PImpl) | 1108 pimpl_(new PImpl) |
1109 { | 1109 { |
1110 pimpl_->file_.reset(dynamic_cast<DcmFileFormat*>(other.GetDcmtkObject().clone())); | 1110 pimpl_->file_.reset(dynamic_cast<DcmFileFormat*>(other.GetDcmtkObject().clone())); |
1111 | 1111 |