Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 1725:a7c05bbfaf6a db-changes
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Oct 2015 11:21:36 +0200 |
parents | 3bcb01028107 |
children | 1ae29c5e52fb ec66a16aa398 |
comparison
equal
deleted
inserted
replaced
1724:7e0b5e413c7c | 1725:a7c05bbfaf6a |
---|---|
1891 void ServerIndex::LookupIdentifier(std::list<std::string>& result, | 1891 void ServerIndex::LookupIdentifier(std::list<std::string>& result, |
1892 const DicomTag& tag, | 1892 const DicomTag& tag, |
1893 const std::string& value, | 1893 const std::string& value, |
1894 ResourceType type) | 1894 ResourceType type) |
1895 { | 1895 { |
1896 assert(tag == DICOM_TAG_PATIENT_ID || | |
1897 tag == DICOM_TAG_STUDY_INSTANCE_UID || | |
1898 tag == DICOM_TAG_SERIES_INSTANCE_UID || | |
1899 tag == DICOM_TAG_SOP_INSTANCE_UID || | |
1900 tag == DICOM_TAG_ACCESSION_NUMBER); | |
1901 | |
1896 result.clear(); | 1902 result.clear(); |
1897 | 1903 |
1898 boost::mutex::scoped_lock lock(mutex_); | 1904 boost::mutex::scoped_lock lock(mutex_); |
1899 | 1905 |
1900 std::list<int64_t> id; | 1906 std::list<int64_t> id; |