changeset 5331:f294780f0642

added OrthancPlugins::DicomInstance::GetObject()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 26 Jun 2023 13:04:42 +0200
parents 808319c1e22b
children f5cb6310e0dc
files OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Mon Jun 26 08:40:41 2023 +0200
+++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Mon Jun 26 13:04:42 2023 +0200
@@ -1264,6 +1264,11 @@
 
     ~DicomInstance();
 
+    const OrthancPluginDicomInstance* GetObject() const
+    {
+      return instance_;
+    }
+
     std::string GetRemoteAet() const;
 
     const void* GetBuffer() const