comparison OrthancFramework/Sources/DicomParsing/ParsedDicomDir.cpp @ 4297:785a2713323e

abi continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 17:20:49 +0100
parents 7112a8af0b63
children d9473bd5ed43
comparison
equal deleted inserted replaced
4296:3b70a2e6a06c 4297:785a2713323e
140 offsetToIndex_[*it] = index; 140 offsetToIndex_[*it] = index;
141 index ++; 141 index ++;
142 } 142 }
143 } 143 }
144 144
145 ParsedDicomDir::~ParsedDicomDir()
146 {
147 Clear();
148 }
149
150 size_t ParsedDicomDir::GetSize() const
151 {
152 return content_.size();
153 }
154
145 155
146 const DicomMap& ParsedDicomDir::GetItem(size_t i) const 156 const DicomMap& ParsedDicomDir::GetItem(size_t i) const
147 { 157 {
148 if (i >= content_.size()) 158 if (i >= content_.size())
149 { 159 {