cartodata  5.1.2
soma::VolumeRefFormatWriter< T > Class Template Reference

FormatWriter specialized for reference to 4D Volume. More...

#include <cartodata/io/volumeformatwriter.h>

Inheritance diagram for soma::VolumeRefFormatWriter< T >:
Collaboration diagram for soma::VolumeRefFormatWriter< T >:

Public Member Functions

virtual ~VolumeRefFormatWriter ()
 
virtual bool filterProperties (carto::Object header, carto::Object options=carto::none())
 FormatWriter derived function It removes properties that must not be written. More...
 
virtual bool write (const carto::VolumeRef< T > &obj, carto::rc_ptr< DataSourceInfo > dsi, carto::Object options)
 FormatWriter derived function This method understands a volume and calls appropriate ImageWriter methods. More...
 
void attach (carto::rc_ptr< ImageWriter< T > > imw)
 Linking to a ImageWriter Allows us to declare only once the ImageWriter. More...
 
- Public Member Functions inherited from soma::FormatWriter< carto::VolumeRef< T > >
virtual ~FormatWriter ()
 
virtual bool write (const T &obj, carto::rc_ptr< DataSourceInfo > dsi, carto::Object options)=0
 

Protected Attributes

carto::rc_ptr< ImageWriter< T > > _imw
 

Detailed Description

template<typename T>
class soma::VolumeRefFormatWriter< T >

FormatWriter specialized for reference to 4D Volume.

See also
VolumeFormatWriter

Definition at line 110 of file volumeformatwriter.h.

Constructor & Destructor Documentation

◆ ~VolumeRefFormatWriter()

template<typename T >
soma::VolumeRefFormatWriter< T >::~VolumeRefFormatWriter
virtual

Definition at line 360 of file volumeformatwriter_d.h.

Member Function Documentation

◆ attach()

template<typename T >
void soma::VolumeRefFormatWriter< T >::attach ( carto::rc_ptr< ImageWriter< T > >  imw)

Linking to a ImageWriter Allows us to declare only once the ImageWriter.

Definition at line 386 of file volumeformatwriter_d.h.

◆ filterProperties()

template<typename T >
bool soma::VolumeRefFormatWriter< T >::filterProperties ( carto::Object  header,
carto::Object  options = carto::none() 
)
virtual

FormatWriter derived function It removes properties that must not be written.

Implements soma::FormatWriter< carto::VolumeRef< T > >.

Definition at line 365 of file volumeformatwriter_d.h.

References soma::MinfUtil::filter().

◆ write()

template<typename T >
bool soma::VolumeRefFormatWriter< T >::write ( const carto::VolumeRef< T > &  obj,
carto::rc_ptr< DataSourceInfo dsi,
carto::Object  options 
)
virtual

FormatWriter derived function This method understands a volume and calls appropriate ImageWriter methods.

Definition at line 376 of file volumeformatwriter_d.h.

References soma::VolumeFormatWriter< T >::attach(), and soma::VolumeFormatWriter< T >::write().

Member Data Documentation

◆ _imw

template<typename T >
carto::rc_ptr<ImageWriter<T> > soma::VolumeRefFormatWriter< T >::_imw
protected

Definition at line 133 of file volumeformatwriter.h.


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