Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1TableExprNodeColumn.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 23:17:15 2011 Кодировка: Поисковые слова: 3 |
Scalar column in table select expression tree. More...
#include <ExprDerNode.h>
Public Member Functions | |
TableExprNodeColumn (const Table &, const String &columnName) | |
~TableExprNodeColumn () | |
virtual void | replaceTablePtr (const Table &) |
Replace the Table pointer in this node. | |
Bool | getBool (const TableExprId &id) |
Is the expression a column aggregate function? | |
Int64 | getInt (const TableExprId &id) |
Double | getDouble (const TableExprId &id) |
DComplex | getDComplex (const TableExprId &id) |
String | getString (const TableExprId &id) |
const ROTableColumn & | getColumn () const |
Bool | getColumnDataType (DataType &) const |
Get the data type of this scalar column. | |
Array< Bool > | getColumnBool () |
Get the value of the expression evaluated for the entire column. | |
Array< uChar > | getColumnuChar () |
Array< Short > | getColumnShort () |
Array< uShort > | getColumnuShort () |
Array< Int > | getColumnInt () |
Array< uInt > | getColumnuInt () |
Array< Float > | getColumnFloat () |
Array< Double > | getColumnDouble () |
Array< Complex > | getColumnComplex () |
Array< DComplex > | getColumnDComplex () |
Array< String > | getColumnString () |
Static Public Member Functions | |
static Unit | getColumnUnit (const ROTableColumn &) |
Get the column unit (can be empty). | |
Protected Attributes | |
ROTableColumn * | tabColPtr_p |
Scalar column in table select expression tree.
Internal
This class represents a scalar column in a table select expression tree. When the select expression gets evaluated, the value of the given row in the column is used.
Definition at line 298 of file ExprDerNode.h.
casa::TableExprNodeColumn::~TableExprNodeColumn | ( | ) |
Bool casa::TableExprNodeColumn::getBool | ( | const TableExprId & | id | ) | [virtual] |
Is the expression a column aggregate function?
virtual Bool isAggregate() const; Get a scalar value for this node in the given row. The appropriate functions are implemented in the derived classes and will usually invoke the get in their children and apply the operator on the resulting values.
Reimplemented from casa::TableExprNodeRep.
const ROTableColumn& casa::TableExprNodeColumn::getColumn | ( | ) | const |
Get the value of the expression evaluated for the entire column.
The data of function called should match the data type as returned by function getColumnDataType
.
Reimplemented from casa::TableExprNodeRep.
Array<Complex> casa::TableExprNodeColumn::getColumnComplex | ( | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
Bool casa::TableExprNodeColumn::getColumnDataType | ( | DataType & | ) | const [virtual] |
Get the data type of this scalar column.
Reimplemented from casa::TableExprNodeRep.
Array<DComplex> casa::TableExprNodeColumn::getColumnDComplex | ( | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
static Unit casa::TableExprNodeColumn::getColumnUnit | ( | const ROTableColumn & | ) | [static] |
Get the column unit (can be empty).
Reimplemented from casa::TableExprNodeRep.
DComplex casa::TableExprNodeColumn::getDComplex | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
Double casa::TableExprNodeColumn::getDouble | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
Int64 casa::TableExprNodeColumn::getInt | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
String casa::TableExprNodeColumn::getString | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual void casa::TableExprNodeColumn::replaceTablePtr | ( | const Table & | ) | [virtual] |
Replace the Table pointer in this node.
Reimplemented from casa::TableExprNodeBinary.
ROTableColumn* casa::TableExprNodeColumn::tabColPtr_p [protected] |
Definition at line 333 of file ExprDerNode.h.