casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::TableParseSort Class Reference

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 TableExprNodenode () 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
 

Detailed Description

Helper class for sort keys in TableParse.

Intended use:

Internal

Review Status

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

Prerequisite

Etymology

TableParseSort holds a sort expression and order.

Synopsis

A table command is parsed. An object of this class is used to hold the sort expression and sort order.

Definition at line 206 of file TableParse.h.

Constructor & Destructor Documentation

casacore::TableParseSort::TableParseSort ( )

Construct from a given expression.

The order is not given.

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

Member Function Documentation

void casacore::TableParseSort::checkNode ( ) const
private

Check if the node results in a scalar and does not contain aggregate functions.

const TableExprNode & casacore::TableParseSort::node ( ) const
inline

Get the expression node.

Definition at line 1035 of file TableParse.h.

References node_p.

Sort::Order casacore::TableParseSort::order ( ) const
inline

Get the sort order.

Definition at line 1039 of file TableParse.h.

References order_p.

Referenced by casacore::TableParseSelect::getOrder().

Bool casacore::TableParseSort::orderGiven ( ) const
inline

Is the order given?

Definition at line 1037 of file TableParse.h.

References given_p.

Referenced by casacore::TableParseSelect::getOrder().

Member Data Documentation

Bool casacore::TableParseSort::given_p
private

Definition at line 238 of file TableParse.h.

Referenced by orderGiven().

TableExprNode casacore::TableParseSort::node_p
private

Definition at line 236 of file TableParse.h.

Referenced by node().

Sort::Order casacore::TableParseSort::order_p
private

Definition at line 237 of file TableParse.h.

Referenced by order().


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