Mercurial > hg > orthanc
comparison Plugins/Samples/DatabasePlugin/Database.h @ 1718:2b812969e136 db-changes
getting rid of an IDatabaseWrapper::LookupIdentifier flavor
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Oct 2015 10:11:22 +0200 |
parents | 81d718bba599 |
children | 1ae29c5e52fb |
comparison
equal
deleted
inserted
replaced
1717:3926e6317a43 | 1718:2b812969e136 |
---|---|
193 const char* value) | 193 const char* value) |
194 { | 194 { |
195 base_.LookupIdentifier(target, Orthanc::DicomTag(group, element), value); | 195 base_.LookupIdentifier(target, Orthanc::DicomTag(group, element), value); |
196 } | 196 } |
197 | 197 |
198 virtual void LookupIdentifier(std::list<int64_t>& target /*out*/, | |
199 const char* value) | |
200 { | |
201 base_.LookupIdentifier(target, value); | |
202 } | |
203 | |
204 virtual bool LookupMetadata(std::string& target /*out*/, | 198 virtual bool LookupMetadata(std::string& target /*out*/, |
205 int64_t id, | 199 int64_t id, |
206 int32_t metadataType) | 200 int32_t metadataType) |
207 { | 201 { |
208 return base_.LookupMetadata(target, id, static_cast<Orthanc::MetadataType>(metadataType)); | 202 return base_.LookupMetadata(target, id, static_cast<Orthanc::MetadataType>(metadataType)); |