Mercurial > hg > orthanc-databases
comparison PostgreSQL/Plugins/PostgreSQLIndex.h @ 97:66fd0d587773
integration db-changes->mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Jan 2019 14:38:12 +0100 |
parents | e61587582cef |
children | 4cd7e45b671e |
comparison
equal
deleted
inserted
replaced
91:1bd538a5a783 | 97:66fd0d587773 |
---|---|
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; | |
76 | |
77 virtual uint64_t GetTotalCompressedSize() ORTHANC_OVERRIDE; | |
78 | |
79 virtual uint64_t GetTotalUncompressedSize() ORTHANC_OVERRIDE; | |
80 | |
81 virtual bool HasCreateInstance() const ORTHANC_OVERRIDE | |
82 { | |
83 return true; | |
84 } | |
85 | |
86 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1 | |
87 virtual void CreateInstance(OrthancPluginCreateInstanceResult& result, | |
88 const char* hashPatient, | |
89 const char* hashStudy, | |
90 const char* hashSeries, | |
91 const char* hashInstance) | |
92 ORTHANC_OVERRIDE; | |
93 #endif | |
94 | |
95 virtual uint64_t GetResourceCount(OrthancPluginResourceType resourceType) | |
96 ORTHANC_OVERRIDE; | |
97 | |
98 virtual int64_t GetLastChangeIndex() ORTHANC_OVERRIDE; | |
99 | |
100 virtual void TagMostRecentPatient(int64_t patient) ORTHANC_OVERRIDE; | |
75 }; | 101 }; |
76 } | 102 } |