31 #include <casacore/casa/aips.h>
32 #include <casacore/casa/IO/ByteIO.h>
33 #include <casacore/casa/Utilities/CountedPtr.h>
37 #include <casacore/casa/BasicSL/Complex.h>
SeekOption
Define the possible seek options.
@ Begin
Seek from beginning of file.
Referenced counted pointer for constant data.
String: the storage and methods of handling collections of characters.
virtual size_t write(size_t nvalues, const Bool *value)
Convert the values and write them to the ByteIO object.
Bool isReadable() const
Is the TypeIO stream readable?
virtual size_t write(size_t nvalues, const DComplex *value)
Int64 seek(Int offset, ByteIO::SeekOption=ByteIO::Begin)
virtual size_t write(size_t nvalues, const Char *value)=0
virtual size_t read(size_t nvalues, Short *value)=0
Bool isSeekable() const
Is the TypeIO stream seekable?
virtual size_t write(size_t nvalues, const uShort *value)=0
virtual size_t write(size_t nvalues, const uInt64 *value)=0
virtual size_t write(size_t nvalues, const Short *value)=0
virtual size_t write(size_t nvalues, const Complex *value)
virtual size_t read(size_t nvalues, Char *value)=0
virtual size_t read(size_t nvalues, DComplex *value)
virtual size_t write(size_t nvalues, const Int64 *value)=0
TypeIO & operator=(const TypeIO &typeIO)
The assignment operator uses reference semantics.
virtual size_t write(size_t nvalues, const Float *value)=0
virtual size_t read(size_t nvalues, uShort *value)=0
virtual size_t read(size_t nvalues, Bool *value)
Read the values from the ByteIO object and convert them.
virtual size_t write(size_t nvalues, const Int *value)=0
virtual size_t read(size_t nvalues, Int *value)=0
virtual size_t write(size_t nvalues, const String *value)
virtual size_t read(size_t nvalues, Complex *value)
virtual size_t read(size_t nvalues, Float *value)=0
const ByteIO & byteIO() const
Functions to return a reference to the ByteIO class.
Bool isWritable() const
Is the TypeIO stream writable?
virtual size_t write(size_t nvalues, const Double *value)=0
CountedPtr< ByteIO > itsByteIO
This variable keeps a pointer to a ByteIO.
virtual size_t read(size_t nvalues, Double *value)=0
TypeIO(const TypeIO &TypeIO)
The copy constructor uses reference semantics.
virtual size_t read(size_t nvalues, String *value)
virtual size_t read(size_t nvalues, uChar *value)=0
virtual size_t read(size_t nvalues, Int64 *value)=0
virtual size_t write(size_t nvalues, const uInt *value)=0
virtual size_t write(size_t nvalues, const uChar *value)=0
virtual size_t read(size_t nvalues, uInt *value)=0
Int64 seek(Int64 offset, ByteIO::SeekOption=ByteIO::Begin)
This function sets the position on the given offset.
virtual size_t read(size_t nvalues, uInt64 *value)=0
TypeIO(ByteIO *byteIO, Bool takeOver=False)
Constructor.
std::complex< Float > Complex
std::complex< Double > DComplex
this file contains all the compiler specific defines
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
bool Bool
Define the standard types used by Casacore.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
unsigned long long uInt64