diff 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
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomValue.cpp	Thu Nov 05 12:01:11 2020 +0100
+++ b/OrthancFramework/Sources/DicomFormat/DicomValue.cpp	Thu Nov 05 15:52:28 2020 +0100
@@ -31,7 +31,13 @@
 
 namespace Orthanc
 {
-  DicomValue::DicomValue(const DicomValue& other) : 
+  Orthanc::DicomValue::DicomValue() :
+    type_(Type_Null)
+  {
+  }
+
+
+  DicomValue::DicomValue(const DicomValue& other) :
     type_(other.type_),
     content_(other.content_)
   {
@@ -67,6 +73,16 @@
     }
   }
 
+  bool DicomValue::IsNull() const
+  {
+    return type_ == Type_Null;
+  }
+
+  bool DicomValue::IsBinary() const
+  {
+    return type_ == Type_Binary;
+  }
+
 
   DicomValue* DicomValue::Clone() const
   {