Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.cpp @ 1721:3bcb01028107 db-changes
removed another flavor of ServerIndex::LookupIdentifier
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Oct 2015 10:39:21 +0200 |
parents | 88b74d8512be |
children | a7c05bbfaf6a |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp Tue Oct 20 10:24:10 2015 +0200 +++ b/OrthancServer/ServerIndex.cpp Tue Oct 20 10:39:21 2015 +0200 @@ -1911,25 +1911,6 @@ } - void ServerIndex::LookupIdentifier(std::list<std::string>& result, - const DicomTag& tag, - const std::string& value) - { - result.clear(); - - boost::mutex::scoped_lock lock(mutex_); - - std::list<int64_t> id; - db_.LookupIdentifier(id, tag, value); - - for (std::list<int64_t>::const_iterator - it = id.begin(); it != id.end(); ++it) - { - result.push_back(db_.GetPublicId(*it)); - } - } - - StoreStatus ServerIndex::AddAttachment(const FileInfo& attachment, const std::string& publicId) {