Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/IDatabaseWrapper.h @ 5725:95a3802ad133 find-refactoring
initial implementation of protobuf for find
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 19 Jul 2024 14:02:22 +0200 |
parents | 89d559e67b03 |
children | ca06dde85358 |
comparison
equal
deleted
inserted
replaced
5724:b7bf515864a2 | 5725:95a3802ad133 |
---|---|
52 bool hasRevisionsSupport_; | 52 bool hasRevisionsSupport_; |
53 bool hasLabelsSupport_; | 53 bool hasLabelsSupport_; |
54 bool hasAtomicIncrementGlobalProperty_; | 54 bool hasAtomicIncrementGlobalProperty_; |
55 bool hasUpdateAndGetStatistics_; | 55 bool hasUpdateAndGetStatistics_; |
56 bool hasMeasureLatency_; | 56 bool hasMeasureLatency_; |
57 bool hasFindSupport_; | |
57 | 58 |
58 public: | 59 public: |
59 Capabilities() : | 60 Capabilities() : |
60 hasFlushToDisk_(false), | 61 hasFlushToDisk_(false), |
61 hasRevisionsSupport_(false), | 62 hasRevisionsSupport_(false), |
62 hasLabelsSupport_(false), | 63 hasLabelsSupport_(false), |
63 hasAtomicIncrementGlobalProperty_(false), | 64 hasAtomicIncrementGlobalProperty_(false), |
64 hasUpdateAndGetStatistics_(false), | 65 hasUpdateAndGetStatistics_(false), |
65 hasMeasureLatency_(false) | 66 hasMeasureLatency_(false), |
67 hasFindSupport_(false) | |
66 { | 68 { |
67 } | 69 } |
68 | 70 |
69 void SetFlushToDisk(bool value) | 71 void SetFlushToDisk(bool value) |
70 { | 72 { |
122 } | 124 } |
123 | 125 |
124 bool HasMeasureLatency() const | 126 bool HasMeasureLatency() const |
125 { | 127 { |
126 return hasMeasureLatency_; | 128 return hasMeasureLatency_; |
129 } | |
130 | |
131 void SetHasFindSupport(bool value) | |
132 { | |
133 hasFindSupport_ = value; | |
134 } | |
135 | |
136 bool HasFindSupport() const | |
137 { | |
138 return hasFindSupport_; | |
127 } | 139 } |
128 }; | 140 }; |
129 | 141 |
130 | 142 |
131 struct CreateInstanceResult : public boost::noncopyable | 143 struct CreateInstanceResult : public boost::noncopyable |