casa
$Rev:20696$
|
#include <GBTDAPFile.h>
Public Member Functions | |
GBTDAPFile (const String &dapfile, const MVTime &startTime) | |
~GBTDAPFile () | |
virtual Bool | reopen (const String &dapfile, const MVTime &startTime, Bool resync) |
virtual Bool | reopen (const String &dapfile) |
the default reopen is a reopen with resync=True | |
virtual Bool | isValid () const |
virtual void | next () |
virtual const Record & | currentRow () const |
virtual Bool | pastEnd () const |
virtual Int | rownr () const |
virtual void | move (Int torow) |
virtual const MVTime & | currentTime () const |
virtual const MVTime & | nextTime () const |
virtual Double | interval () const |
the interval between nextTime() and currentTime() if the currentTime is the end of the row, the interval is the last row if there is only 1 row, the interval is zero | |
const String & | manager () const |
const String & | sampler () const |
virtual void | handleField (const String &fieldName) |
virtual const Record & | unhandledFields () |
Private Member Functions | |
void | cleanup () |
void | init () |
void | initUnhandledFields () |
GBTDAPFile () | |
unavailable | |
GBTDAPFile (const GBTDAPFile &other) | |
GBTDAPFile & | operator= (const GBTDAPFile &other) |
Private Attributes | |
Bool | timeWarningIssued_p |
String | manager_p |
String | sampler_p |
Record * | currentRow_p |
MVTime | currentTime_p |
MVTime | nextTime_p |
MVTime | endOfTime_p |
Double | interval_p |
RORecordFieldPtr< Double > | dmjd_p |
Int | row_nr_p |
Record * | unhandledFields_p |
CopyRecordToRecord * | fieldCopier_p |
Vector< Int > | fieldMap_p |
Public interface
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> <h3>Etymology</h3> <h3>Synopsis</h3> <h3>Example</h3> @anchor GBTDAPFile_example <h3>Motivation</h3>
Definition at line 84 of file GBTDAPFile.h.
GBTDAPFile::GBTDAPFile | ( | const String & | dapfile, |
const MVTime & | startTime | ||
) |
GBTDAPFile::~GBTDAPFile | ( | ) | [inline] |
Definition at line 89 of file GBTDAPFile.h.
References cleanup().
GBTDAPFile::GBTDAPFile | ( | ) | [private] |
unavailable
GBTDAPFile::GBTDAPFile | ( | const GBTDAPFile & | other | ) | [private] |
void GBTDAPFile::cleanup | ( | ) | [private] |
Referenced by ~GBTDAPFile().
virtual const Record& GBTDAPFile::currentRow | ( | ) | const [inline, virtual] |
Definition at line 96 of file GBTDAPFile.h.
References currentRow_p.
virtual const MVTime& GBTDAPFile::currentTime | ( | ) | const [inline, virtual] |
Definition at line 102 of file GBTDAPFile.h.
References currentTime_p.
virtual void GBTDAPFile::handleField | ( | const String & | fieldName | ) | [virtual] |
void GBTDAPFile::init | ( | ) | [private] |
void GBTDAPFile::initUnhandledFields | ( | ) | [private] |
Referenced by unhandledFields().
virtual Double GBTDAPFile::interval | ( | ) | const [inline, virtual] |
the interval between nextTime() and currentTime() if the currentTime is the end of the row, the interval is the last row if there is only 1 row, the interval is zero
Definition at line 108 of file GBTDAPFile.h.
References interval_p.
virtual Bool GBTDAPFile::isValid | ( | ) | const [inline, virtual] |
const String& GBTDAPFile::manager | ( | ) | const [inline] |
Definition at line 110 of file GBTDAPFile.h.
References manager_p.
virtual void GBTDAPFile::move | ( | Int | torow | ) | [virtual] |
virtual void GBTDAPFile::next | ( | ) | [virtual] |
virtual const MVTime& GBTDAPFile::nextTime | ( | ) | const [inline, virtual] |
Definition at line 103 of file GBTDAPFile.h.
References nextTime_p.
GBTDAPFile& GBTDAPFile::operator= | ( | const GBTDAPFile & | other | ) | [private] |
virtual Bool GBTDAPFile::pastEnd | ( | ) | const [inline, virtual] |
Definition at line 97 of file GBTDAPFile.h.
References currentTime_p, endOfTime_p, and isValid().
virtual Bool GBTDAPFile::reopen | ( | const String & | dapfile, |
const MVTime & | startTime, | ||
Bool | resync | ||
) | [virtual] |
virtual Bool GBTDAPFile::reopen | ( | const String & | dapfile | ) | [inline, virtual] |
the default reopen is a reopen with resync=True
Definition at line 93 of file GBTDAPFile.h.
References reopen(), and casa::True.
Referenced by reopen().
virtual Int GBTDAPFile::rownr | ( | ) | const [inline, virtual] |
Definition at line 99 of file GBTDAPFile.h.
References row_nr_p.
const String& GBTDAPFile::sampler | ( | ) | const [inline] |
Definition at line 111 of file GBTDAPFile.h.
References sampler_p.
virtual const Record& GBTDAPFile::unhandledFields | ( | ) | [inline, virtual] |
Definition at line 115 of file GBTDAPFile.h.
References initUnhandledFields(), and unhandledFields_p.
Record* GBTDAPFile::currentRow_p [private] |
Definition at line 126 of file GBTDAPFile.h.
Referenced by currentRow().
MVTime GBTDAPFile::currentTime_p [private] |
Definition at line 128 of file GBTDAPFile.h.
Referenced by currentTime(), and pastEnd().
RORecordFieldPtr<Double> GBTDAPFile::dmjd_p [private] |
Definition at line 132 of file GBTDAPFile.h.
Referenced by isValid().
MVTime GBTDAPFile::endOfTime_p [private] |
Definition at line 128 of file GBTDAPFile.h.
Referenced by pastEnd().
CopyRecordToRecord* GBTDAPFile::fieldCopier_p [private] |
Definition at line 137 of file GBTDAPFile.h.
Vector<Int> GBTDAPFile::fieldMap_p [private] |
Definition at line 138 of file GBTDAPFile.h.
Double GBTDAPFile::interval_p [private] |
Definition at line 130 of file GBTDAPFile.h.
Referenced by interval().
String GBTDAPFile::manager_p [private] |
Definition at line 124 of file GBTDAPFile.h.
Referenced by manager().
MVTime GBTDAPFile::nextTime_p [private] |
Definition at line 128 of file GBTDAPFile.h.
Referenced by nextTime().
Int GBTDAPFile::row_nr_p [private] |
Definition at line 134 of file GBTDAPFile.h.
Referenced by rownr().
String GBTDAPFile::sampler_p [private] |
Definition at line 124 of file GBTDAPFile.h.
Referenced by sampler().
Bool GBTDAPFile::timeWarningIssued_p [private] |
Definition at line 122 of file GBTDAPFile.h.
Record* GBTDAPFile::unhandledFields_p [private] |
Definition at line 136 of file GBTDAPFile.h.
Referenced by unhandledFields().