casa
$Rev:20696$
|
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. | |
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. | |
TableExprNode | makeRecordExpr (const RecordInterface &record, const String &fieldName) |
Make a record expression node for the given field in the record. |
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 61 of file RecordExpr.h.
TableExprNode casa::RecordExpr_global_functions_RecordExpr::makeRecordExpr | ( | const RecordDesc & | desc, |
Int | fieldNumber | ||
) |
Make a record expression node for the given field in the record description.
TableExprNode casa::RecordExpr_global_functions_RecordExpr::makeRecordExpr | ( | const RecordDesc & | desc, |
const String & | fieldName | ||
) |
TableExprNode casa::RecordExpr_global_functions_RecordExpr::makeRecordExpr | ( | const RecordInterface & | record, |
Int | fieldNumber | ||
) | [inline] |
Make a record expression node for the given field in the record.
Definition at line 71 of file RecordExpr.h.
References casa::RecordInterface::description(), and makeRecordExpr().
Referenced by makeRecordExpr().
TableExprNode casa::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