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