comparison Core/DicomFormat/DicomValue.h @ 2138:41b70d5b44c9

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 15:18:03 +0100
parents b1291df2f780
children a3a65de1840f
comparison
equal deleted inserted replaced
2137:595cf22b3e7e 2138:41b70d5b44c9
32 32
33 #pragma once 33 #pragma once
34 34
35 #include <string> 35 #include <string>
36 #include <boost/noncopyable.hpp> 36 #include <boost/noncopyable.hpp>
37
38 #if !defined(ORTHANC_ENABLE_BASE64)
39 # error The macro ORTHANC_ENABLE_BASE64 must be defined
40 #endif
41
37 42
38 namespace Orthanc 43 namespace Orthanc
39 { 44 {
40 class DicomValue : public boost::noncopyable 45 class DicomValue : public boost::noncopyable
41 { 46 {
76 return type_ == Type_Binary; 81 return type_ == Type_Binary;
77 } 82 }
78 83
79 DicomValue* Clone() const; 84 DicomValue* Clone() const;
80 85
81 #if !defined(ORTHANC_ENABLE_BASE64) || ORTHANC_ENABLE_BASE64 == 1 86 #if ORTHANC_ENABLE_BASE64 == 1
82 void FormatDataUriScheme(std::string& target, 87 void FormatDataUriScheme(std::string& target,
83 const std::string& mime) const; 88 const std::string& mime) const;
84 89
85 void FormatDataUriScheme(std::string& target) const 90 void FormatDataUriScheme(std::string& target) const
86 { 91 {