Mercurial > hg > orthanc
comparison OrthancFramework/Sources/RestApi/RestApiCall.h @ 4406:4cb9f66a1c7c
documenting generation of images
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Dec 2020 17:32:19 +0100 |
parents | 80fd140b12ba |
children | 68b96234fbd6 |
comparison
equal
deleted
inserted
replaced
4405:5466f336b09f | 4406:4cb9f66a1c7c |
---|---|
90 const UriComponents& GetTrailingUri() const | 90 const UriComponents& GetTrailingUri() const |
91 { | 91 { |
92 return trailing_; | 92 return trailing_; |
93 } | 93 } |
94 | 94 |
95 bool HasUriComponent(const std::string& name) const | |
96 { | |
97 return (uriComponents_.find(name) != uriComponents_.end()); | |
98 } | |
99 | |
95 std::string GetUriComponent(const std::string& name, | 100 std::string GetUriComponent(const std::string& name, |
96 const std::string& defaultValue) const | 101 const std::string& defaultValue) const |
97 { | 102 { |
98 return HttpToolbox::GetArgument(uriComponents_, name, defaultValue); | 103 return HttpToolbox::GetArgument(uriComponents_, name, defaultValue); |
99 } | 104 } |