Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiCall.h Thu Dec 24 09:37:30 2020 +0100 +++ b/OrthancFramework/Sources/RestApi/RestApiCall.h Thu Dec 24 17:32:19 2020 +0100 @@ -92,6 +92,11 @@ return trailing_; } + bool HasUriComponent(const std::string& name) const + { + return (uriComponents_.find(name) != uriComponents_.end()); + } + std::string GetUriComponent(const std::string& name, const std::string& defaultValue) const {