#include <TableExprId.h>
Collaboration diagram for casa::TableExprId:

Part of API
This class provides the user the ability to identify the data objects to test in a TaQL expression. In this way a TaQL expression is not limited to tables, but can be used for any set of data. Three types are available:
TableExprNode objects for the table columns to be used in the expression.
This class makes it possible that TaQL can be used in a very versatile way.
Definition at line 95 of file TableExprId.h.
Public Member Functions | |
| TableExprId (uInt rowNumber) | |
| Construct it from a row number. | |
| TableExprId (const RecordInterface &) | |
| Construct it from a Record object. | |
| TableExprId (const TableExprData &data) | |
| Construct it from pointers to data. | |
| Bool | byRow () const |
| Is the id given by row number? | |
| Bool | byRecord () const |
| Is the id given as a RecordInterface? | |
| Bool | byData () const |
| Is the id given as a TableExprData? | |
| uInt | rownr () const |
| Get the row number. | |
| const RecordInterface & | record () const |
| Get the Record reference. | |
| const TableExprData & | data () const |
| Get the data reference. | |
| void | setRownr (uInt rownr) |
| Set the row number. | |
| void | setRecord (const RecordInterface &) |
| Set the record. | |
Private Attributes | |
| uInt | row_p |
| const RecordInterface * | record_p |
| const TableExprData * | data_p |
| casa::TableExprId::TableExprId | ( | uInt | rowNumber | ) | [inline] |
| casa::TableExprId::TableExprId | ( | const RecordInterface & | ) | [inline] |
| casa::TableExprId::TableExprId | ( | const TableExprData & | data | ) | [inline] |
| Bool casa::TableExprId::byRow | ( | ) | const [inline] |
| Bool casa::TableExprId::byRecord | ( | ) | const [inline] |
Is the id given as a RecordInterface?
Definition at line 187 of file TableExprId.h.
References record_p.
| Bool casa::TableExprId::byData | ( | ) | const [inline] |
Is the id given as a TableExprData?
Definition at line 192 of file TableExprId.h.
References data_p.
| uInt casa::TableExprId::rownr | ( | ) | const [inline] |
| const RecordInterface & casa::TableExprId::record | ( | ) | const [inline] |
Get the Record reference.
Definition at line 162 of file TableExprId.h.
References record_p.
Referenced by setRecord().
| const TableExprData & casa::TableExprId::data | ( | ) | const [inline] |
| void casa::TableExprId::setRownr | ( | uInt | rownr | ) | [inline] |
| void casa::TableExprId::setRecord | ( | const RecordInterface & | ) | [inline] |
uInt casa::TableExprId::row_p [private] |
const RecordInterface* casa::TableExprId::record_p [private] |
Definition at line 133 of file TableExprId.h.
Referenced by byRecord(), byRow(), record(), and setRecord().
const TableExprData* casa::TableExprId::data_p [private] |
1.5.1