Mercurial > hg > orthanc
diff OrthancFramework/Sources/RestApi/RestApiHierarchy.h @ 4401:354ea95b294a
documenting system calls
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Dec 2020 15:13:45 +0100 |
parents | 029366f95217 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiHierarchy.h Wed Dec 23 12:30:56 2020 +0100 +++ b/OrthancFramework/Sources/RestApi/RestApiHierarchy.h Wed Dec 23 15:13:45 2020 +0100 @@ -77,8 +77,9 @@ virtual bool Visit(const Resource& resource, const UriComponents& uri, bool hasTrailing, - // The two arguments below are empty if using "ExploreAllResources()" - const HttpToolbox::Arguments& uriComponents, + // "uriArguments" only contains their name if using "ExploreAllResources()" + const HttpToolbox::Arguments& uriArguments, + // "trailing" is empty if using "ExploreAllResources()" const UriComponents& trailing) = 0; }; @@ -139,6 +140,7 @@ const UriComponents& uri); void ExploreAllResources(IVisitor& visitor, - const UriComponents& path) const; + const UriComponents& path, + const std::set<std::string>& uriArguments) const; }; }