Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
4295:90f91b78d708 | 4296:3b70a2e6a06c |
---|---|
46 delete elements_[i]; | 46 delete elements_[i]; |
47 } | 47 } |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 size_t Orthanc::DicomArray::GetSize() const | |
52 { | |
53 return elements_.size(); | |
54 } | |
55 | |
56 | |
57 const DicomElement &DicomArray::GetElement(size_t i) const | |
58 { | |
59 return *elements_[i]; | |
60 } | |
61 | |
62 | |
51 void DicomArray::Print(FILE* fp) const | 63 void DicomArray::Print(FILE* fp) const |
52 { | 64 { |
53 for (size_t i = 0; i < elements_.size(); i++) | 65 for (size_t i = 0; i < elements_.size(); i++) |
54 { | 66 { |
55 DicomTag t = elements_[i]->GetTag(); | 67 DicomTag t = elements_[i]->GetTag(); |