Mercurial > hg > orthanc
diff OrthancServer/DicomProtocol/DicomFindAnswers.h @ 2059:8e67325eaa3f
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Jun 2016 20:02:21 +0200 |
parents | f0acfa753973 |
children | 6dc3bdb4088b |
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/DicomFindAnswers.h Thu Jun 30 08:20:23 2016 +0200 +++ b/OrthancServer/DicomProtocol/DicomFindAnswers.h Thu Jun 30 20:02:21 2016 +0200 @@ -41,13 +41,16 @@ private: class Answer; + bool isWorklist_; std::vector<Answer*> answers_; bool complete_; Answer& GetAnswerInternal(size_t index) const; public: - DicomFindAnswers() : complete_(true) + DicomFindAnswers(bool isWorklist) : + isWorklist_(isWorklist), + complete_(true) { } @@ -56,6 +59,13 @@ Clear(); } + void SetWorklist(bool isWorklist); + + bool IsWorklist() const + { + return isWorklist_; + } + void Clear(); void Reserve(size_t index);