comparison OrthancServer/Sources/StorageCommitmentReports.h @ 4205:d962a2996637

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 17:58:19 +0200
parents 05b8fd21089c
children 50b0c69b653a
comparison
equal deleted inserted replaced
4204:318c16cfccab 4205:d962a2996637
35 35
36 #include "../../OrthancFramework/Sources/Cache/LeastRecentlyUsedIndex.h" 36 #include "../../OrthancFramework/Sources/Cache/LeastRecentlyUsedIndex.h"
37 37
38 namespace Orthanc 38 namespace Orthanc
39 { 39 {
40 class StorageCommitmentReports 40 class StorageCommitmentReports : public boost::noncopyable
41 { 41 {
42 public: 42 public:
43 class Report : public boost::noncopyable 43 class Report : public boost::noncopyable
44 { 44 {
45 public: 45 public:
68 std::list<Success> success_; 68 std::list<Success> success_;
69 std::list<Failure> failures_; 69 std::list<Failure> failures_;
70 std::string remoteAet_; 70 std::string remoteAet_;
71 71
72 public: 72 public:
73 Report(const std::string& remoteAet) : 73 explicit Report(const std::string& remoteAet) :
74 isComplete_(false), 74 isComplete_(false),
75 remoteAet_(remoteAet) 75 remoteAet_(remoteAet)
76 { 76 {
77 } 77 }
78 78
103 boost::mutex mutex_; 103 boost::mutex mutex_;
104 Content content_; 104 Content content_;
105 size_t maxSize_; 105 size_t maxSize_;
106 106
107 public: 107 public:
108 StorageCommitmentReports(size_t maxSize) : 108 explicit StorageCommitmentReports(size_t maxSize) :
109 maxSize_(maxSize) 109 maxSize_(maxSize)
110 { 110 {
111 } 111 }
112 112
113 ~StorageCommitmentReports(); 113 ~StorageCommitmentReports();