Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/ParsedDicomCache.cpp @ 4495:fa2311f94d9f
IStorageArea::ReadRange()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Feb 2021 18:01:07 +0100 |
parents | e4dae17035b9 |
children | 7053502fbf97 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomCache.cpp Thu Feb 04 15:31:00 2021 +0100 +++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomCache.cpp Thu Feb 04 18:01:07 2021 +0100 @@ -186,6 +186,12 @@ } + bool ParsedDicomCache::Accessor::IsValid() const + { + return file_ != NULL; + } + + ParsedDicomFile& ParsedDicomCache::Accessor::GetDicom() const { if (IsValid())