diff Core/Cache/SharedArchive.h @ 2976:cb5d75143da0

Asynchronous generation of ZIP archives and DICOM medias
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Dec 2018 12:23:46 +0100
parents 878b59270859
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Core/Cache/SharedArchive.h	Thu Dec 06 10:10:58 2018 +0100
+++ b/Core/Cache/SharedArchive.h	Thu Dec 06 12:23:46 2018 +0100
@@ -72,10 +72,12 @@
       Accessor(SharedArchive& that,
                const std::string& id);
 
-      IDynamicObject& GetItem() const
+      bool IsValid() const
       {
-        return *item_;
-      }      
+        return item_ != NULL;
+      }
+      
+      IDynamicObject& GetItem() const;
     };