fixed-length blocked sequential output base class More...
#include <blockio.h>
Public Member Functions | |
BlockOutput (const char *, int, int=1, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
Construction can be done either from a filename or from a file descriptor. | |
BlockOutput (int, int, int=1, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
virtual | ~BlockOutput () |
void | flush_buffer () |
virtual int | write (char *) |
write the next logical record. |
fixed-length blocked sequential output base class
Definition at line 175 of file blockio.h.
casacore::BlockOutput::BlockOutput | ( | const char * | , | |
int | , | |||
int | = 1 , |
|||
FITSErrorHandler | errhandler = FITSError::defaultHandler | |||
) |
Construction can be done either from a filename or from a file descriptor.
The remaining arguments are the the logical record size and number of records that make up a physical record followed by the output stream that is used to write error messages to.
casacore::BlockOutput::BlockOutput | ( | int | , | |
int | , | |||
int | = 1 , |
|||
FITSErrorHandler | errhandler = FITSError::defaultHandler | |||
) |
virtual casacore::BlockOutput::~BlockOutput | ( | ) | [virtual] |
void casacore::BlockOutput::flush_buffer | ( | ) |
virtual int casacore::BlockOutput::write | ( | char * | ) | [virtual] |
write the next logical record.
The input must point to a logical record