A.I.M.S


aims::ImasVolFormat< T > Class Template Reference

#include <aims/io/baseFormats_volume.h>

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

Public Member Functions

virtual bool read (const std::string &filename, AimsData< T > &obj, const carto::AllocatorContext &context, carto::Object options)
 
virtual bool write (const std::string &filename, const AimsData< T > &obj, 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...
 
- 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...
 

Detailed Description

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

Definition at line 84 of file baseFormats_volume.h.

Member Function Documentation

template<typename T >
bool aims::ImasVolFormat< T >::read ( const std::string &  filename,
AimsData< T > &  obj,
const carto::AllocatorContext &  context,
carto::Object  options 
)
virtual
template<class T >
bool aims::ImasVolFormat< T >::write ( const std::string &  ,
const AimsData< T > &  ,
carto::Object  options = carto::none() 
)
virtual

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

Reimplemented from aims::FileFormat< AimsData< T > >.

Definition at line 209 of file baseFormats_volume_d.h.

References AimsData< T >::dimX(), AimsData< T >::dimY(), carto::DictionaryInterface::getProperty(), carto::GenericObject::getScalar(), AimsData< T >::header(), carto::Object::isNull(), aims::ItemWriter< T >::write(), and aims::Header::writeMinf().


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