Mercurial > hg > orthanc
comparison Core/DicomFormat/DicomValue.cpp @ 2139:764c9157301b
cleaning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 15:25:09 +0100 |
parents | b1291df2f780 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2138:41b70d5b44c9 | 2139:764c9157301b |
---|---|
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 #if ORTHANC_ENABLE_BASE64 == 1 |
85 void DicomValue::FormatDataUriScheme(std::string& target, | 85 void DicomValue::FormatDataUriScheme(std::string& target, |
86 const std::string& mime) const | 86 const std::string& mime) const |
87 { | 87 { |
88 Toolbox::EncodeBase64(target, GetContent()); | 88 Toolbox::EncodeBase64(target, GetContent()); |
89 target.insert(0, "data:" + mime + ";base64,"); | 89 target.insert(0, "data:" + mime + ";base64,"); |