comparison OrthancFramework/Sources/DicomFormat/DicomValue.cpp @ 4296:3b70a2e6a06c

moving inline methods to source files for ABI compatibility
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 15:52:28 +0100
parents bf7b9edf6b81
children 785a2713323e
comparison
equal deleted inserted replaced
4295:90f91b78d708 4296:3b70a2e6a06c
29 29
30 #include <boost/lexical_cast.hpp> 30 #include <boost/lexical_cast.hpp>
31 31
32 namespace Orthanc 32 namespace Orthanc
33 { 33 {
34 DicomValue::DicomValue(const DicomValue& other) : 34 Orthanc::DicomValue::DicomValue() :
35 type_(Type_Null)
36 {
37 }
38
39
40 DicomValue::DicomValue(const DicomValue& other) :
35 type_(other.type_), 41 type_(other.type_),
36 content_(other.content_) 42 content_(other.content_)
37 { 43 {
38 } 44 }
39 45
63 } 69 }
64 else 70 else
65 { 71 {
66 return content_; 72 return content_;
67 } 73 }
74 }
75
76 bool DicomValue::IsNull() const
77 {
78 return type_ == Type_Null;
79 }
80
81 bool DicomValue::IsBinary() const
82 {
83 return type_ == Type_Binary;
68 } 84 }
69 85
70 86
71 DicomValue* DicomValue::Clone() const 87 DicomValue* DicomValue::Clone() const
72 { 88 {