44 const auto finding = m_Values.find(path);
45 if (finding != m_Values.cend())
48 result.
value = finding->second;
60 for (
const auto& iter : m_Values)
62 if (path.
Equals(iter.first))
64 result.emplace_back(
true, iter.second, iter.first);
76 mitkThrow() <<
"Only explicit tag paths (no wildcards) are allowed for tag values in DICOMGenericImageFrameInfo. Passed tag path:" << path.
ToStr();
79 m_Values[path] = value;
86 return this->Filename;
itk::SmartPointer< Self > Pointer
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag...
bool Equals(const DICOMTagPath &path) const
virtual DICOMDatasetFinding GetTagValueAsString(const DICOMTag &) const override
Return a DICOMDatasetFinding instance of the tag. The return containes (if valid) the raw value of th...
Representation of a DICOM tag.
std::string ToStr() const
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
static const std::string filename
Defines an abstract base class for DICOM image frame infos with data access.
virtual ~DICOMGenericImageFrameInfo()
DICOMGenericImageFrameInfo(const DICOMImageFrameInfo::Pointer &frameinfo)
void SetTagValue(const DICOMTagPath &path, const std::string &value)