Mercurial > hg > orthanc
comparison Core/RestApi/RestApi.h @ 237:16a4ac70bd8a
last change and export
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 30 Nov 2012 15:45:15 +0100 |
parents | 8098448bd827 |
children | 4031f73fe0e4 |
comparison
equal
deleted
inserted
replaced
236:6d9be2b470b4 | 237:16a4ac70bd8a |
---|---|
97 std::string GetArgument(const std::string& name, | 97 std::string GetArgument(const std::string& name, |
98 const std::string& defaultValue) const | 98 const std::string& defaultValue) const |
99 { | 99 { |
100 return HttpHandler::GetArgument(*getArguments_, name, defaultValue); | 100 return HttpHandler::GetArgument(*getArguments_, name, defaultValue); |
101 } | 101 } |
102 | |
103 bool HasArgument(const std::string& name) const | |
104 { | |
105 return getArguments_->find(name) != getArguments_->end(); | |
106 } | |
102 }; | 107 }; |
103 | 108 |
104 class PutCall : public SharedCall | 109 class PutCall : public SharedCall |
105 { | 110 { |
106 friend class RestApi; | 111 friend class RestApi; |