37 #ifndef AIMS_IO_FILEFORMAT_CARTOVOLUME_D_H 
   38 #define AIMS_IO_FILEFORMAT_CARTOVOLUME_D_H 
   66                               const carto::AllocatorContext & context, 
 
   78     options->getProperty( 
"border", border );
 
   82       if( !_preferredFormat.empty() )
 
   83         fmt = &_preferredFormat;
 
   84       r.
read( d, border, fmt );
 
   96                          const carto::AllocatorContext & context, 
 
  108     options->getProperty( 
"border", border );
 
  111       std::string                       *fmt = 0;
 
  112       if( !_preferredFormat.empty() )
 
  113         fmt = &_preferredFormat;
 
  114       if( !r.
read( d, border, fmt ) )
 
  133       std::string                       *fmt = 0;
 
  134       if( !_preferredFormat.empty() )
 
  135         fmt = &_preferredFormat;
 
  143             ascii = (bool) aso->getScalar();
 
  149       w.
write( d, ascii, fmt );
 
  196                                  const carto::AllocatorContext & context, 
 
  212                             const carto::AllocatorContext & context, 
 
  227     return _volformat.write( filename, *vol, options );
 
carto::VolumeRef< T > & volume()
Generic reader for every format of Aims object.
void setAllocatorContext(const carto::AllocatorContext &ac)
allocator control (not used by every format yet)
virtual bool read(T &obj, int border=0, const std::string *format=0, int frame=-1)
Finds the correct format and reads the object. if format is specified, this format is tried first,...
void setOptions(carto::Object options)
Generic writer for every format of Aims object.
virtual bool write(const T &obj, bool ascii=false, const std::string *format=0)
Finds the correct format and writes the object.
The class for EcatSino data write operation.