Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.cpp @ 1728:4941494b5dd8 db-changes
rename LookupIdentifier as LookupIdentifierExact
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Oct 2015 15:03:52 +0200 |
parents | 1ae29c5e52fb |
children | b3de74dec2d5 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp Tue Oct 20 14:50:10 2015 +0200 +++ b/OrthancServer/ServerIndex.cpp Tue Oct 20 15:03:52 2015 +0200 @@ -1888,10 +1888,10 @@ - void ServerIndex::LookupIdentifier(std::list<std::string>& result, - ResourceType level, - const DicomTag& tag, - const std::string& value) + void ServerIndex::LookupIdentifierExact(std::list<std::string>& result, + ResourceType level, + const DicomTag& tag, + const std::string& value) { assert((level == ResourceType_Patient && tag == DICOM_TAG_PATIENT_ID) || (level == ResourceType_Study && tag == DICOM_TAG_STUDY_INSTANCE_UID) || @@ -1904,7 +1904,7 @@ boost::mutex::scoped_lock lock(mutex_); std::list<int64_t> id; - db_.LookupIdentifier(id, level, tag, value); + db_.LookupIdentifierExact(id, level, tag, value); for (std::list<int64_t>::const_iterator it = id.begin(); it != id.end(); ++it)