Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerContext.h @ 4196:37310bb1cd30
Fix handling of "ModalitiesInStudy" (0008,0061) in C-FIND and "/tools/find"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Sep 2020 13:22:30 +0200 |
parents | 05b8fd21089c |
children | 318c16cfccab |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h Wed Sep 16 10:22:25 2020 +0200 +++ b/OrthancServer/Sources/ServerContext.h Wed Sep 16 13:22:30 2020 +0200 @@ -80,6 +80,8 @@ virtual void MarkAsComplete() = 0; + // NB: "dicomAsJson" must *not* be deleted, and can be NULL if + // "!IsDicomAsJsonNeeded()" virtual void Visit(const std::string& publicId, const std::string& instanceId, const DicomMap& mainDicomTags, @@ -237,6 +239,12 @@ DicomInstanceToStore& dicom, StoreInstanceMode mode); + void ApplyInternal(ILookupVisitor& visitor, + const DatabaseLookup& lookup, + ResourceType queryLevel, + size_t since, + size_t limit); + public: class DicomCacheLocker : public boost::noncopyable {