Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerJobs/ArchiveJob.h @ 5169:8b74aa4f3515
enforce the existence of the patient/study/instance while creating its archive
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 24 Feb 2023 18:07:35 +0100 |
parents | df86d2505df8 |
children | 0ea402b4d901 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/ArchiveJob.h Wed Feb 22 11:10:40 2023 +0100 +++ b/OrthancServer/Sources/ServerJobs/ArchiveJob.h Fri Feb 24 18:07:35 2023 +0100 @@ -89,7 +89,9 @@ return description_; } - void AddResource(const std::string& publicId); + void AddResource(const std::string& publicId, + bool mustExist, + ResourceType expectedType); void SetTranscode(DicomTransferSyntax transferSyntax);