diff OrthancServer/DatabaseWrapper.h @ 1671:2f2e2ec17bc4 db-changes

sample database plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 01 Oct 2015 17:44:43 +0200
parents 16955f8fec4d
children 4c5a85c3ff43
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h	Thu Oct 01 14:03:07 2015 +0200
+++ b/OrthancServer/DatabaseWrapper.h	Thu Oct 01 17:44:43 2015 +0200
@@ -96,20 +96,11 @@
     }
 
     virtual bool LookupParent(int64_t& parentId,
-                              int64_t resourceId)
-    {
-      return base_.LookupParent(parentId, resourceId);
-    }
+                              int64_t resourceId);
 
-    virtual std::string GetPublicId(int64_t resourceId)
-    {
-      return base_.GetPublicId(resourceId);
-    }
+    virtual std::string GetPublicId(int64_t resourceId);
 
-    virtual ResourceType GetResourceType(int64_t resourceId)
-    {
-      return base_.GetResourceType(resourceId);
-    }
+    virtual ResourceType GetResourceType(int64_t resourceId);
 
     virtual void AttachChild(int64_t parent,
                              int64_t child)
@@ -209,15 +200,9 @@
     virtual void GetChanges(std::list<ServerIndexChange>& target /*out*/,
                             bool& done /*out*/,
                             int64_t since,
-                            uint32_t maxResults)
-    {
-      base_.GetChanges(target, done, since, maxResults);
-    }
+                            uint32_t maxResults);
 
-    virtual void GetLastChange(std::list<ServerIndexChange>& target /*out*/)
-    {
-      base_.GetLastChange(target);
-    }
+    virtual void GetLastChange(std::list<ServerIndexChange>& target /*out*/);
 
     virtual void LogExportedResource(const ExportedResource& resource)
     {
@@ -320,10 +305,7 @@
 
     virtual void LookupIdentifier(std::list<int64_t>& target,
                                   const DicomTag& tag,
-                                  const std::string& value)
-    {
-      base_.LookupIdentifier(target, tag, value);
-    }
+                                  const std::string& value);
 
     virtual void LookupIdentifier(std::list<int64_t>& target,
                                   const std::string& value)