Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.h @ 4297:785a2713323e
abi continued
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 17:20:49 +0100 |
parents | 2007ab69ac16 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.h Thu Nov 05 15:52:28 2020 +0100 +++ b/OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.h Thu Nov 05 17:20:49 2020 +0100 @@ -73,26 +73,13 @@ static Json::Value FormatDouble(double value); public: - DicomWebJsonVisitor() : - formatter_(NULL) - { - Clear(); - } + DicomWebJsonVisitor(); - void SetFormatter(IBinaryFormatter& formatter) - { - formatter_ = &formatter; - } + void SetFormatter(IBinaryFormatter& formatter); - void Clear() - { - result_ = Json::objectValue; - } + void Clear(); - const Json::Value& GetResult() const - { - return result_; - } + const Json::Value& GetResult() const; #if ORTHANC_ENABLE_PUGIXML == 1 void FormatXml(std::string& target) const; @@ -102,9 +89,7 @@ const std::vector<size_t>& parentIndexes, const DicomTag& tag, ValueRepresentation vr) - ORTHANC_OVERRIDE - { - } + ORTHANC_OVERRIDE; virtual void VisitEmptySequence(const std::vector<DicomTag>& parentTags, const std::vector<size_t>& parentIndexes,