a Miriad history reader More...
#include <MirVisReader.h>
Public Member Functions | |
| MirHisReader (Int mirhandle) | |
| create a History reader from a Miriad file handle   | |
| ~MirHisReader () | |
| delete the reader   | |
| Bool | atEnd () | 
| return true this reader there is no more history to read   | |
| Bool | readLine (String &line) | 
| read the next available line into a String.   | |
Private Attributes | |
| Int | uv_handle_p | 
| Int | eof_p | 
| 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 176 of file MirVisReader.h.
| MirHisReader::MirHisReader | ( | Int | mirhandle | ) |  [inline] | 
        
create a History reader from a Miriad file handle
Definition at line 184 of file MirVisReader.h.
References uv_handle_p.
| MirHisReader::~MirHisReader | ( | ) |  [inline] | 
        
| Bool MirHisReader::atEnd | ( | ) |  [inline] | 
        
return true this reader there is no more history to read
Definition at line 194 of file MirVisReader.h.
References eof_p.
Referenced by readLine().
| Bool MirHisReader::readLine | ( | String & | line | ) |  [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 199 of file MirVisReader.h.
References atEnd(), eof_p, casacore::False, hline, casacore::True, and uv_handle_p.
Int MirHisReader::eof_p [private] | 
        
Definition at line 178 of file MirVisReader.h.
Referenced by atEnd(), and readLine().
Char MirHisReader::hline[256] [private] | 
        
Definition at line 179 of file MirVisReader.h.
Referenced by readLine().
Int MirHisReader::uv_handle_p [private] | 
        
Definition at line 178 of file MirVisReader.h.
Referenced by MirHisReader(), readLine(), and ~MirHisReader().
 1.6.1