13 #ifndef mitkDICOMProperty_h 14 #define mitkDICOMProperty_h 48 template<
typename TNumericReturnType>
51 std::istringstream iss(dcmValueString);
52 iss.imbue(std::locale(
"C"));
54 if (!(iss >> d) || !(iss.eof()))
56 mitkThrow() <<
"Cannot convert string to value type. Type: " <<
typeid(TNumericReturnType).name() <<
"; String: " << dcmValueString;
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag...
Base of all data objects.
#define MITKDICOMREADER_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Key-value list holding instances of BaseProperty.
MITKDICOMREADER_EXPORT mitk::BaseProperty::Pointer GetDICOMPropertyForDICOMValuesFunctor(const DICOMCachedValueLookupTable &cacheLookupTable)
TemporoSpatialStringProperty DICOMProperty
TNumericReturnType ConvertDICOMStrToValue(const std::string &dcmValueString)
MITKDICOMREADER_EXPORT std::map< std::string, BaseProperty::Pointer > GetPropertyByDICOMTagPath(const PropertyList *list, const DICOMTagPath &path)
Property for time and space resolved string values.