aimsdata 6.0.0
Neuroimaging data handling
aims::BckFormat< T > Class Template Reference

#include <aims/io/baseFormats_bucket.h>

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

Public Member Functions

virtual bool read (const std::string &filename, AimsBucket< T > &obj, const carto::AllocatorContext &context, carto::Object options)
 
virtual bool write (const std::string &filename, const AimsBucket< T > &vol, carto::Object options=carto::none())
 
- Public Member Functions inherited from aims::FileFormat< AimsBucket< T > >
carto::GenericObjectread (const std::string &, const carto::AllocatorContext &, carto::Object)
 
virtual ~FileFormat ()
 
virtual bool read (const std::string &filename, T &obj, const carto::AllocatorContext &context, carto::Object options)=0
 
virtual T * read (const std::string &filename, const carto::AllocatorContext &context, carto::Object options)
 Creates an object and reads it.
 
carto::GenericObjectread (const std::string &, const carto::AllocatorContext &, carto::Object)
 
virtual bool write (const std::string &, const 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
 

Detailed Description

template<class T>
class aims::BckFormat< T >

Definition at line 50 of file baseFormats_bucket.h.

Member Function Documentation

◆ read()

template<class T>
bool aims::BckFormat< T >::read ( const std::string & filename,
AimsBucket< T > & obj,
const carto::AllocatorContext & context,
carto::Object options )
virtual

Definition at line 51 of file baseFormats_bucket_d.h.

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

◆ write()

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

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