comparison OrthancServer/Sources/DicomInstanceToStore.cpp @ 4506:ac69c9f76c71

refactoring ServerIndex::Store()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Feb 2021 17:01:44 +0100
parents 97d103b57cd1
children b4c58795f3a8
comparison
equal deleted inserted replaced
4505:97d103b57cd1 4506:ac69c9f76c71
349 { 349 {
350 return pimpl_->metadata_; 350 return pimpl_->metadata_;
351 } 351 }
352 352
353 353
354 DicomInstanceToStore::MetadataMap& DicomInstanceToStore::GetMetadata() 354 void DicomInstanceToStore::ClearMetadata()
355 { 355 {
356 return pimpl_->metadata_; 356 pimpl_->metadata_.clear();
357 } 357 }
358 358
359 359
360 void DicomInstanceToStore::AddMetadata(ResourceType level, 360 void DicomInstanceToStore::AddMetadata(ResourceType level,
361 MetadataType metadata, 361 MetadataType metadata,