26#ifndef CASA_BASESINKSOURCE_H
27#define CASA_BASESINKSOURCE_H
29#include <casacore/casa/aips.h>
30#include <casacore/casa/IO/TypeIO.h>
31#include <casacore/casa/IO/ByteIO.h>
85 const std::shared_ptr<TypeIO>&
typeIO()
const
Bool isSeekable() const
Is the SinkSource seekable?
BaseSinkSource & operator=(const BaseSinkSource &BaseSinkSource)
The assignment operator uses reference semantics.
virtual ~BaseSinkSource()
Bool isWritable() const
Is the SinkSource writable?
const std::shared_ptr< TypeIO > & typeIO() const
This functions returns the shared pointer to itsTypeIO.
BaseSinkSource(const BaseSinkSource &BaseSinkSource)
The copy constructor uses reference semantics.
Bool isReadable() const
Is the SinkSource readable?
BaseSinkSource(const std::shared_ptr< TypeIO > &typeIO)
Construct using the given TypeIO.
Int64 seek(Int offset, ByteIO::SeekOption=ByteIO::Begin)
Int64 seek(Int64 offset, ByteIO::SeekOption=ByteIO::Begin)
This function sets the position on the given offset.
std::shared_ptr< TypeIO > itsTypeIO
This variable keeps a pointer to a TypeIO.
Bool isNull() const
Is the BaseSinkSource unusable?
SeekOption
Define the possible seek options.
@ Begin
Seek from beginning of file.
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.