|  | aimsdata
    5.1.2
    Neuroimaging data handling | 
#include <aims/io/giftiformat.h>


| 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()) | 
| 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... | |
| carto::GenericObject * | read (const std::string &, const carto::AllocatorContext &, carto::Object) | 
| virtual bool | write (const std::string &, const TimeTexture< T > &, carto::Object options=carto::none()) | 
| the base class has a default implementation which only returns falseso if your new format only supports read operations, you won't have to bother about the write() function  More... | |
| Protected Attributes | |
| std::string | _filename | 
| carto::Object | _options | 
| int | _encoding | 
Definition at line 70 of file giftiformat.h.
| 
 | inline | 
Definition at line 84 of file giftiformat.h.
References aims::GiftiTextureFormat< T >::_encoding.
| 
 | inline | 
Definition at line 81 of file giftiformat.h.
References aims::GiftiTextureFormat< T >::_options.
| 
 | virtual | 
Implements aims::FileFormat< TimeTexture< T > >.
Definition at line 48 of file giftitextureformat_d.h.
References da, aims::GiftiHeader::giftiMutex(), carto::io_error::launchErrnoExcept(), carto::Mutex::lock(), aims::GiftiHeader::name(), aims::GiftiHeader::read(), TimeTexture< T >::reserve(), TimeTexture< T >::setHeader(), and carto::Mutex::unlock().
| 
 | inline | 
Definition at line 85 of file giftiformat.h.
References aims::GiftiTextureFormat< T >::_encoding.
| 
 | inline | 
Definition at line 82 of file giftiformat.h.
References aims::GiftiTextureFormat< T >::_options.
| 
 | virtual | 
Definition at line 114 of file giftitextureformat_d.h.
References aims::PythonHeader::copy(), carto::TypedObject< class >::getProperty(), aims::GiftiHeader::giftiMutex(), carto::TypedObject< class >::hasProperty(), TimeTexture< T >::header(), carto::Mutex::lock(), aims::GiftiHeader::name(), carto::TypedObject< class >::removeProperty(), aims::GiftiHeader::setOptions(), carto::TypedObject< class >::setProperty(), carto::Mutex::unlock(), and aims::PythonHeader::writeMinf().
| 
 | protected | 
Definition at line 90 of file giftiformat.h.
Referenced by aims::GiftiTextureFormat< T >::getEncoding(), and aims::GiftiTextureFormat< T >::setEncoding().
| 
 | protected | 
Definition at line 88 of file giftiformat.h.
| 
 | protected | 
Definition at line 89 of file giftiformat.h.
Referenced by aims::GiftiTextureFormat< T >::options(), and aims::GiftiTextureFormat< T >::setOptions().