Mercurial > hg > orthanc-databases
diff Framework/Common/BinaryStringValue.h @ 243:f5dc59c56e65
simplification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Apr 2021 17:53:53 +0200 |
parents | 3236894320d6 |
children | 16aac0287485 |
line wrap: on
line diff
--- a/Framework/Common/BinaryStringValue.h Tue Apr 13 17:00:02 2021 +0200 +++ b/Framework/Common/BinaryStringValue.h Tue Apr 13 17:53:53 2021 +0200 @@ -33,26 +33,11 @@ std::string content_; public: - explicit BinaryStringValue() - { - } - explicit BinaryStringValue(const std::string& content) : content_(content) { } - BinaryStringValue(const void* content, - size_t size) - { - content_.assign(reinterpret_cast<const char*>(content), size); - } - - std::string& GetContent() - { - return content_; - } - const std::string& GetContent() const { return content_; @@ -74,7 +59,5 @@ } virtual IValue* Convert(ValueType target) const ORTHANC_OVERRIDE; - - virtual std::string Format() const ORTHANC_OVERRIDE; }; }