comparison PostgreSQL/Plugins/PostgreSQLIndex.h @ 72:8dd29af7c844 db-changes

new extension: FastTotalSize
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Jan 2019 14:43:35 +0100
parents d40c5fecd160
children a4e440e65c68
comparison
equal deleted inserted replaced
71:d40c5fecd160 72:8dd29af7c844
69 { 69 {
70 clearAll_ = clear; 70 clearAll_ = clear;
71 } 71 }
72 72
73 virtual int64_t CreateResource(const char* publicId, 73 virtual int64_t CreateResource(const char* publicId,
74 OrthancPluginResourceType type); 74 OrthancPluginResourceType type)
75 ORTHANC_OVERRIDE;
75 76
76 virtual bool HasCreateInstance() const 77 virtual uint64_t GetTotalCompressedSize() ORTHANC_OVERRIDE;
78
79 virtual uint64_t GetTotalUncompressedSize() ORTHANC_OVERRIDE;
80
81 virtual bool HasCreateInstance() const ORTHANC_OVERRIDE
77 { 82 {
78 return true; 83 return true;
79 } 84 }
80 85
81 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1 86 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1
82 virtual void CreateInstance(OrthancPluginCreateInstanceResult& result, 87 virtual void CreateInstance(OrthancPluginCreateInstanceResult& result,
83 const char* hashPatient, 88 const char* hashPatient,
84 const char* hashStudy, 89 const char* hashStudy,
85 const char* hashSeries, 90 const char* hashSeries,
86 const char* hashInstance); 91 const char* hashInstance)
92 ORTHANC_OVERRIDE;
87 #endif 93 #endif
88 }; 94 };
89 } 95 }