casacore
|
Global functions to make a expression node for a record field. More...
#include <RecordExpr.h>
Public Member Functions | |
TableExprNode | makeRecordExpr (const RecordDesc &desc, Int fieldNumber) |
Make a record expression node for the given field in the record description. More... | |
TableExprNode | makeRecordExpr (const RecordDesc &desc, const String &fieldName) |
TableExprNode | makeRecordExpr (const RecordInterface &record, Int fieldNumber) |
Make a record expression node for the given field in the record. More... | |
TableExprNode | makeRecordExpr (const RecordInterface &record, const String &fieldName) |
Make a record expression node for the given field in the record. More... | |
Global functions to make a expression node for a record field.
Public interface
This file contains a few global functions to construct an expression node for a field in a record.
Definition at line 62 of file RecordExpr.h.
TableExprNode casacore::RecordExpr_global_functions_RecordExpr::makeRecordExpr | ( | const RecordDesc & | desc, |
Int | fieldNumber | ||
) |
Make a record expression node for the given field in the record description.
TableExprNode casacore::RecordExpr_global_functions_RecordExpr::makeRecordExpr | ( | const RecordDesc & | desc, |
const String & | fieldName | ||
) |
|
inline |
Make a record expression node for the given field in the record.
Definition at line 72 of file RecordExpr.h.
References casacore::RecordInterface::description().
TableExprNode casacore::RecordExpr_global_functions_RecordExpr::makeRecordExpr | ( | const RecordInterface & | record, |
const String & | fieldName | ||
) |
Make a record expression node for the given field in the record.
The field can be a field in the record itself, but it can also be a field in a subrecord (or subsubrecord, etc.). If it is not a field in the record itself, the name must define the 'path' to the field in the subrecord by preceeding the field name with the name(s) of the subrecord(s) separated by dots. E.g. sub1.sub2.fld