Mercurial > hg > orthanc
comparison OrthancServer/Search/LookupIdentifierQuery.h @ 1750:55d52567bebb db-changes
LookupResource implemented
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 27 Oct 2015 12:45:50 +0100 |
parents | 99f4a05f39fa |
children | 318c2e83c2bd |
comparison
equal
deleted
inserted
replaced
1749:99f4a05f39fa | 1750:55d52567bebb |
---|---|
32 | 32 |
33 #pragma once | 33 #pragma once |
34 | 34 |
35 #include "../ServerEnumerations.h" | 35 #include "../ServerEnumerations.h" |
36 #include "../IDatabaseWrapper.h" | 36 #include "../IDatabaseWrapper.h" |
37 | |
38 #include "SetOfResources.h" | |
37 | 39 |
38 #include <vector> | 40 #include <vector> |
39 #include <boost/noncopyable.hpp> | 41 #include <boost/noncopyable.hpp> |
40 | 42 |
41 namespace Orthanc | 43 namespace Orthanc |
159 | 161 |
160 // The database must be locked | 162 // The database must be locked |
161 void Apply(std::list<std::string>& result, | 163 void Apply(std::list<std::string>& result, |
162 IDatabaseWrapper& database); | 164 IDatabaseWrapper& database); |
163 | 165 |
166 void Apply(SetOfResources& result, | |
167 IDatabaseWrapper& database); | |
168 | |
164 static void LoadIdentifiers(const DicomTag*& tags, | 169 static void LoadIdentifiers(const DicomTag*& tags, |
165 size_t& size, | 170 size_t& size, |
166 ResourceType level); | 171 ResourceType level); |
167 | 172 |
168 static bool IsIdentifier(const DicomTag& tag, | 173 static bool IsIdentifier(const DicomTag& tag, |