BlockIO.h
Classes
- Global Functions -- IO functions for Block (full description)
Interface
- void putBlock (AipsIO&, const Block<T>&, Int nr)
- void putBlock (AipsIO& ios, const Block<T>& blk)
- void getBlock (AipsIO&, Block<T>&)
- void showBlock (ostream&, const Block<T>&, Int nr)
- void showBlock (ostream& ios, const Block<T>& blk)
- AipsIO& operator<< (AipsIO& ios, const Block<T>& blk)
- AipsIO& operator>> (AipsIO& ios, Block<T>& blk)
- ostream& operator<< (ostream& ios, const Block<T>& blk)
Synopsis
These functions allow the user to write either an entire or a
partial Block out to an ostream or to
AipsIO. These functions provide simple storage and
display capabilities for Block.
Member Description
These functions allow the user to read and write Blocks
from the AipsIO stream.
putBlock writes the Block to the stream. If
a number, nr, of elements is specified, only the first
nr elements will be written out to AipsI0.
getBlock reads a Block in from an
AipsIO stream.
void showBlock (ostream&, const Block<T>&, Int nr)
void showBlock (ostream& ios, const Block<T>& blk)
These functions allow the user to write Blocks out to
a standard ostream. The user can either write the entire
Block out to the stream, or if a number of elements,
nr, is specified, only the first nr elements
of the Block will be written out.
These are the standard shift operators for writing an entire
Block out to a stream. Shift operators are provided
to write the block out to either AipsIO or
ostream. A shift operator is also provided for
reading a Block in from AipsIO.