diff OrthancServer/ServerJobs/Operations/SystemCallOperation.h @ 2659:c27f7ecf9b54 jobs

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 Jun 2018 12:24:17 +0200
parents c196d76cb8fa
children 4e43e67f8ecf
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/Operations/SystemCallOperation.h	Wed Jun 06 18:37:43 2018 +0200
+++ b/OrthancServer/ServerJobs/Operations/SystemCallOperation.h	Thu Jun 07 12:24:17 2018 +0200
@@ -73,6 +73,25 @@
       postArguments_.push_back(argument);
     }
 
+    const std::string& GetCommand() const
+    {
+      return command_;
+    }
+
+    size_t GetPreArgumentsCount() const
+    {
+      return preArguments_.size();
+    }
+
+    size_t GetPostArgumentsCount() const
+    {
+      return postArguments_.size();
+    }
+
+    const std::string& GetPreArgument(size_t i) const;
+
+    const std::string& GetPostArgument(size_t i) const;
+
     virtual void Apply(JobOperationValues& outputs,
                        const JobOperationValue& input,
                        IDicomConnectionManager& connectionManager);