Mercurial > hg > orthanc
comparison OrthancFramework/Sources/RestApi/RestApiPath.h @ 4203:4d42408da117
improving const-correctness in ParsedDicomFile
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 15:01:31 +0200 |
parents | bf7b9edf6b81 |
children | b30a8de92ad9 |
comparison
equal
deleted
inserted
replaced
4202:2007ab69ac16 | 4203:4d42408da117 |
---|---|
35 UriComponents uri_; | 35 UriComponents uri_; |
36 bool hasTrailing_; | 36 bool hasTrailing_; |
37 std::vector<std::string> components_; | 37 std::vector<std::string> components_; |
38 | 38 |
39 public: | 39 public: |
40 RestApiPath(const std::string& uri); | 40 explicit RestApiPath(const std::string& uri); |
41 | 41 |
42 // This version is slower | 42 // This version is slower |
43 bool Match(IHttpHandler::Arguments& components, | 43 bool Match(IHttpHandler::Arguments& components, |
44 UriComponents& trailing, | 44 UriComponents& trailing, |
45 const std::string& uriRaw) const; | 45 const std::string& uriRaw) const; |