casa
5.7.0-16
|
a Miriad history reader More...
#include <MirVisReader.h>
Public Member Functions | |
MirHisReader (casacore::Int mirhandle) | |
create a History reader from a Miriad file handle More... | |
~MirHisReader () | |
delete the reader More... | |
casacore::Bool | atEnd () |
return true this reader there is no more history to read More... | |
casacore::Bool | readLine (casacore::String &line) |
read the next available line into a String. More... | |
Private Attributes | |
casacore::Int | uv_handle_p |
casacore::Int | eof_p |
casacore::Char | hline [256] |
a Miriad history reader
Public interface
Class name is short for Miriad history reader.
Miriad history is read independently from the visibility data; thus, an independent class is in order. This class hides the details of how to read Miriad history.
This class is used to extract history from a Miriad visibility dataset. Normally, an application does not create this class by itself, but rather via MirVisReader::openHistory();
Definition at line 180 of file MirVisReader.h.
|
inline |
create a History reader from a Miriad file handle
Definition at line 188 of file MirVisReader.h.
References hisopen_c(), and uv_handle_p.
|
inline |
delete the reader
Definition at line 193 of file MirVisReader.h.
References hisclose_c(), and uv_handle_p.
|
inline |
return true this reader there is no more history to read
Definition at line 198 of file MirVisReader.h.
References eof_p.
Referenced by readLine().
|
inline |
read the next available line into a String.
true is returned if line was successfully loaded; false is returned if the last line had already been read.
Definition at line 203 of file MirVisReader.h.
References atEnd(), eof_p, hisread_c(), hline, and uv_handle_p.
|
private |
Definition at line 182 of file MirVisReader.h.
Referenced by atEnd(), and readLine().
|
private |
Definition at line 183 of file MirVisReader.h.
Referenced by readLine().
|
private |
Definition at line 182 of file MirVisReader.h.
Referenced by MirHisReader(), readLine(), and ~MirHisReader().