diff OrthancFramework/Sources/DicomFormat/DicomArray.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/DicomArray.cpp	Thu Nov 05 12:01:11 2020 +0100
+++ b/OrthancFramework/Sources/DicomFormat/DicomArray.cpp	Thu Nov 05 15:52:28 2020 +0100
@@ -48,6 +48,18 @@
   }
 
 
+  size_t Orthanc::DicomArray::GetSize() const
+  {
+    return elements_.size();
+  }
+
+
+  const DicomElement &DicomArray::GetElement(size_t i) const
+  {
+    return *elements_[i];
+  }
+
+
   void DicomArray::Print(FILE* fp) const
   {
     for (size_t  i = 0; i < elements_.size(); i++)