diff OrthancCppClient/Instance.h @ 480:482cde3f3c14

sample of c++ client
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 16 Jul 2013 09:22:55 +0200
parents 0cd977e94479
children 7f7a2d174acb
line wrap: on
line diff
--- a/OrthancCppClient/Instance.h	Tue Jul 16 09:08:09 2013 +0200
+++ b/OrthancCppClient/Instance.h	Tue Jul 16 09:22:55 2013 +0200
@@ -57,6 +57,11 @@
     Instance(const OrthancConnection& connection,
              const std::string& id);
 
+    const std::string& GetId() const
+    {
+      return id_;
+    }
+
     void SetImageExtractionMode(Orthanc::ImageExtractionMode mode);
 
     Orthanc::ImageExtractionMode GetImageExtractionMode() const