8 #ifndef SINGLEDISH_FILLER_SOURCERECORD_H_
9 #define SINGLEDISH_FILLER_SOURCERECORD_H_
76 if (columns.
nrow() == 0) {
88 if (columns.
nrow() <= irow) {
ScalarColumn< Int > & calibrationGroup()
Read-write access to required columns.
casacore::String code
optional
A Measure: astronomical direction.
void addRow(uInt nrrow=1, Bool initialize=False)
Add one or more rows at the end of the table.
ArrayColumn< Double > & restFrequency()
casacore::Vector< casacore::Double > sysvel
casacore::MSSource AssociatingTable
ArrayColumn< Double > & properMotion()
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
ScalarColumn< Double > & interval()
ScalarColumn< Int > & sourceId()
casacore::Int source_id
mandatory
casacore::Vector< casacore::String > transition
void put(uInt rownr, const Array< T > &array)
Put the array in a particular cell (i.e.
ScalarColumn< String > & code()
casacore::Bool fill(casacore::uInt irow, AssociatingColumns &columns)
size_type size() const
Capacity, size.
void defineRecord(const RecordFieldId &, const TableRecord &value, RecordType type=Variable)
Define a value for the given field.
ScalarColumn< Double > & time()
A class to provide easy read-write access to MSSource columns.
void add(AssociatingTable &table, AssociatingColumns &columns)
A Table intended to hold a MeasurementSet SOURCE table.
casacore::Int calibration_group
SourceRecord & operator=(SourceRecord const &other)
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
ArrayColumn< Double > & sysvel()
casacore::Vector< casacore::Double > rest_frequency
ArrayColumn< String > & transition()
A hierarchical collection of named fields of various types.
ScalarColumn< Int > & spectralWindowId()
ScalarColumn< Int > & numLines()
TableRecord & rwKeywordSet()
Get read/write access to the column keyword set.
virtual const RecordInterface & asRecord(const RecordFieldId &) const
casacore::MDirection direction
casacore::Vector< casacore::Double > proper_motion
ArrayColumn< Double > & direction()
casacore::Double interval
void put(uInt rownr, const T &value)
Put the value in a particular cell (i.e.
String: the storage and methods of handling collections of characters.
void put(uInt rownr, const M &meas)
Put a Measure into the given row.
void resize(size_t len, Bool copyValues=False)
void define(const RecordFieldId &, Bool value)
Define a value for the given field.
virtual String getRefString() const
Get the reference type (for records, including codes like R_)
ScalarMeasColumn< MDirection > & directionMeas()
casacore::MSSourceColumns AssociatingColumns
ScalarColumn< String > & name()