diff OrthancServer/DicomInstanceToStore.h @ 2898:e5e3253a1164

DicomInstanceToStore::GetHasher()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Oct 2018 11:44:17 +0200
parents a27b0e9a3fd9
children 4e43e67f8ecf
line wrap: on
line diff
--- a/OrthancServer/DicomInstanceToStore.h	Thu Oct 18 10:53:22 2018 +0200
+++ b/OrthancServer/DicomInstanceToStore.h	Thu Oct 18 11:44:17 2018 +0200
@@ -33,6 +33,7 @@
 
 #pragma once
 
+#include "../Core/DicomFormat/DicomInstanceHasher.h"
 #include "../Core/DicomFormat/DicomMap.h"
 #include "DicomInstanceOrigin.h"
 #include "ServerEnumerations.h"
@@ -49,7 +50,7 @@
     typedef std::map<std::pair<ResourceType, MetadataType>, std::string>  MetadataMap;
 
   private:
-    struct PImpl;
+    class PImpl;
     boost::shared_ptr<PImpl>  pimpl_;
 
   public:
@@ -84,5 +85,7 @@
     const Json::Value& GetJson();
 
     bool LookupTransferSyntax(std::string& result);
+
+    DicomInstanceHasher& GetHasher();
   };
 }