Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomFormat/DicomPath.h @ 4683:7182f5732480
use of DicomPath in ParsedDicomFile
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Jun 2021 12:37:48 +0200 |
parents | d38a7040474a |
children | ead3b81f4541 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomPath.h Mon Jun 07 18:35:46 2021 +0200 +++ b/OrthancFramework/Sources/DicomFormat/DicomPath.h Tue Jun 08 12:37:48 2021 +0200 @@ -99,6 +99,10 @@ size_t index3, const Orthanc::DicomTag& tag); + DicomPath(const std::vector<Orthanc::DicomTag>& parentTags, + const std::vector<size_t> parentIndexes, + const Orthanc::DicomTag& finalTag); + void AddIndexedTagToPrefix(const Orthanc::DicomTag& tag, size_t index); @@ -134,5 +138,8 @@ std::string Format() const; static DicomPath Parse(const std::string& s); + + static bool IsMatch(const DicomPath& pattern, + const DicomPath& path); }; }