Mercurial > hg > orthanc
comparison OrthancServer/DicomProtocol/DicomFindAnswers.h @ 1800:30e97a1f4093 worklists
callback for handling worklists with plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 20 Nov 2015 13:53:20 +0100 |
parents | bdcc1dba4a53 |
children | b1291df2f780 |
comparison
equal
deleted
inserted
replaced
1799:4f01c9d73f02 | 1800:30e97a1f4093 |
---|---|
40 { | 40 { |
41 private: | 41 private: |
42 class Answer; | 42 class Answer; |
43 | 43 |
44 std::vector<Answer*> answers_; | 44 std::vector<Answer*> answers_; |
45 bool complete_; | |
45 | 46 |
46 Answer& GetAnswerInternal(size_t index) const; | 47 Answer& GetAnswerInternal(size_t index) const; |
47 | 48 |
48 public: | 49 public: |
50 DicomFindAnswers() : complete_(true) | |
51 { | |
52 } | |
53 | |
49 ~DicomFindAnswers() | 54 ~DicomFindAnswers() |
50 { | 55 { |
51 Clear(); | 56 Clear(); |
52 } | 57 } |
53 | 58 |
75 bool simplify) const; | 80 bool simplify) const; |
76 | 81 |
77 void ToJson(Json::Value& target, | 82 void ToJson(Json::Value& target, |
78 size_t index, | 83 size_t index, |
79 bool simplify) const; | 84 bool simplify) const; |
85 | |
86 bool IsComplete() const | |
87 { | |
88 return complete_; | |
89 } | |
90 | |
91 void SetComplete(bool isComplete) | |
92 { | |
93 complete_ = isComplete; | |
94 } | |
80 }; | 95 }; |
81 } | 96 } |