Mercurial > hg > orthanc
diff OrthancServer/ServerJobs/SplitStudyJob.h @ 2847:2da68edacab6
unit testing of SplitStudyJob
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 28 Sep 2018 19:17:04 +0200 |
parents | d386abc18133 |
children | 4e43e67f8ecf |
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/SplitStudyJob.h Fri Sep 28 18:36:20 2018 +0200 +++ b/OrthancServer/ServerJobs/SplitStudyJob.h Fri Sep 28 19:17:04 2018 +0200 @@ -78,6 +78,16 @@ return sourceStudy_; } + const std::string& GetTargetStudy() const + { + return targetStudy_; + } + + const std::string& GetTargetStudyUid() const + { + return targetStudyUid_; + } + void AddSourceSeries(const std::string& series); bool IsKeepSource() const @@ -87,11 +97,22 @@ void SetKeepSource(bool keep); + bool LookupTargetSeriesUid(std::string& uid, + const std::string& series) const; + void Replace(const DicomTag& tag, const std::string& value); + bool LookupReplacement(std::string& value, + const DicomTag& tag) const; + void Remove(const DicomTag& tag); + bool IsRemoved(const DicomTag& tag) const + { + return removals_.find(tag) != removals_.end(); + } + void SetOrigin(const DicomInstanceOrigin& origin); void SetOrigin(const RestApiCall& call);