casa
$Rev:20696$
|
Helper class for sort keys in TableParse. More...
#include <TableParse.h>
Public Member Functions | |
TableParseSort () | |
Construct from a given expression. | |
TableParseSort (const TableExprNode &) | |
Construct from a given expression. | |
TableParseSort (const TableExprNode &, Sort::Order) | |
Construct from a given expression and for the given order. | |
~TableParseSort () | |
const TableExprNode & | node () const |
Get the expression node. | |
Sort::Order | order () const |
Get the sort order. | |
Bool | orderGiven () const |
Is the order given? | |
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 193 of file TableParse.h.
Construct from a given expression.
The order is not given.
casa::TableParseSort::TableParseSort | ( | const TableExprNode & | ) | [explicit] |
Construct from a given expression.
The order is not given.
casa::TableParseSort::TableParseSort | ( | const TableExprNode & | , |
Sort::Order | |||
) |
Construct from a given expression and for the given order.
const TableExprNode & casa::TableParseSort::node | ( | ) | const [inline] |
Sort::Order casa::TableParseSort::order | ( | ) | const [inline] |
Get the sort order.
Definition at line 682 of file TableParse.h.
References order_p.
Referenced by casa::TableParseSelect::getOrder().
Bool casa::TableParseSort::orderGiven | ( | ) | const [inline] |
Is the order given?
Definition at line 680 of file TableParse.h.
References given_p.
Referenced by casa::TableParseSelect::getOrder().
Bool casa::TableParseSort::given_p [private] |
Definition at line 221 of file TableParse.h.
Referenced by orderGiven().
TableExprNode casa::TableParseSort::node_p [private] |
Definition at line 219 of file TableParse.h.
Referenced by node().
Sort::Order casa::TableParseSort::order_p [private] |
Definition at line 220 of file TableParse.h.
Referenced by order().