Mercurial > hg > orthanc-databases
comparison Framework/Common/Integer64Value.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 |
---|---|
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "IValue.h" | 24 #include "IValue.h" |
25 | 25 |
26 #include <Compatibility.h> | |
27 | |
26 #include <stdint.h> | 28 #include <stdint.h> |
27 | 29 |
28 namespace OrthancDatabases | 30 namespace OrthancDatabases |
29 { | 31 { |
30 class Integer64Value : public IValue | 32 class Integer64Value : public IValue |
41 int64_t GetValue() const | 43 int64_t GetValue() const |
42 { | 44 { |
43 return value_; | 45 return value_; |
44 } | 46 } |
45 | 47 |
46 virtual ValueType GetType() const | 48 virtual ValueType GetType() const ORTHANC_OVERRIDE |
47 { | 49 { |
48 return ValueType_Integer64; | 50 return ValueType_Integer64; |
49 } | 51 } |
50 | 52 |
51 virtual IValue* Convert(ValueType target) const; | 53 virtual IValue* Convert(ValueType target) const ORTHANC_OVERRIDE; |
52 | 54 |
53 virtual std::string Format() const; | 55 virtual std::string Format() const ORTHANC_OVERRIDE; |
54 }; | 56 }; |
55 } | 57 } |