Документ взят из кэша поисковой машины. Адрес оригинального документа : 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
Кодировка:

Поисковые слова: туманность андромеды
casacore: casa::TableExprNodeColumn Class Reference
Public Member Functions | Static Public Member Functions | Protected Attributes

casa::TableExprNodeColumn Class Reference
[Tables_module_internal_classes]

Scalar column in table select expression tree. More...

#include <ExprDerNode.h>

Inheritance diagram for casa::TableExprNodeColumn:
casa::TableExprNodeBinary casa::TableExprNodeRep

List of all members.

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 ROTableColumngetColumn () const
Bool getColumnDataType (DataType &) const
 Get the data type of this scalar column.
Array< BoolgetColumnBool ()
 Get the value of the expression evaluated for the entire column.
Array< uChargetColumnuChar ()
Array< ShortgetColumnShort ()
Array< uShortgetColumnuShort ()
Array< IntgetColumnInt ()
Array< uIntgetColumnuInt ()
Array< FloatgetColumnFloat ()
Array< DoublegetColumnDouble ()
Array< Complex > getColumnComplex ()
Array< DComplex > getColumnDComplex ()
Array< StringgetColumnString ()

Static Public Member Functions

static Unit getColumnUnit (const ROTableColumn &)
 Get the column unit (can be empty).

Protected Attributes

ROTableColumntabColPtr_p

Detailed Description

Scalar column in table select expression tree.

Intended use:

Internal

Review Status

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

Prerequisite

Synopsis

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.


Constructor & Destructor Documentation

casa::TableExprNodeColumn::TableExprNodeColumn ( const Table ,
const String columnName 
)
casa::TableExprNodeColumn::~TableExprNodeColumn (  ) 

Member Function Documentation

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
Array<Bool> casa::TableExprNodeColumn::getColumnBool (  )  [virtual]

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.

Array<Double> casa::TableExprNodeColumn::getColumnDouble (  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Array<Float> casa::TableExprNodeColumn::getColumnFloat (  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Array<Int> casa::TableExprNodeColumn::getColumnInt (  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Array<Short> casa::TableExprNodeColumn::getColumnShort (  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Array<String> casa::TableExprNodeColumn::getColumnString (  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Array<uChar> casa::TableExprNodeColumn::getColumnuChar (  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Array<uInt> casa::TableExprNodeColumn::getColumnuInt (  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

static Unit casa::TableExprNodeColumn::getColumnUnit ( const ROTableColumn  )  [static]

Get the column unit (can be empty).

Array<uShort> casa::TableExprNodeColumn::getColumnuShort (  )  [virtual]

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.


Member Data Documentation

Definition at line 333 of file ExprDerNode.h.


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