28 #ifndef CASA_LECANONICALIO_H
29 #define CASA_LECANONICALIO_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/casa/IO/TypeIO.h>
33 #include <casacore/casa/BasicSL/Complexfwd.h>
100 virtual size_t write (
size_t nvalues,
const Char* data);
104 virtual size_t write (
size_t nvalues,
const Int* data);
105 virtual size_t write (
size_t nvalues,
const uInt* data);
123 virtual size_t read (
size_t nvalues,
Int* data);
virtual size_t read(size_t nvalues, Short *data)
virtual size_t write(size_t nvalues, const Bool *value)
Convert the values and write them to the ByteIO object.
virtual size_t read(size_t nvalues, uChar *data)
virtual size_t write(size_t nvalues, const Float *data)
virtual size_t write(size_t nvalues, const Int *data)
virtual size_t write(size_t nvalues, const Short *data)
virtual size_t write(size_t nvalues, const DComplex *value)
LECanonicalIO(const LECanonicalIO &canonicalIO)
The copy constructor uses reference semantics.
virtual size_t read(size_t nvalues, String *value)
virtual size_t read(size_t nvalues, Char *data)
virtual size_t write(size_t nvalues, const Complex *value)
virtual size_t read(size_t nvalues, DComplex *value)
virtual size_t read(size_t nvalues, Double *data)
LECanonicalIO & operator=(const LECanonicalIO &canonicalIO)
The assignment operator uses reference semantics.
virtual size_t write(size_t nvalues, const Int64 *data)
virtual size_t read(size_t nvalues, uShort *data)
LECanonicalIO(ByteIO *byteIO, uInt bufferLength=4096, Bool takeOver=False)
Constructor.
virtual size_t write(size_t nvalues, const uShort *data)
virtual size_t read(size_t nvalues, uInt64 *data)
~LECanonicalIO()
Destructor, deletes allocated memory.
virtual size_t write(size_t nvalues, const String *value)
virtual size_t read(size_t nvalues, Int *data)
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 uInt *data)
virtual size_t write(size_t nvalues, const Char *data)
virtual size_t write(size_t nvalues, const uChar *data)
virtual size_t read(size_t nvalues, Float *data)
virtual size_t read(size_t nvalues, uInt *data)
virtual size_t write(size_t nvalues, const uInt64 *data)
virtual size_t write(size_t nvalues, const Double *data)
virtual size_t read(size_t nvalues, Int64 *data)
virtual size_t read(size_t nvalues, Complex *value)
String: the storage and methods of handling collections of characters.
const ByteIO & byteIO() const
Functions to return a reference to the ByteIO class.
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