Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.cpp @ 271:6b18d3fbee82
backward compatibility with Orthanc SDK 0.9.5
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Apr 2021 10:41:29 +0200 |
parents | cc7af42d4f23 |
children | e55e4e8f9459 |
comparison
equal
deleted
inserted
replaced
270:5931c2ff22ca | 271:6b18d3fbee82 |
---|---|
2387 } | 2387 } |
2388 # endif | 2388 # endif |
2389 #endif | 2389 #endif |
2390 | 2390 |
2391 | 2391 |
2392 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1 | |
2392 void IndexBackend::CreateInstanceGeneric(OrthancPluginCreateInstanceResult& result, | 2393 void IndexBackend::CreateInstanceGeneric(OrthancPluginCreateInstanceResult& result, |
2393 DatabaseManager& manager, | 2394 DatabaseManager& manager, |
2394 const char* hashPatient, | 2395 const char* hashPatient, |
2395 const char* hashStudy, | 2396 const char* hashStudy, |
2396 const char* hashSeries, | 2397 const char* hashSeries, |
2503 assert(result.patientId != -1); | 2504 assert(result.patientId != -1); |
2504 assert(result.studyId != -1); | 2505 assert(result.studyId != -1); |
2505 assert(result.seriesId != -1); | 2506 assert(result.seriesId != -1); |
2506 assert(result.instanceId != -1); | 2507 assert(result.instanceId != -1); |
2507 } | 2508 } |
2509 #endif | |
2508 | 2510 |
2509 | 2511 |
2510 void IndexBackend::Register(IndexBackend* backend, | 2512 void IndexBackend::Register(IndexBackend* backend, |
2511 size_t countConnections, | 2513 size_t countConnections, |
2512 unsigned int maxDatabaseRetries) | 2514 unsigned int maxDatabaseRetries) |