casacore::BlockOutput Class Reference

fixed-length blocked sequential output base class More...

#include <blockio.h>

Inheritance diagram for casacore::BlockOutput:
casacore::BlockIO casacore::FitsDiskOutput casacore::FitsStdOutput casacore::FitsTape9Output

List of all members.

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.

Detailed Description

fixed-length blocked sequential output base class

Prerequisite

Definition at line 175 of file blockio.h.


Constructor & Destructor Documentation

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]

Member Function Documentation

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1