Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerIndex.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/ServerIndex.h Wed Feb 10 12:07:03 2021 +0100 +++ b/OrthancServer/Sources/ServerIndex.h Wed Feb 10 17:01:44 2021 +0100 @@ -37,6 +37,7 @@ #include "../../OrthancFramework/Sources/DicomFormat/DicomMap.h" #include "Database/IDatabaseWrapper.h" +#include "DicomInstanceOrigin.h" #include <boost/thread.hpp> #include <boost/noncopyable.hpp> @@ -44,8 +45,6 @@ namespace Orthanc { class DatabaseLookup; - class DicomInstanceHasher; - class DicomInstanceToStore; class ParsedDicomFile; class ServerContext; @@ -140,11 +139,13 @@ void SetMaximumPatientCount(unsigned int count); StoreStatus Store(std::map<MetadataType, std::string>& instanceMetadata, - DicomInstanceToStore& instance, const DicomMap& dicomSummary, - DicomInstanceHasher& hasher, const Attachments& attachments, + const MetadataMap& metadata, + const DicomInstanceOrigin& origin, bool overwrite, + bool hasTransferSyntax, + const std::string& transferSyntax, bool hasPixelDataOffset, uint64_t pixelDataOffset);