Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
4400:029366f95217 | 4401:354ea95b294a |
---|---|
75 } | 75 } |
76 | 76 |
77 virtual bool Visit(const Resource& resource, | 77 virtual bool Visit(const Resource& resource, |
78 const UriComponents& uri, | 78 const UriComponents& uri, |
79 bool hasTrailing, | 79 bool hasTrailing, |
80 // The two arguments below are empty if using "ExploreAllResources()" | 80 // "uriArguments" only contains their name if using "ExploreAllResources()" |
81 const HttpToolbox::Arguments& uriComponents, | 81 const HttpToolbox::Arguments& uriArguments, |
82 // "trailing" is empty if using "ExploreAllResources()" | |
82 const UriComponents& trailing) = 0; | 83 const UriComponents& trailing) = 0; |
83 }; | 84 }; |
84 | 85 |
85 | 86 |
86 private: | 87 private: |
137 | 138 |
138 void GetAcceptedMethods(std::set<HttpMethod>& methods, | 139 void GetAcceptedMethods(std::set<HttpMethod>& methods, |
139 const UriComponents& uri); | 140 const UriComponents& uri); |
140 | 141 |
141 void ExploreAllResources(IVisitor& visitor, | 142 void ExploreAllResources(IVisitor& visitor, |
142 const UriComponents& path) const; | 143 const UriComponents& path, |
144 const std::set<std::string>& uriArguments) const; | |
143 }; | 145 }; |
144 } | 146 } |