Go to the documentation of this file.
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>
RORecordFieldPtr< Double > time_next_p
Description of the fields in a record object.
virtual Record & currentRow()
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...
A hierarchical collection of named fields of various types.
virtual const TableRecord & keywords() const
Returns keywords which are associated with the underlying FITS files.
FITSTimedTable(FITSTabular *originalTable, uInt whichColumnIsTime=0)
Note, originalTable cannot be destructed, reopened,...,during the lifetime of this object.
Double currentTime() const
What is the time of the current row?
RORecordFieldPtr< Double > time_now_p
virtual void next()
Advance the row if possible (guaranteed harmless if pastEnd() is True.
TableRecord dummyKeywords
virtual void resetChangedFlag()
reset the changed flag, default do nothing
virtual Bool pastEnd() const
Returns True if we have advanced past the end of data.
virtual const RecordDesc & description() const
Returns the description of the underlying FITS table.
Bool ok() const
this is True if the last setTime() finished as expected It is False only if the requested time is bef...
virtual const String & name() const
return the name
virtual Bool isValid() const
isValid() returns False if this object isn't a valid Tabular data structure.
void initNextRecord(const RecordDesc &desc)
virtual const String & name() const =0
return the name
this file contains all the compiler specific defines
virtual const Record & currentRow() const
Return the currentRow.
void initNowRecord(const RecordDesc &desc)
TableExprNode time(const TableExprNode &node)
FITSTimedTable()
This is not connected to any data, isValid always returns True, keywords and description return the d...
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
virtual const Record & nulls() const
Returns any TNULLnnn 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...
A hierarchical collection of named fields of various types.
Simplified interface to FITS tables with Casacore Look and Feel.
virtual const Record & units() const
Returns any TUNITnnn associated with a column (the field names are the column names,...
virtual const Record & displayFormats() const
Returns any TDISPnnn associated with a column (the field names are the column names,...
virtual Bool hasChanged() const
Has the description changed since construction, default is False.