26#ifndef CASA_BYTESINK_H
27#define CASA_BYTESINK_H
29#include <casacore/casa/aips.h>
30#include <casacore/casa/IO/BaseSinkSource.h>
34#include <casacore/casa/BasicSL/Complex.h>
const std::shared_ptr< TypeIO > & typeIO() const
This functions returns the shared pointer to itsTypeIO.
ByteSink & operator<<(const Char *value)
ByteSink & operator<<(uInt value)
ByteSink(const std::shared_ptr< TypeIO > &typeIO)
Construct from given TypeIO object.
ByteSink(const ByteSink &sink)
The copy constructor uses reference semantics.
ByteSink & operator<<(const String &value)
ByteSink()
Default constructor.
void write(size_t nvalues, const Short *value)
void write(size_t nvalues, const Double *value)
ByteSink & operator<<(uShort value)
void write(size_t nvalues, const Float *value)
ByteSink & operator<<(Double value)
void write(size_t nvalues, const Int64 *value)
void write(size_t nvalues, const DComplex *value)
void write(size_t nvalues, const String *value)
ByteSink & operator<<(Bool value)
These functions write one value of the given type.
void write(size_t nvalues, const Complex *value)
ByteSink & operator<<(Int64 value)
ByteSink & operator<<(Int value)
void write(size_t nvalues, const uInt *value)
ByteSink & operator<<(const DComplex &value)
ByteSink & operator<<(Float value)
void write(size_t nvalues, const Int *value)
ByteSink & operator<<(uChar value)
void write(size_t nvalues, const Char *value)
ByteSink & operator=(const ByteSink &sink)
The assignment operator uses reference semantics.
void write(size_t nvalues, const uShort *value)
ByteSink & operator<<(Short value)
void write(size_t nvalues, const Bool *value)
These functions write multiple values of the given type.
void write(size_t nvalues, const uChar *value)
ByteSink & operator<<(uInt64 value)
ByteSink & operator<<(Char value)
void write(size_t nvalues, const uInt64 *value)
ByteSink & operator<<(const Complex &value)
String: the storage and methods of handling collections of characters.
For temporary backward namespace compatibility, use casa as alias for casacore.
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.
NewDelAllocator< T > NewDelAllocator< T >::value
unsigned long long uInt64