aimsdata  5.0.5
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. More...
 
std::string removeExtension (const std::string &name)
 Return a name without .hdr or .img extension. More...
 

Friends

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

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 48 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

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 aims::SpmWriter< T >::~SpmWriter().

◆ write()

Friends And Related Function Documentation

◆ operator<<

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

Output stream operator.

Definition at line 100 of file spmW.h.


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