A.I.M.S


aims::SpmReader< T > Class Template Reference

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

#include <aims/io/spmR.h>

Public Member Functions

 SpmReader (const std::string &name)
 
virtual ~SpmReader ()
 
void read (AimsData< T > &thing, const carto::AllocatorContext &context, carto::Object options)
 Read the data with "name" file name from disk. More...
 
std::string removeExtension (const std::string &name)
 Return a name without .hdr or .img extension. More...
 

Friends

SpmReader< T > & operator>> (SpmReader< T > &reader, AimsData< T > &thing)
 Input stream operator. More...
 

Detailed Description

template<typename T>
class aims::SpmReader< T >

The template class for SPM read operation.

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

Definition at line 57 of file spmR.h.

Constructor & Destructor Documentation

template<typename T>
aims::SpmReader< T >::SpmReader ( const std::string &  name)
inline

Definition at line 75 of file spmR.h.

template<typename T>
virtual aims::SpmReader< T >::~SpmReader ( )
inlinevirtual

Definition at line 77 of file spmR.h.

Member Function Documentation

template<typename T >
void aims::SpmReader< T >::read ( AimsData< T > &  thing,
const carto::AllocatorContext &  context,
carto::Object  options 
)
template<class T >
std::string aims::SpmReader< T >::removeExtension ( const std::string &  name)

Return a name without .hdr or .img extension.

Definition at line 53 of file spmR_d.h.

Friends And Related Function Documentation

template<typename T>
SpmReader<T>& operator>> ( SpmReader< T > &  reader,
AimsData< T > &  thing 
)
friend

Input stream operator.

Definition at line 110 of file spmR.h.


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