comparison Core/RestApi/RestApiOutput.h @ 285:4031f73fe0e4

access to the raw dicom tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Dec 2012 17:53:14 +0100
parents e5d5d4a9a326
children 78a8eaa5f30b
comparison
equal deleted inserted replaced
284:06aa7b7b6723 285:4031f73fe0e4
50 public: 50 public:
51 RestApiOutput(HttpOutput& output); 51 RestApiOutput(HttpOutput& output);
52 52
53 ~RestApiOutput(); 53 ~RestApiOutput();
54 54
55 HttpOutput& GetLowLevelOutput()
56 {
57 return output_;
58 }
59
60 void MarkLowLevelOutputDone()
61 {
62 alreadySent_ = true;
63 }
64
55 void AnswerFile(HttpFileSender& sender); 65 void AnswerFile(HttpFileSender& sender);
56 66
57 void AnswerJson(const Json::Value& value); 67 void AnswerJson(const Json::Value& value);
58 68
59 void AnswerBuffer(const std::string& buffer, 69 void AnswerBuffer(const std::string& buffer,