casa
5.7.0-16
|
Helper class for sort keys in TableParse. More...
#include <TableParse.h>
Public Member Functions | |
TableParseSort () | |
Construct from a given expression. More... | |
TableParseSort (const TableExprNode &) | |
Construct from a given expression. More... | |
TableParseSort (const TableExprNode &, Sort::Order) | |
Construct from a given expression and for the given order. More... | |
~TableParseSort () | |
const TableExprNode & | node () const |
Get the expression node. More... | |
Sort::Order | order () const |
Get the sort order. More... | |
Bool | orderGiven () const |
Is the order given? More... | |
Private Member Functions | |
void | checkNode () const |
Check if the node results in a scalar and does not contain aggregate functions. More... | |
Private Attributes | |
TableExprNode | node_p |
Sort::Order | order_p |
Bool | given_p |
Helper class for sort keys in TableParse.
Internal
TableParseSort holds a sort expression and order.
A table command is parsed. An object of this class is used to hold the sort expression and sort order.
Definition at line 199 of file TableParse.h.
casacore::TableParseSort::TableParseSort | ( | ) |
Construct from a given expression.
The order is not given.
|
explicit |
Construct from a given expression.
The order is not given.
casacore::TableParseSort::TableParseSort | ( | const TableExprNode & | , |
Sort::Order | |||
) |
Construct from a given expression and for the given order.
casacore::TableParseSort::~TableParseSort | ( | ) |
|
private |
Check if the node results in a scalar and does not contain aggregate functions.
|
inline |
|
inline |
Get the sort order.
Definition at line 991 of file TableParse.h.
References order_p.
Referenced by casacore::TableParseSelect::getOrder().
|
inline |
Is the order given?
Definition at line 989 of file TableParse.h.
References given_p.
Referenced by casacore::TableParseSelect::getOrder().
|
private |
Definition at line 231 of file TableParse.h.
Referenced by orderGiven().
|
private |
Definition at line 229 of file TableParse.h.
Referenced by node().
|
private |
Definition at line 230 of file TableParse.h.
Referenced by order().