A.I.M.S


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

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

Definition at line 62 of file spmW.h.

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

Definition at line 64 of file spmW.h.

Member Function Documentation

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.

Friends And Related Function Documentation

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: