28 #ifndef CASA_LECANONICALIO_H
29 #define CASA_LECANONICALIO_H
100 virtual size_t write (
size_t nvalues,
const Char* data);
101 virtual size_t write (
size_t nvalues,
const uChar* data);
102 virtual size_t write (
size_t nvalues,
const Short* data);
103 virtual size_t write (
size_t nvalues,
const uShort* data);
104 virtual size_t write (
size_t nvalues,
const Int* data);
105 virtual size_t write (
size_t nvalues,
const uInt* data);
106 virtual size_t write (
size_t nvalues,
const Int64* data);
107 virtual size_t write (
size_t nvalues,
const uInt64* data);
108 virtual size_t write (
size_t nvalues,
const Float* data);
109 virtual size_t write (
size_t nvalues,
const Double* data);
110 virtual size_t write (
size_t nvalues,
const Complex* value);
111 virtual size_t write (
size_t nvalues,
const DComplex* value);
112 virtual size_t write (
size_t nvalues,
const String* value);
118 virtual size_t read (
size_t nvalues,
Bool* value);
119 virtual size_t read (
size_t nvalues,
Char* data);
120 virtual size_t read (
size_t nvalues,
uChar* data);
121 virtual size_t read (
size_t nvalues,
Short* data);
122 virtual size_t read (
size_t nvalues,
uShort* data);
123 virtual size_t read (
size_t nvalues,
Int* data);
124 virtual size_t read (
size_t nvalues,
uInt* data);
125 virtual size_t read (
size_t nvalues,
Int64* data);
126 virtual size_t read (
size_t nvalues,
uInt64* data);
127 virtual size_t read (
size_t nvalues,
Float* data);
128 virtual size_t read (
size_t nvalues,
Double* data);
129 virtual size_t read (
size_t nvalues,
Complex* value);
131 virtual size_t read (
size_t nvalues,
String* value);
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
std::complex< Float > Complex
LECanonicalIO & operator=(const LECanonicalIO &canonicalIO)
The assignment operator uses reference semantics.
unsigned long long uInt64
virtual size_t read(size_t nvalues, Bool *value)
Read the values from the ByteIO object and convert them.
LECanonicalIO(ByteIO *byteIO, uInt bufferLength=4096, Bool takeOver=False)
Constructor.
~LECanonicalIO()
Destructor, deletes allocated memory.
const ByteIO & byteIO() const
Functions to return a reference to the ByteIO class.
std::complex< Double > DComplex
Abstract base class for IO on a byte stream.
Abstract base class for IO of data in a type-dependent format.
bool Bool
Define the standard types used by Casacore.
virtual size_t write(size_t nvalues, const Bool *value)
Convert the values and write them to the ByteIO object.
String: the storage and methods of handling collections of characters.
Class for IO in little endian canonical format.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.