Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerIndex.cpp @ 5044:6fed78e13233
Refactored DicomMap to handle sequences when needed
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 28 Jun 2022 17:45:09 +0200 |
parents | 28db9663fc2d |
children | e95fadefeb72 |
comparison
equal
deleted
inserted
replaced
5043:ec5c203a97ea | 5044:6fed78e13233 |
---|---|
509 } | 509 } |
510 | 510 |
511 | 511 |
512 StoreStatus ServerIndex::Store(std::map<MetadataType, std::string>& instanceMetadata, | 512 StoreStatus ServerIndex::Store(std::map<MetadataType, std::string>& instanceMetadata, |
513 const DicomMap& dicomSummary, | 513 const DicomMap& dicomSummary, |
514 const DicomSequencesMap& sequencesToStore, | |
515 const ServerIndex::Attachments& attachments, | 514 const ServerIndex::Attachments& attachments, |
516 const ServerIndex::MetadataMap& metadata, | 515 const ServerIndex::MetadataMap& metadata, |
517 const DicomInstanceOrigin& origin, | 516 const DicomInstanceOrigin& origin, |
518 bool overwrite, | 517 bool overwrite, |
519 bool hasTransferSyntax, | 518 bool hasTransferSyntax, |
530 maximumStorageSize = maximumStorageSize_; | 529 maximumStorageSize = maximumStorageSize_; |
531 maximumPatients = maximumPatients_; | 530 maximumPatients = maximumPatients_; |
532 } | 531 } |
533 | 532 |
534 return StatelessDatabaseOperations::Store( | 533 return StatelessDatabaseOperations::Store( |
535 instanceMetadata, dicomSummary, sequencesToStore, attachments, metadata, origin, overwrite, hasTransferSyntax, | 534 instanceMetadata, dicomSummary, attachments, metadata, origin, overwrite, hasTransferSyntax, |
536 transferSyntax, hasPixelDataOffset, pixelDataOffset, maximumStorageSize, maximumPatients, isReconstruct); | 535 transferSyntax, hasPixelDataOffset, pixelDataOffset, maximumStorageSize, maximumPatients, isReconstruct); |
537 } | 536 } |
538 | 537 |
539 | 538 |
540 StoreStatus ServerIndex::AddAttachment(int64_t& newRevision, | 539 StoreStatus ServerIndex::AddAttachment(int64_t& newRevision, |