28 #ifndef TABLES_TABLEROW_H 29 #define TABLES_TABLEROW_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/tables/Tables/Table.h> 34 #include <casacore/tables/Tables/TableRecord.h> 35 #include <casacore/casa/Containers/Block.h> 36 #include <casacore/casa/BasicSL/String.h> 42 template<
class T>
class Vector;
242 Int whichColumn,
Int whichField);
459 void put (
uInt rownr);
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)
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 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.
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.
this file contains all the compiler specific defines
const Block< Bool > & getDefined() const
Get the block telling for each column if its value in the row was indefined in the table...