comparison OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp @ 5516:d9c9f3c57f4f pg-transactions

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 Jan 2024 18:18:07 +0100
parents
children bbe45a71f5cd
comparison
equal deleted inserted replaced
5515:f9e6d366661a 5516:d9c9f3c57f4f
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 }
46 }