Mercurial > hg > orthanc
diff Core/DicomParsing/DicomWebJsonVisitor.h @ 3203:810772486249
URI "/instances/.../file" can return DICOMweb JSON or XML, depending on Accept header
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 06 Feb 2019 15:45:16 +0100 |
parents | ef4d86d05503 |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/Core/DicomParsing/DicomWebJsonVisitor.h Wed Feb 06 15:21:32 2019 +0100 +++ b/Core/DicomParsing/DicomWebJsonVisitor.h Wed Feb 06 15:45:16 2019 +0100 @@ -37,10 +37,6 @@ # error Macro ORTHANC_ENABLE_PUGIXML must be defined to use this file #endif -#if ORTHANC_ENABLE_PUGIXML == 1 -# include <pugixml.hpp> -#endif - #include "ITagVisitor.h" #include <json/value.h> @@ -109,7 +105,7 @@ } #if ORTHANC_ENABLE_PUGIXML == 1 - void FormatXml(pugi::xml_document& target) const; + void FormatXml(std::string& target) const; #endif virtual void VisitNotSupported(const std::vector<DicomTag>& parentTags,