37#ifndef AIMS_IO_BCKITEMR_H
38#define AIMS_IO_BCKITEMR_H
49#ifndef DOXYGEN_HIDE_INTERNAL_CLASSES
62 reader(
const std::string & openmode =
"binar",
bool bswap =
false )
const;
95 template <
class T> ItemReader<AimsBucketItem<T> >*
99 if( openmode ==
"ascii" )
106 template <
class T>
inline
116 for( p=0; p<n; ++p, ++ptr )
124 template <
class T>
inline void
134 for( p=0; p<n; ++p, ++ptr )
142 template <
class T>
inline void
152 for( p=0; p<n; ++p, ++ptr )
The template base class for all types of bucket items.
const T & value() const
Get a const reference to the value of the bucket item.
const AimsVector< short, 3 > & location() const
Get a const reference to the location of the bucket item.
virtual ~DefaultAsciiItemReader()
virtual void read(std::istream &is, AimsBucketItem< T > *pitem, size_t n) const
virtual void read(std::istream &is, T &item) const
virtual ~DefaultBSwapItemReader()
virtual void read(std::istream &is, AimsBucketItem< T > *pitem, size_t n) const
virtual void read(std::istream &is, T &item) const
virtual void read(std::istream &is, AimsBucketItem< T > *pitem, size_t n) const
virtual ItemReader< AimsBucketItem< T > > * reader(const std::string &openmode="binar", bool bswap=false) const
virtual ~DefaultItemReader()
virtual void read(std::istream &is, T &item) const
Low-level "small item" reader, used by higher-level file readers.
The class for EcatSino data write operation.