28 #ifndef TABLES_TABLEROW_H
29 #define TABLES_TABLEROW_H
42 template<
class T>
class Vector;
242 Int whichColumn,
Int whichField);
Vector< String > columnNames() const
Get a vector consisting of all columns names.
A 1-D Specialization of the Array class.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
std::vector< double > Vector
void putMatchingFields(uInt rownr, const TableRecord &record)
Put the values found in the TableRecord.
Block< void * > itsFields
Main interface class to a read/write table.
ROTableRow & operator=(const ROTableRow &)
Assignment (copy semantics).
Block< void * > itsColumns
TableRecord & record()
Get non-const access to the TableRecord in this object.
void putRecord(uInt rownr)
Put the values found in the internal TableRecord at the given row.
Read/write access to a table row.
void addColumnToDesc(RecordDesc &description, const TableColumn &column, Bool skipOther)
Add a column to the record.
void putField(uInt rownr, const TableRecord &record, Int whichColumn, Int whichField)
Put a value in the given field in the TableRecord into the given row and column.
Bool namesConform(const TableRecord &that) const
Check if the names of the given record match this row.
Bool isAttached() const
Test if a Table is attached to this object.
void copy(const ROTableRow &that)
Copy that object to this object.
void deleteObjects()
Delete all objects.
Int64 rowNumber() const
Get the number of the last row read.
void makeDescExclude(RecordDesc &description, const Vector< String > &columnNames, Bool writable)
Make a RecordDesc from the table with some excluded column names.
Description of the fields in a record object.
Readonly access to a table row.
void create(const Table &table, Bool storedColumnsOnly, Bool writable)
Create the record, column, and field objects for all columns in the table.
bool Bool
Define the standard types used by Casacore.
TableRow()
Create a detached TableRow object.
Read/write access to a table column.
A hierarchical collection of named fields of various types.
const TableRecord & record() const
Get the record containing all fields.
const Table & table() const
Get the Table used for this object.
Block< void * > itsTabCols
void setReread(uInt rownr)
Set the switch to reread when the current row has been put.
ROTableRow()
Create a detached ROTableRow object.
void init()
Initialize the object.
void put()
Put into the last row read.
void makeObjects(const RecordDesc &description)
Make the required objects.
TableRow & operator=(const TableRow &)
Assignment (copy semantics).
const Block< Bool > & getDefined() const
Get the block telling for each column if its value in the row was indefined in the table...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.