Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
2658:ce770f095092 | 2659:c27f7ecf9b54 |
---|---|
71 void AddPostArgument(const std::string& argument) | 71 void AddPostArgument(const std::string& argument) |
72 { | 72 { |
73 postArguments_.push_back(argument); | 73 postArguments_.push_back(argument); |
74 } | 74 } |
75 | 75 |
76 const std::string& GetCommand() const | |
77 { | |
78 return command_; | |
79 } | |
80 | |
81 size_t GetPreArgumentsCount() const | |
82 { | |
83 return preArguments_.size(); | |
84 } | |
85 | |
86 size_t GetPostArgumentsCount() const | |
87 { | |
88 return postArguments_.size(); | |
89 } | |
90 | |
91 const std::string& GetPreArgument(size_t i) const; | |
92 | |
93 const std::string& GetPostArgument(size_t i) const; | |
94 | |
76 virtual void Apply(JobOperationValues& outputs, | 95 virtual void Apply(JobOperationValues& outputs, |
77 const JobOperationValue& input, | 96 const JobOperationValue& input, |
78 IDicomConnectionManager& connectionManager); | 97 IDicomConnectionManager& connectionManager); |
79 | 98 |
80 virtual void Serialize(Json::Value& result) const; | 99 virtual void Serialize(Json::Value& result) const; |