diff Framework/Toolbox/Slice.h @ 99:efd9ef2b67f1 wasm

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 May 2017 21:08:31 +0200
parents f244018a4e4b
children fcec0ab44054
line wrap: on
line diff
--- a/Framework/Toolbox/Slice.h	Tue May 30 15:02:24 2017 +0200
+++ b/Framework/Toolbox/Slice.h	Tue May 30 21:08:31 2017 +0200
@@ -68,6 +68,11 @@
     {      
     }
 
+    bool IsValid() const
+    {
+      return type_ != Type_Invalid;
+    } 
+
     bool ParseOrthancFrame(const OrthancPlugins::IDicomDataset& dataset,
                            const std::string& instanceId,
                            unsigned int frame);