comparison Core/DicomFormat/DicomValue.cpp @ 1761:f4286d99ee0a db-changes

fix sample database plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Oct 2015 11:22:48 +0100
parents 15a788a63846
children b1291df2f780
comparison
equal deleted inserted replaced
1760:51db4a25a741 1761:f4286d99ee0a
79 { 79 {
80 return new DicomValue(*this); 80 return new DicomValue(*this);
81 } 81 }
82 82
83 83
84 #if !defined(ORTHANC_ENABLE_BASE64) || ORTHANC_ENABLE_BASE64 == 1
84 void DicomValue::FormatDataUriScheme(std::string& target, 85 void DicomValue::FormatDataUriScheme(std::string& target,
85 const std::string& mime) const 86 const std::string& mime) const
86 { 87 {
87 Toolbox::EncodeBase64(target, GetContent()); 88 Toolbox::EncodeBase64(target, GetContent());
88 target.insert(0, "data:" + mime + ";base64,"); 89 target.insert(0, "data:" + mime + ";base64,");
89 } 90 }
91 #endif
92
90 } 93 }