comparison Framework/Common/FileValue.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 FileValue : public IValue 30 class FileValue : public IValue
29 { 31 {
74 size_t GetSize() const 76 size_t GetSize() const
75 { 77 {
76 return content_.size(); 78 return content_.size();
77 } 79 }
78 80
79 virtual ValueType GetType() const 81 virtual ValueType GetType() const ORTHANC_OVERRIDE
80 { 82 {
81 return ValueType_File; 83 return ValueType_File;
82 } 84 }
83 85
84 virtual IValue* Convert(ValueType target) const; 86 virtual IValue* Convert(ValueType target) const ORTHANC_OVERRIDE;
85 87
86 virtual std::string Format() const; 88 virtual std::string Format() const ORTHANC_OVERRIDE;
87 }; 89 };
88 } 90 }