comparison Framework/Common/BinaryStringValue.h @ 186:6fe74f9a516e

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Dec 2020 15:05:19 +0100
parents 4cd7e45b671e
children 3236894320d6
comparison
equal deleted inserted replaced
185:7c46155b5bb4 186:6fe74f9a516e
20 20
21 21
22 #pragma once 22 #pragma once
23 23
24 #include "IValue.h" 24 #include "IValue.h"
25
26 #include <Compatibility.h>
25 27
26 namespace OrthancDatabases 28 namespace OrthancDatabases
27 { 29 {
28 class BinaryStringValue : public IValue 30 class BinaryStringValue : public IValue
29 { 31 {
64 size_t GetSize() const 66 size_t GetSize() const
65 { 67 {
66 return content_.size(); 68 return content_.size();
67 } 69 }
68 70
69 virtual ValueType GetType() const 71 virtual ValueType GetType() const ORTHANC_OVERRIDE
70 { 72 {
71 return ValueType_BinaryString; 73 return ValueType_BinaryString;
72 } 74 }
73 75
74 virtual IValue* Convert(ValueType target) const; 76 virtual IValue* Convert(ValueType target) const ORTHANC_OVERRIDE;
75 77
76 virtual std::string Format() const; 78 virtual std::string Format() const ORTHANC_OVERRIDE;
77 }; 79 };
78 } 80 }