5516
|
1 /**
|
|
2 * Orthanc - A Lightweight, RESTful DICOM Store
|
|
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
|
|
4 * Department, University Hospital of Liege, Belgium
|
|
5 * Copyright (C) 2017-2024 Osimis S.A., Belgium
|
|
6 * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
|
|
7 *
|
|
8 * This program is free software: you can redistribute it and/or
|
|
9 * modify it under the terms of the GNU General Public License as
|
|
10 * published by the Free Software Foundation, either version 3 of the
|
|
11 * License, or (at your option) any later version.
|
|
12 *
|
|
13 * This program is distributed in the hope that it will be useful, but
|
|
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
16 * General Public License for more details.
|
|
17 *
|
|
18 * You should have received a copy of the GNU General Public License
|
|
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20 **/
|
|
21
|
|
22
|
|
23 #include "BaseDatabaseWrapper.h"
|
|
24
|
|
25 #include "../../../OrthancFramework/Sources/OrthancException.h"
|
|
26
|
|
27 namespace Orthanc
|
|
28 {
|
|
29 int64_t BaseDatabaseWrapper::BaseTransaction::IncrementGlobalProperty(GlobalProperty property,
|
|
30 int64_t increment,
|
|
31 bool shared)
|
|
32 {
|
|
33 throw OrthancException(ErrorCode_NotImplemented); // Not supported
|
|
34 }
|
|
35
|
|
36
|
|
37 void BaseDatabaseWrapper::BaseTransaction::UpdateAndGetStatistics(int64_t& patientsCount,
|
|
38 int64_t& studiesCount,
|
|
39 int64_t& seriesCount,
|
|
40 int64_t& instancesCount,
|
|
41 int64_t& compressedSize,
|
|
42 int64_t& uncompressedSize)
|
|
43 {
|
|
44 throw OrthancException(ErrorCode_NotImplemented); // Not supported
|
|
45 }
|
5518
|
46
|
|
47
|
|
48 uint64_t BaseDatabaseWrapper::MeasureLatency()
|
|
49 {
|
|
50 throw OrthancException(ErrorCode_NotImplemented); // only implemented in V4
|
|
51 }
|
5516
|
52 }
|