Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1TaQLResult.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 21:38:16 2011
Кодировка:

Поисковые слова: п п п п п п п п
casacore: casa::TaQLResult Class Reference
Public Member Functions | Private Attributes

casa::TaQLResult Class Reference
[Tables_module_internal_classes]

Class to hold the result of a TaQL command. More...

#include <TaQLResult.h>

List of all members.

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?
Table table () const
 Return the result as a Table.
 operator Table () const
 Make it possible to convert automatically to a Table.
TableExprNode node () const
 Return the result as a TableExprNode.

Private Attributes

Table itsTable
TableExprNode itsNode

Detailed Description

Class to hold the result of a TaQL command.

Intended use:

Internal

Review Status

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

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.

Definition at line 67 of file TaQLResult.h.


Constructor & Destructor Documentation

casa::TaQLResult::TaQLResult ( const Table = Table()  ) 

Construct from a Table.

casa::TaQLResult::TaQLResult ( const TableExprNode  )  [explicit]

Construct from a TableExprNode.


Member Function Documentation

Bool casa::TaQLResult::isTable (  )  const [inline]

Is the result a Table?

Definition at line 77 of file TaQLResult.h.

References casa::TableExprNode::isNull(), and itsNode.

TableExprNode casa::TaQLResult::node (  )  const

Return the result as a TableExprNode.

It throws an exception if it is not a TableExprNode.

casa::TaQLResult::operator Table (  )  const [inline]

Make it possible to convert automatically to a Table.

Definition at line 86 of file TaQLResult.h.

References table().

Table casa::TaQLResult::table (  )  const

Return the result as a Table.

It throws an exception if it is not a Table.

Referenced by operator Table().


Member Data Documentation

Definition at line 95 of file TaQLResult.h.

Referenced by isTable().

Definition at line 94 of file TaQLResult.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines