Mercurial > hg > orthanc
diff OrthancServer/Sources/DicomInstanceToStore.h @ 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 |
line wrap: on
line diff
--- a/OrthancServer/Sources/DicomInstanceToStore.h Wed Feb 10 12:07:03 2021 +0100 +++ b/OrthancServer/Sources/DicomInstanceToStore.h Wed Feb 10 17:01:44 2021 +0100 @@ -64,12 +64,14 @@ void SetBuffer(const void* dicom, size_t size); + // WARNING: The "ParsedDicomFile" is not copied void SetParsedDicomFile(ParsedDicomFile& parsed); const MetadataMap& GetMetadata() const; - MetadataMap& GetMetadata(); + void ClearMetadata(); + // This function is notably used by modify/anonymize operations void AddMetadata(ResourceType level, MetadataType metadata, const std::string& value);