Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.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 | a903d57d9f0c |
children | 88b74d8512be |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h Mon Oct 19 17:45:34 2015 +0200 +++ b/OrthancServer/ServerIndex.h Tue Oct 20 10:11:22 2015 +0200 @@ -52,6 +52,7 @@ public: typedef std::list<FileInfo> Attachments; typedef std::map< std::pair<ResourceType, MetadataType>, std::string> MetadataMap; + typedef std::list< std::pair<ResourceType, std::string> > LookupResults; private: class Listener; @@ -244,7 +245,8 @@ const DicomTag& tag, const std::string& value); - void LookupIdentifier(std::list< std::pair<ResourceType, std::string> >& result, + void LookupIdentifier(LookupResults& result, + const DicomTag& tag, const std::string& value); StoreStatus AddAttachment(const FileInfo& attachment,