diff OrthancFramework/Sources/HttpServer/IWebDavBucket.h @ 4234:a38376b80cd1

WebDAV: by-studies and by-patients
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Oct 2020 13:38:44 +0200
parents 688435755466
children 6c3721ff284c
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/IWebDavBucket.h	Wed Oct 07 13:19:53 2020 +0200
+++ b/OrthancFramework/Sources/HttpServer/IWebDavBucket.h	Thu Oct 08 13:38:44 2020 +0200
@@ -148,6 +148,11 @@
     public:
       ~Collection();
 
+      size_t GetSize() const
+      {
+        return resources_.size();
+      }
+
       void AddResource(Resource* resource);  // Takes ownership
 
       void Format(std::string& target,