comparison OrthancServer/ServerContext.h @ 3001:7695a9c81099

refactoring /tools/find using LookupResource::IVisitor
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Dec 2018 18:36:38 +0100
parents cb5d75143da0
children abe49ca61cd5
comparison
equal deleted inserted replaced
2998:0a52af0c66e7 3001:7695a9c81099
36 #include "DicomInstanceToStore.h" 36 #include "DicomInstanceToStore.h"
37 #include "IServerListener.h" 37 #include "IServerListener.h"
38 #include "LuaScripting.h" 38 #include "LuaScripting.h"
39 #include "OrthancHttpHandler.h" 39 #include "OrthancHttpHandler.h"
40 #include "ServerIndex.h" 40 #include "ServerIndex.h"
41 #include "Search/LookupResource.h"
41 42
42 #include "../Core/Cache/MemoryCache.h" 43 #include "../Core/Cache/MemoryCache.h"
43 #include "../Core/Cache/SharedArchive.h" 44 #include "../Core/Cache/SharedArchive.h"
44 #include "../Core/DicomParsing/ParsedDicomFile.h" 45 #include "../Core/DicomParsing/ParsedDicomFile.h"
45 #include "../Core/FileStorage/IStorageArea.h" 46 #include "../Core/FileStorage/IStorageArea.h"
332 return httpHandler_; 333 return httpHandler_;
333 } 334 }
334 335
335 void Stop(); 336 void Stop();
336 337
337 void Apply(bool& isComplete, 338 void Apply(LookupResource::IVisitor& visitor,
338 std::list<std::string>& result,
339 const ::Orthanc::LookupResource& lookup, 339 const ::Orthanc::LookupResource& lookup,
340 size_t since, 340 size_t since,
341 size_t limit); 341 size_t limit);
342 342
343 343