aimsdata  5.1.2
Neuroimaging data handling
aims::SpmFormat< T > Class Template Reference

#include <aims/io/baseFormats_volume.h>

Inheritance diagram for aims::SpmFormat< T >:
Collaboration diagram for aims::SpmFormat< T >:

Public Member Functions

virtual ~SpmFormat ()
 
virtual bool read (const std::string &filename, AimsData< T > &vol, const carto::AllocatorContext &context, carto::Object options)
 
virtual bool write (const std::string &filename, const AimsData< T > &vol, carto::Object options=carto::none())
 
- Public Member Functions inherited from aims::FileFormat< AimsData< T > >
virtual ~FileFormat ()
 
virtual AimsData< T > * read (const std::string &filename, const carto::AllocatorContext &context, carto::Object options)
 Creates an object and reads it. More...
 
carto::GenericObjectread (const std::string &, const carto::AllocatorContext &, carto::Object)
 
virtual bool write (const std::string &, const AimsData< T > &, carto::Object options=carto::none())
 the base class has a default implementation which only returns false so if your new format only supports read operations, you won't have to bother about the write() function More...
 

Detailed Description

template<class T>
class aims::SpmFormat< T >

Definition at line 46 of file baseFormats_volume.h.

Constructor & Destructor Documentation

◆ ~SpmFormat()

template<typename T >
aims::SpmFormat< T >::~SpmFormat
virtual

Definition at line 54 of file baseFormats_volume_d.h.

Member Function Documentation

◆ read()

template<class T >
bool aims::SpmFormat< T >::read ( const std::string &  filename,
AimsData< T > &  vol,
const carto::AllocatorContext &  context,
carto::Object  options 
)
virtual

Implements aims::FileFormat< AimsData< T > >.

Definition at line 60 of file baseFormats_volume_d.h.

References aims::SpmReader< T >::read().

◆ write()

template<class T >
bool aims::SpmFormat< T >::write ( const std::string &  filename,
const AimsData< T > &  vol,
carto::Object  options = carto::none() 
)
virtual

Definition at line 71 of file baseFormats_volume_d.h.

References aims::SpmWriter< T >::write().


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