Mercurial > hg > orthanc
comparison OrthancServer/DicomDirWriter.cpp @ 1788:6a2d507ef064 worklists
getting rid of opaque data structures
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 18 Nov 2015 16:11:28 +0100 |
parents | f967bdf8534e |
children | 5be57564ffc4 |
comparison
equal
deleted
inserted
replaced
1787:1b1d5470233f | 1788:6a2d507ef064 |
---|---|
525 } | 525 } |
526 | 526 |
527 path = directory + '\\' + filename; | 527 path = directory + '\\' + filename; |
528 } | 528 } |
529 | 529 |
530 DcmFileFormat& fileFormat = *reinterpret_cast<DcmFileFormat*>(dicom.GetDcmtkObject()); | 530 DcmFileFormat& fileFormat = dicom.GetDcmtkObject(); |
531 | 531 |
532 DcmDirectoryRecord* instance; | 532 DcmDirectoryRecord* instance; |
533 bool isNewInstance = pimpl_->CreateResource(instance, ResourceType_Instance, fileFormat, filename.c_str(), path.c_str()); | 533 bool isNewInstance = pimpl_->CreateResource(instance, ResourceType_Instance, fileFormat, filename.c_str(), path.c_str()); |
534 if (isNewInstance) | 534 if (isNewInstance) |
535 { | 535 { |