Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.h @ 202:2def2df94f94
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Mar 2021 17:00:38 +0100 |
parents | 42990b2dd51b |
children | 2089d4071408 |
comparison
equal
deleted
inserted
replaced
201:42990b2dd51b | 202:2def2df94f94 |
---|---|
321 // New primitive since Orthanc 1.5.4 | 321 // New primitive since Orthanc 1.5.4 |
322 virtual void GetAllMetadata(std::map<int32_t, std::string>& result, | 322 virtual void GetAllMetadata(std::map<int32_t, std::string>& result, |
323 int64_t id) ORTHANC_OVERRIDE; | 323 int64_t id) ORTHANC_OVERRIDE; |
324 # endif | 324 # endif |
325 #endif | 325 #endif |
326 | |
327 virtual bool HasCreateInstance() const ORTHANC_OVERRIDE | |
328 { | |
329 return false; // TODO - Shouldn't this be "true"? | |
330 } | |
331 | |
332 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1 | |
333 virtual void CreateInstance(OrthancPluginCreateInstanceResult& result, | |
334 const char* hashPatient, | |
335 const char* hashStudy, | |
336 const char* hashSeries, | |
337 const char* hashInstance) | |
338 { | |
339 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); | |
340 } | |
341 #endif | |
326 }; | 342 }; |
327 } | 343 } |