casacore
|
#include <TaQLResult.h>
Public Member Functions | |
TaQLResult (const Table &=Table()) | |
Construct from a Table. | |
TaQLResult (const TableExprNode &) | |
Construct from a TableExprNode. | |
Bool | isTable () const |
Is the result a Table? | |
const Table & | table () const |
Return the result as a TableExprInfo. | |
TableExprNode | node () const |
Return the result as a TableExprNode. | |
Private Attributes | |
Table | itsTable |
TableExprNode | itsNode |
Class to hold the result of a TaQL command.
Internal
The result of a TaQL command can be a Table or a TableExprNode. This class holds the actual result.
It is possible to give a TaQL command resulting in a TableExprNode to make it possible to make expressions of columns.
Definition at line 64 of file TaQLResult.h.
|
explicit |
Construct from a TableExprNode.
|
inline |
Is the result a Table?
Definition at line 74 of file TaQLResult.h.
References casacore::TableExprNode::isNull(), and itsNode.
TableExprNode casacore::TaQLResult::node | ( | ) | const |
Return the result as a TableExprNode.
It throws an exception if it is not a TableExprNode.
const Table & casacore::TaQLResult::table | ( | ) | const |
Return the result as a TableExprInfo.
It throws an exception if it is not a table.
|
private |
Definition at line 87 of file TaQLResult.h.
Referenced by isTable().
|
private |
Definition at line 86 of file TaQLResult.h.