casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::RecordExpr_global_functions_RecordExpr Struct Reference

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...
 

Detailed Description

Global functions to make a expression node for a record field.

Intended use:

Public interface

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Prerequisite

Synopsis

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.

Member Function Documentation

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 
)
TableExprNode casacore::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 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


The documentation for this struct was generated from the following file: