comparison OrthancServer/Sources/ServerContext.h @ 5712:52771e1a8072 find-refactoring-clean

removed ServerContext::ExpandResource()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 12 Jul 2024 19:05:16 +0200
parents c8d21a09aae6
children 9d6167ddcb35
comparison
equal deleted inserted replaced
5711:31eb66eaed86 5712:52771e1a8072
559 559
560 bool IsUnknownSopClassAccepted(); 560 bool IsUnknownSopClassAccepted();
561 561
562 void SetUnknownSopClassAccepted(bool accepted); 562 void SetUnknownSopClassAccepted(bool accepted);
563 563
564 bool ExpandResource(Json::Value& target,
565 const std::string& publicId,
566 ResourceType level,
567 DicomToJsonFormat format,
568 const std::set<DicomTag>& requestedTags,
569 bool allowStorageAccess);
570
571 bool ExpandResource(Json::Value& target,
572 const std::string& publicId,
573 const DicomMap& mainDicomTags, // optional: the main dicom tags for the resource (if already available)
574 const std::string& instanceId, // optional: the id of an instance for the resource
575 const Json::Value* dicomAsJson, // optional: the dicom-as-json for the resource
576 ResourceType level,
577 DicomToJsonFormat format,
578 const std::set<DicomTag>& requestedTags,
579 bool allowStorageAccess);
580
581 bool ExpandResource(ExpandedResource& target,
582 const std::string& publicId,
583 const DicomMap& mainDicomTags, // optional: the main dicom tags for the resource (if already available)
584 const std::string& instanceId, // optional: the id of an instance for the resource
585 const Json::Value* dicomAsJson, // optional: the dicom-as-json for the resource
586 ResourceType level,
587 const std::set<DicomTag>& requestedTags,
588 ExpandResourceFlags expandFlags,
589 bool allowStorageAccess);
590
591 FindStorageAccessMode GetFindStorageAccessMode() const 564 FindStorageAccessMode GetFindStorageAccessMode() const
592 { 565 {
593 return findStorageAccessMode_; 566 return findStorageAccessMode_;
594 } 567 }
595 568