aimsdata 6.0.0
Neuroimaging data handling
aims::SpmWriter< T > Class Template Reference

The template class for SPM write operation. More...

#include <aims/io/spmW.h>

Public Member Functions

 SpmWriter (const std::string &name)
 
virtual ~SpmWriter ()
 
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.
 

Friends

SpmWriter< T > & operator<< (SpmWriter< T > &writer, const AimsData< T > &thing)
 Output stream operator.
 

Detailed Description

template<class T>
class aims::SpmWriter< T >

The template class for SPM write operation.

The template argument gives the type of the elements stored in the container.

Definition at line 59 of file spmW.h.

Constructor & Destructor Documentation

◆ SpmWriter()

template<class T>
aims::SpmWriter< T >::SpmWriter ( const std::string & name)
inline

Definition at line 62 of file spmW.h.

◆ ~SpmWriter()

template<class T>
virtual aims::SpmWriter< T >::~SpmWriter ( )
inlinevirtual

Definition at line 64 of file spmW.h.

Member Function Documentation

◆ removeExtension()

template<class T>
std::string aims::SpmWriter< T >::removeExtension ( const std::string & name)
inline

Return a name without .hdr or .img extension.

Definition at line 87 of file spmW.h.

Referenced by write().

◆ write()

Friends And Related Symbol Documentation

◆ operator<<

template<class T>
SpmWriter< T > & operator<< ( SpmWriter< T > & writer,
const AimsData< T > & thing )
friend

Output stream operator.

Definition at line 87 of file spmW.h.


The documentation for this class was generated from the following files: