29 #ifndef FITS_FITSTIMEDTABLE_H
30 #define FITS_FITSTIMEDTABLE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/fits/FITS/FITSTable.h>
34 #include <casacore/casa/Containers/Record.h>
35 #include <casacore/casa/Containers/RecordField.h>
virtual const String & name() const =0
return the name
Double currentTime() const
What is the time of the current row?
virtual const Record & units() const
Returns any TUNITnnn associated with a column (the field names are the column names,...
virtual void setTime(Double time)
interpolate to the desired time which must be >= the currentTime() This uses a linear interpolation b...
RORecordFieldPtr< Double > time_next_p
FITSTimedTable()
This is not connected to any data, isValid always returns True, keywords and description return the d...
virtual const Record & currentRow() const
Return the currentRow.
virtual void resetChangedFlag()
reset the changed flag, default do nothing
virtual Bool isValid() const
isValid() returns False if this object isn't a valid Tabular data structure.
void initNowRecord(const RecordDesc &desc)
virtual const TableRecord & keywords() const
Returns keywords which are associated with the underlying FITS files.
Bool ok() const
this is True if the last setTime() finished as expected It is False only if the requested time is bef...
virtual Record & currentRow()
TableRecord dummyKeywords
virtual const String & name() const
return the name
virtual const RecordDesc & description() const
Returns the description of the underlying FITS table.
FITSTimedTable(FITSTabular *originalTable, uInt whichColumnIsTime=0)
Note, originalTable cannot be destructed, reopened,...,during the lifetime of this object.
virtual const Record & displayFormats() const
Returns any TDISPnnn associated with a column (the field names are the column names,...
void initNextRecord(const RecordDesc &desc)
RORecordFieldPtr< Double > time_now_p
Double nextTime()
What will the time of the next row be? Returns a very large number if it is past the end of the table...
virtual Bool pastEnd() const
Returns True if we have advanced past the end of data.
virtual Bool hasChanged() const
Has the description changed since construction, default is False.
virtual const Record & nulls() const
Returns any TNULLnnn associated with a column (the field names are the column names,...
virtual void next()
Advance the row if possible (guaranteed harmless if pastEnd() is True.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
TableExprNode time(const TableExprNode &node)
bool Bool
Define the standard types used by Casacore.