37 #ifndef AIMS_IO_SPMW_H 
   38 #define AIMS_IO_SPMW_H 
   48   template <
class T> 
class SpmWriter;
 
   89     std::string res = name;
 
   91     if ( res.length() > 4 )
 
   92       ext = res.substr( 
int(res.length() - 4), 4 );
 
   93     if (ext == 
".hdr" || ext == 
".img")
 
   94       res = res.substr( 0, res.length() - 4 );
 
   99   template <
class T> 
inline 
The template class for SPM write operation.
SpmWriter(const std::string &name)
void write(const AimsData< T > &thing)
Write the data with "name" file name to disk.
std::string removeExtension(const std::string &name)
Return a name without .hdr or .img extension.
The class for EcatSino data write operation.
MotionWriter & operator<<(MotionWriter &writer, const AffineTransformation3d &thing) __attribute__((__deprecated__("OBSOLETE")))
— OBSOLETE —