Deprecated helper class SiemensASCIIConvertParser to partially decode Siemens ASCII CSAHeader contents and providing by-name access to values of the ASCIIConvert-Part of a Siemens proprietary MR Spectroscopy data set.  
 More...
#include <SiemensASCIIConvertParser.h>
Deprecated helper class SiemensASCIIConvertParser to partially decode Siemens ASCII CSAHeader contents and providing by-name access to values of the ASCIIConvert-Part of a Siemens proprietary MR Spectroscopy data set. 
Definition at line 43 of file SiemensASCIIConvertParser.h.
 
◆ SiemensASCIIConvertParser() [1/3]
Initialization with DICOM Tree. 
 
 
◆ SiemensASCIIConvertParser() [2/3]
Initialization with DICOM Tag, assuming that it is the SpectASCIITag of Siemens with private creator SIEMENS MEDCOM HEADER. 
 
 
◆ SiemensASCIIConvertParser() [3/3]
      
        
          | SiemensASCIIConvertParser::SiemensASCIIConvertParser  | 
          ( | 
          ml::PagedImage *  | 
          pImg | ) | 
           | 
        
      
 
Initialization with ML image DicomTreeImagePropertyExtension must exist in the images property container. 
 
 
◆ getASCIIString()
Reads the Siemens specific ASCII header to be parsed for spectroscopy information. 
 
 
◆ getDoubleValueFor()
      
        
          | double SiemensASCIIConvertParser::getDoubleValueFor  | 
          ( | 
          std::string  | 
          key | ) | 
           | 
        
      
 
Tries to return a double value parsed from the string stored for the given key. 
- Returns
 - parse result (can be meaningless, if value stored at key is not a double) or 0.0 if key not in map. 
 
 
 
◆ getSpectASCIITag()
Returns an ASCII tag describing spectroscopy data or return an empty default tag pointer. 
 
 
◆ getStringValueFor()
      
        
          | std::string SiemensASCIIConvertParser::getStringValueFor  | 
          ( | 
          std::string  | 
          key | ) | 
           | 
        
      
 
Returns a std::string for the given key (regardless of data type stored) 
 
 
◆ getValueMap()
  
  
      
        
          | const std::map< std::string, std::string > & SiemensASCIIConvertParser::getValueMap  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ isMapValid()
      
        
          | bool SiemensASCIIConvertParser::isMapValid  | 
          ( | 
           | ) | 
           | 
        
      
 
Return state of key-value map. 
- Returns
 - false, if no map was read (e.g. if DICOM2007 data), true, if at least one element was read. 
 
 
 
◆ isSpectASCIITagId()
Returns true if tag id with ASCII tag matches, otherwise false. 
 
 
The documentation for this class was generated from the following file: