Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.h @ 1750:55d52567bebb db-changes
LookupResource implemented
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 27 Oct 2015 12:45:50 +0100 |
parents | 4941494b5dd8 |
children | fb569ee09a69 |
comparison
equal
deleted
inserted
replaced
1749:99f4a05f39fa | 1750:55d52567bebb |
---|---|
43 #include "IDatabaseWrapper.h" | 43 #include "IDatabaseWrapper.h" |
44 | 44 |
45 | 45 |
46 namespace Orthanc | 46 namespace Orthanc |
47 { | 47 { |
48 class LookupResource; | |
48 class ServerContext; | 49 class ServerContext; |
49 | 50 |
50 class ServerIndex : public boost::noncopyable | 51 class ServerIndex : public boost::noncopyable |
51 { | 52 { |
52 public: | 53 public: |
259 | 260 |
260 bool LookupResourceType(ResourceType& type, | 261 bool LookupResourceType(ResourceType& type, |
261 const std::string& publicId); | 262 const std::string& publicId); |
262 | 263 |
263 unsigned int GetDatabaseVersion(); | 264 unsigned int GetDatabaseVersion(); |
265 | |
266 void Apply(std::list<std::string>& result, | |
267 ::Orthanc::LookupResource& lookup, | |
268 IStorageArea& area); | |
264 }; | 269 }; |
265 } | 270 } |