Mercurial > hg > orthanc-databases
comparison SQLite/Plugins/SQLiteIndex.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. |
42 fast_ = fast; | 44 fast_ = fast; |
43 } | 45 } |
44 | 46 |
45 virtual IDatabaseFactory* CreateDatabaseFactory() ORTHANC_OVERRIDE; | 47 virtual IDatabaseFactory* CreateDatabaseFactory() ORTHANC_OVERRIDE; |
46 | 48 |
47 virtual void ConfigureDatabase(DatabaseManager& manager) ORTHANC_OVERRIDE; | 49 virtual void ConfigureDatabase(DatabaseManager& manager, |
50 bool hasIdentifierTags, | |
51 const std::list<IdentifierTag>& identifierTags) ORTHANC_OVERRIDE; | |
48 | 52 |
49 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE | 53 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE |
50 { | 54 { |
51 return true; | 55 return true; |
52 } | 56 } |
60 const char* publicId, | 64 const char* publicId, |
61 OrthancPluginResourceType type) ORTHANC_OVERRIDE; | 65 OrthancPluginResourceType type) ORTHANC_OVERRIDE; |
62 | 66 |
63 // New primitive since Orthanc 1.5.2 | 67 // New primitive since Orthanc 1.5.2 |
64 virtual int64_t GetLastChangeIndex(DatabaseManager& manager) ORTHANC_OVERRIDE; | 68 virtual int64_t GetLastChangeIndex(DatabaseManager& manager) ORTHANC_OVERRIDE; |
69 | |
70 // New primitive since Orthanc 1.12.0 | |
71 virtual bool HasLabelsSupport() const ORTHANC_OVERRIDE | |
72 { | |
73 return true; | |
74 } | |
75 | |
76 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5) | |
77 virtual bool HasFindSupport() const ORTHANC_OVERRIDE; | |
78 #endif | |
79 | |
80 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5) | |
81 virtual void ExecuteFind(Orthanc::DatabasePluginMessages::TransactionResponse& response, | |
82 DatabaseManager& manager, | |
83 const Orthanc::DatabasePluginMessages::Find_Request& request) ORTHANC_OVERRIDE; | |
84 #endif | |
65 }; | 85 }; |
66 } | 86 } |