79 inline const std::map<std::string,std::string> &
getValueMap()
const {
return _keyValueStringMap; }
110 std::map<std::string,std::string> _keyValueStringMap;
Deprecated helper class SiemensASCIIConvertParser to partially decode Siemens ASCII CSAHeader content...
double getDoubleValueFor(std::string key)
Tries to return a double value parsed from the string stored for the given key.
std::string getStringValueFor(std::string key)
Returns a std::string for the given key (regardless of data type stored)
static std::string getASCIIString(DCMTree::Const_TagPtr tagPtr)
Reads the Siemens specific ASCII header to be parsed for spectroscopy information.
static bool isSpectASCIITagId(DCMTree::Const_TagPtr tagPtr)
Returns true if tag id with ASCII tag matches, otherwise false.
const std::map< std::string, std::string > & getValueMap() const
Return the tag map itself.
SiemensASCIIConvertParser(ml::PagedImage *pImg)
Initialization with ML image DicomTreeImagePropertyExtension must exist in the images property contai...
SiemensASCIIConvertParser(DCMTree::Const_TreePtr treePtr)
Initialization with DICOM Tree.
static DCMTree::Const_TagPtr getSpectASCIITag(DCMTree::Const_TreePtr treePtr)
Returns an ASCII tag describing spectroscopy data or return an empty default tag pointer.
SiemensASCIIConvertParser(DCMTree::Const_TagPtr tagPtr)
Initialization with DICOM Tag, assuming that it is the SpectASCIITag of Siemens with private creator ...
bool isMapValid()
Return state of key-value map.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tag > Const_TagPtr
boost::shared_ptr< const Tree > Const_TreePtr