casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::BlockOutput Class Reference

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

#include <blockio.h>

Inheritance diagram for casa::BlockOutput:
casa::BlockIO casa::FitsDiskOutput casa::FitsStdOutput casa::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

casa::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.

casa::BlockOutput::BlockOutput ( int  ,
int  ,
int  = 1,
FITSErrorHandler  errhandler = FITSError::defaultHandler 
)
virtual casa::BlockOutput::~BlockOutput ( ) [virtual]

Member Function Documentation

virtual int casa::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: