TaQLResult.h
Classes
- TaQLResult -- Class to hold the result of a TaQL command. (full description)
Interface
- Public Members
- TaQLResult (const Table& = Table())
- explicit TaQLResult (const TableExprNode&)
- Bool isTable() const
- Table table() const
- operator Table() const
- TableExprNode node() const
Review Status
- Reviewed By:
- UNKNOWN
- Date Reviewed:
- before2004/08/25
Prerequisite
Synopsis
The result of a TaQL command can be a Table or a TableExprNode.
This class holds the actual result.
Motivation
It is possible to give a TaQL command resulting in a TableExprNode
to make it possible to make expressions of columns.
Member Description
Construct from a Table.
explicit TaQLResult (const TableExprNode&)
Construct from a TableExprNode.
Is the result a Table?
Return the result as a Table.
It throws an exception if it is not a Table.
operator Table() const
Make it possible to convert automatically to a Table
Return the result as a TableExprNode.
It throws an exception if it is not a TableExprNode.