37 #ifndef AIMS_IO_BCKITEMW_H 
   38 #define AIMS_IO_BCKITEMW_H 
   48 #ifndef DOXYGEN_HIDE_INTERNAL_CLASSES 
   57     virtual void write( std::ostream & is, 
 
   62       writer( 
const std::string & openmode = 
"binar", 
 
   63               bool bswap = 
false ) 
const;
 
   74     virtual void write( std::ostream & is, 
 
   86     virtual void write( std::ostream & is, 
 
   95   template<
class T> ItemWriter<AimsBucketItem<T> >* 
 
   99     if( openmode == 
"ascii" )
 
  112     for( 
size_t i=0; i<n; ++i )
 
  117   template<
class T> 
void  
The template base class for all types of bucket items.
const AimsVector< short, 3 > & location() const
Get a const reference to the location of the bucket item.
const T & value() const
Get a const reference to the value of the bucket item.
virtual ~DefaultAsciiItemWriter()
virtual void write(std::ostream &os, const T &item) const
virtual ~DefaultBSwapItemWriter()
virtual void write(std::ostream &os, const T &item) const
virtual ~DefaultItemWriter()
Default low-levels writers.
virtual void write(std::ostream &os, const T &item) const
virtual ItemWriter< T > * writer(const std::string &openmode="binar", bool bswap=false) const
Low-level "small item" writer, used by higher-level file readers.
The class for EcatSino data write operation.
bool write(const T &obj, const std::string &filename, carto::Object options=carto::none(), const std::string *format=0)
Finds the correct format and writes the object, global version.