A.I.M.S


aims::GiftiTextureFormat< T > Class Template Reference

#include <aims/io/giftiformat.h>

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

Public Member Functions

virtual bool read (const std::string &filename, TimeTexture< T > &vol, const carto::AllocatorContext &context, carto::Object options)
 
virtual bool write (const std::string &filename, const TimeTexture< T > &vol, 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...
 
const carto::Object options () const
 
void setOptions (carto::Object opt)
 
int getEncoding ()
 
void setEncoding (int enc)
 
- Public Member Functions inherited from aims::FileFormat< TimeTexture< T > >
virtual ~FileFormat ()
 
virtual TimeTexture< T > * read (const std::string &filename, const carto::AllocatorContext &context, carto::Object options)
 Creates an object and reads it. More...
 

Protected Attributes

std::string _filename
 
carto::Object _options
 
int _encoding
 

Detailed Description

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

Definition at line 70 of file giftiformat.h.

Member Function Documentation

template<typename T >
int aims::GiftiTextureFormat< T >::getEncoding ( )
inline

Definition at line 84 of file giftiformat.h.

References aims::GiftiTextureFormat< T >::_encoding.

template<typename T >
const carto::Object aims::GiftiTextureFormat< T >::options ( ) const
inline

Definition at line 81 of file giftiformat.h.

References aims::GiftiTextureFormat< T >::_options.

template<typename T >
bool aims::GiftiTextureFormat< T >::read ( const std::string &  filename,
TimeTexture< T > &  vol,
const carto::AllocatorContext &  context,
carto::Object  options 
)
virtual
template<typename T >
void aims::GiftiTextureFormat< T >::setEncoding ( int  enc)
inline

Definition at line 85 of file giftiformat.h.

References aims::GiftiTextureFormat< T >::_encoding.

template<typename T >
void aims::GiftiTextureFormat< T >::setOptions ( carto::Object  opt)
inline

Definition at line 82 of file giftiformat.h.

References aims::GiftiTextureFormat< T >::_options.

template<typename T >
bool aims::GiftiTextureFormat< T >::write ( const std::string &  ,
const TimeTexture< T > &  ,
carto::Object  options = carto::none() 
)
virtual

Member Data Documentation

template<typename T >
int aims::GiftiTextureFormat< T >::_encoding
protected
template<typename T >
std::string aims::GiftiTextureFormat< T >::_filename
protected

Definition at line 88 of file giftiformat.h.

template<typename T >
carto::Object aims::GiftiTextureFormat< T >::_options
protected

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