Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 1751:fb569ee09a69 db-changes
LookupResource complete
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 27 Oct 2015 16:05:42 +0100 |
parents | 55d52567bebb |
children | faf2ecab3472 |
comparison
equal
deleted
inserted
replaced
1750:55d52567bebb | 1751:fb569ee09a69 |
---|---|
2113 boost::mutex::scoped_lock lock(mutex_); | 2113 boost::mutex::scoped_lock lock(mutex_); |
2114 return db_.GetDatabaseVersion(); | 2114 return db_.GetDatabaseVersion(); |
2115 } | 2115 } |
2116 | 2116 |
2117 | 2117 |
2118 void ServerIndex::Apply(std::list<std::string>& result, | 2118 bool ServerIndex::Apply(std::list<std::string>& result, |
2119 ::Orthanc::LookupResource& lookup, | 2119 ::Orthanc::LookupResource& lookup, |
2120 IStorageArea& area) | 2120 IStorageArea& area) |
2121 { | 2121 { |
2122 boost::mutex::scoped_lock lock(mutex_); | 2122 return lookup.Apply(result, mutex_, db_, area); |
2123 lookup.Apply(result, db_, area); | |
2124 } | 2123 } |
2125 } | 2124 } |