Go to the documentation of this file.
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 isWritable() const
Is the SinkSource writable?
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.
Referenced counted pointer for constant data.
TypeIO & typeIO()
This functions returns a reference to itsTypeIO.
BaseSinkSource(const BaseSinkSource &BaseSinkSource)
The copy constructor uses reference semantics.
BaseSinkSource & operator=(const BaseSinkSource &BaseSinkSource)
The assignment operator uses reference semantics.
virtual ~BaseSinkSource()
this file contains all the compiler specific defines
Bool isSeekable() const
Is the SinkSource seekable?
@ Begin
Seek from beginning of file.
Abstract base class for IO of data in a type-dependent format.
Shared base class for ByteSink and ByteSource.
CountedPtr< TypeIO > itsTypeIO
This variable keeps a pointer to a TypeIO.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
Bool isReadable() const
Is the SinkSource readable?
const TypeIO & typeIO() const
bool Bool
Define the standard types used by Casacore.
BaseSinkSource(TypeIO *typeIO, Bool takeOver=False)
Construct using the given TypeIO.
Bool isNull() const
Is the BaseSinkSource unusable?
SeekOption
Define the possible seek options.