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

#include <GBTDAPFile.h>

List of all members.

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 Stringmanager () const
const Stringsampler () 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)
GBTDAPFileoperator= (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

Detailed Description

Intended use:

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>

Thrown Exceptions

Definition at line 84 of file GBTDAPFile.h.


Constructor & Destructor Documentation

GBTDAPFile::GBTDAPFile ( const String dapfile,
const MVTime &  startTime 
)

Definition at line 89 of file GBTDAPFile.h.

References cleanup().

GBTDAPFile::GBTDAPFile ( ) [private]

unavailable

GBTDAPFile::GBTDAPFile ( const GBTDAPFile other) [private]

Member Function Documentation

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]

Definition at line 94 of file GBTDAPFile.h.

References dmjd_p.

Referenced by pastEnd().

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.


Member Data Documentation

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().

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().

Definition at line 124 of file GBTDAPFile.h.

Referenced by sampler().

Definition at line 122 of file GBTDAPFile.h.

Record* GBTDAPFile::unhandledFields_p [private]

Definition at line 136 of file GBTDAPFile.h.

Referenced by unhandledFields().


The documentation for this class was generated from the following file: