diff OrthancFramework/Sources/DicomParsing/ParsedDicomCache.h @ 4457:789676a8c96a

Refactoring and improvements to the cache of DICOM files in ServerContext
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 19 Jan 2021 19:05:04 +0100
parents 3e4f7b7840f0
children e4dae17035b9
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomCache.h	Tue Jan 19 16:11:23 2021 +0100
+++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomCache.h	Tue Jan 19 19:05:04 2021 +0100
@@ -27,7 +27,7 @@
 
 namespace Orthanc
 {
-  class ParsedDicomCache : public boost::noncopyable
+  class ORTHANC_PUBLIC ParsedDicomCache : public boost::noncopyable
   {
   private:
     class Item;
@@ -42,6 +42,8 @@
   public:
     explicit ParsedDicomCache(size_t size);
 
+    size_t GetNumberOfItems();  // For unit tests only
+
     size_t GetCurrentSize();  // For unit tests only
 
     void Invalidate(const std::string& id);