40 const auto finding =
m_Values.find(path);
44 result.
value = finding->second;
58 if (path.
Equals(iter.first))
60 result.emplace_back(
true, iter.second, iter.first);
72 mitkThrow() <<
"Only explicit tag paths (no wildcards) are allowed for tag values in DICOMGenericImageFrameInfo. Passed tag path:" << path.
ToStr();
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag...
bool Equals(const DICOMTagPath &path) const
DICOMDatasetFinding GetTagValueAsString(const DICOMTag &) const override
Return a DICOMDatasetFinding instance of the tag. The return containes (if valid) the raw value of th...
const unsigned int FrameNo
frame number, starting with 0
Representation of a DICOM tag.
std::string GetFilenameIfAvailable() const override
Return a filename if possible. If DICOM is not read from file but from somewhere else (network...
std::list< DICOMDatasetFinding > FindingsListType
const std::string Filename
absolute filename
std::string ToStr() const
Defines an abstract base class for DICOM image frame infos with data access.
DICOMGenericImageFrameInfo(const DICOMImageFrameInfo::Pointer &frameinfo)
void SetTagValue(const DICOMTagPath &path, const std::string &value)
~DICOMGenericImageFrameInfo() override