diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 3919:6f11b3233a06 transcoding

OrthancPluginTranscodeDicomInstance() and OrthancPluginSerializeDicomInstance()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 12 May 2020 12:38:27 +0200
parents 0e3849268a55
children b99acc213937
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Mon May 11 21:12:40 2020 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue May 12 12:38:27 2020 +0200
@@ -1209,5 +1209,15 @@
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 7, 0)
     OrthancImage* GetDecodedFrame(unsigned int frameIndex) const;
 #endif
+
+#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 7, 0)
+    void Serialize(std::string& target) const;
+#endif
+
+#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 7, 0)
+    static DicomInstance* Transcode(const void* buffer,
+                                    size_t size,
+                                    const std::string& transferSyntax);
+#endif
   };
 }