Mercurial > hg > orthanc-databases
comparison MySQL/Plugins/MySQLIndex.h @ 569:f18e46d7dbf8 attach-custom-data
merged find-refactoring -> attach-custom-data
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 24 Sep 2024 15:04:21 +0200 |
parents | cd9521e04249 451125122692 |
children |
comparison
equal
deleted
inserted
replaced
368:82f73188b58d | 569:f18e46d7dbf8 |
---|---|
1 /** | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | 2 * Orthanc - A Lightweight, RESTful DICOM Store |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
4 * Department, University Hospital of Liege, Belgium | 4 * Department, University Hospital of Liege, Belgium |
5 * Copyright (C) 2017-2021 Osimis S.A., Belgium | 5 * Copyright (C) 2017-2023 Osimis S.A., Belgium |
6 * Copyright (C) 2024-2024 Orthanc Team SRL, Belgium | |
7 * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | |
6 * | 8 * |
7 * This program is free software: you can redistribute it and/or | 9 * This program is free software: you can redistribute it and/or |
8 * modify it under the terms of the GNU Affero General Public License | 10 * modify it under the terms of the GNU Affero General Public License |
9 * as published by the Free Software Foundation, either version 3 of | 11 * as published by the Free Software Foundation, either version 3 of |
10 * the License, or (at your option) any later version. | 12 * the License, or (at your option) any later version. |
41 clearAll_ = clear; | 43 clearAll_ = clear; |
42 } | 44 } |
43 | 45 |
44 virtual IDatabaseFactory* CreateDatabaseFactory() ORTHANC_OVERRIDE; | 46 virtual IDatabaseFactory* CreateDatabaseFactory() ORTHANC_OVERRIDE; |
45 | 47 |
46 virtual void ConfigureDatabase(DatabaseManager& database) ORTHANC_OVERRIDE; | 48 virtual void ConfigureDatabase(DatabaseManager& database, |
49 bool hasIdentifierTags, | |
50 const std::list<IdentifierTag>& identifierTags) ORTHANC_OVERRIDE; | |
47 | 51 |
48 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE | 52 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE |
49 { | 53 { |
50 return true; | 54 return true; |
51 } | 55 } |
78 const char* hashStudy, | 82 const char* hashStudy, |
79 const char* hashSeries, | 83 const char* hashSeries, |
80 const char* hashInstance) | 84 const char* hashInstance) |
81 ORTHANC_OVERRIDE; | 85 ORTHANC_OVERRIDE; |
82 #endif | 86 #endif |
87 | |
88 // New primitive since Orthanc 1.12.0 | |
89 virtual bool HasLabelsSupport() const ORTHANC_OVERRIDE | |
90 { | |
91 return true; | |
92 } | |
93 | |
94 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5) | |
95 virtual bool HasFindSupport() const ORTHANC_OVERRIDE; | |
96 #endif | |
97 | |
98 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5) | |
99 virtual void ExecuteFind(Orthanc::DatabasePluginMessages::TransactionResponse& response, | |
100 DatabaseManager& manager, | |
101 const Orthanc::DatabasePluginMessages::Find_Request& request) ORTHANC_OVERRIDE; | |
102 #endif | |
83 }; | 103 }; |
84 } | 104 } |