casacore
|
Helper class for updates in TableParse. More...
#include <TableParse.h>
Public Member Functions | |
TableParseUpdate () | |
TableParseUpdate (const String &columnName, const TableExprNode &, Bool checkAggr=True) | |
Construct from a column name and expression. More... | |
TableParseUpdate (const String &columnName, const TableExprNodeSet &indices, const TableExprNode &, const TaQLStyle &) | |
Construct from a column name, subscripts, and expression. More... | |
~TableParseUpdate () | |
void | setColumnName (const String &name) |
Set the column name. More... | |
const String & | columnName () const |
Get the column name. More... | |
TableExprNodeIndex * | indexPtr () const |
Get the pointer to the indices. More... | |
const TableExprNode & | indexNode () const |
Get the index expression node. More... | |
const TableExprNode & | node () const |
Get the expression node. More... | |
TableExprNode & | node () |
void | adaptUnit (const Unit &columnUnit) |
Adapt the possible unit of the expression to the possible unit of the column. More... | |
Private Attributes | |
String | columnName_p |
TableExprNodeIndex * | indexPtr_p |
TableExprNode | indexNode_p |
TableExprNode | node_p |
Helper class for updates in TableParse.
Internal
TableParseUpdate holds a column name, optional indices, and an update expression.
A table command is parsed. An object of this class is used to hold the column name, optional indices, and value expression for the UPDATE command.
Definition at line 261 of file TableParse.h.
|
inline |
Definition at line 264 of file TableParse.h.
References casacore::True.
casacore::TableParseUpdate::TableParseUpdate | ( | const String & | columnName, |
const TableExprNode & | , | ||
Bool | checkAggr = True |
||
) |
Construct from a column name and expression.
By default it checks if no aggregate functions are used.
casacore::TableParseUpdate::TableParseUpdate | ( | const String & | columnName, |
const TableExprNodeSet & | indices, | ||
const TableExprNode & | , | ||
const TaQLStyle & | |||
) |
Construct from a column name, subscripts, and expression.
It checks if no aggregate functions are used.
casacore::TableParseUpdate::~TableParseUpdate | ( | ) |
|
inline |
Adapt the possible unit of the expression to the possible unit of the column.
Definition at line 831 of file TableParse.h.
|
inline |
Get the column name.
Definition at line 821 of file TableParse.h.
|
inline |
Get the index expression node.
Definition at line 825 of file TableParse.h.
|
inline |
Get the pointer to the indices.
Definition at line 823 of file TableParse.h.
|
inline |
Get the expression node.
Definition at line 827 of file TableParse.h.
|
inline |
Definition at line 829 of file TableParse.h.
|
inline |
Set the column name.
Definition at line 819 of file TableParse.h.
|
private |
Definition at line 304 of file TableParse.h.
|
private |
Definition at line 306 of file TableParse.h.
|
private |
Definition at line 305 of file TableParse.h.
|
private |
Definition at line 307 of file TableParse.h.