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

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

casa::TableExprNodeArrayPart Class Reference
[Tables_module_internal_classes]

Array column part in table select expression. More...

#include <ExprNodeArray.h>

Inheritance diagram for casa::TableExprNodeArrayPart:
casa::TableExprNodeArray casa::TableExprNodeBinary casa::TableExprNodeRep

List of all members.

Public Member Functions

 TableExprNodeArrayPart (TableExprNodeRep *arrayNode, TableExprNodeIndex *)
 ~TableExprNodeArrayPart ()
void show (ostream &os, uInt indent) const
 Show the 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)
MVTime getDate (const TableExprId &id)
Array< BoolgetArrayBool (const TableExprId &id)
 Get an array value for this node in the given row.
Array< Int64getArrayInt (const TableExprId &id)
Array< DoublegetArrayDouble (const TableExprId &id)
Array< DComplex > getArrayDComplex (const TableExprId &id)
 The default implementation of getArrayDComplex does getArrayDouble and converts the result.
Array< StringgetArrayString (const TableExprId &id)
Array< MVTimegetArrayDate (const TableExprId &id)
Bool getColumnDataType (DataType &) const
 Get the data type of this column (if possible).
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 ()
const TableExprNodeIndexgetIndexNode () const
 Get the index node.

Private Attributes

TableExprNodeIndexindexNode_p
TableExprNodeArrayarrNode_p
TableExprNodeArrayColumncolNode_p

Detailed Description

Array column part in table select expression.

Intended use:

Internal

Review Status

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

Prerequisite

Synopsis

This class handles a part of an array. It uses a TableExprNodeArray to handle the array and a TableExprNodeIndex to store the index.

Definition at line 741 of file ExprNodeArray.h.


Constructor & Destructor Documentation

casa::TableExprNodeArrayPart::TableExprNodeArrayPart ( TableExprNodeRep arrayNode,
TableExprNodeIndex  
)
casa::TableExprNodeArrayPart::~TableExprNodeArrayPart (  ) 

Member Function Documentation

Array<Bool> casa::TableExprNodeArrayPart::getArrayBool ( const TableExprId id  )  [virtual]

Get an array 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.

Array<MVTime> casa::TableExprNodeArrayPart::getArrayDate ( const TableExprId id  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Array<DComplex> casa::TableExprNodeArrayPart::getArrayDComplex ( const TableExprId id  )  [virtual]

The default implementation of getArrayDComplex does getArrayDouble and converts the result.

Reimplemented from casa::TableExprNodeArray.

Array<Double> casa::TableExprNodeArrayPart::getArrayDouble ( const TableExprId id  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Array<Int64> casa::TableExprNodeArrayPart::getArrayInt ( const TableExprId id  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Array<String> casa::TableExprNodeArrayPart::getArrayString ( const TableExprId id  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Bool casa::TableExprNodeArrayPart::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.

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

Reimplemented from casa::TableExprNodeRep.

Bool casa::TableExprNodeArrayPart::getColumnDataType ( DataType &   )  const [virtual]

Get the data type of this column (if possible).

It returns with a False status when the index is not constant (that means that the index can vary with row number).

Reimplemented from casa::TableExprNodeRep.

Array<DComplex> casa::TableExprNodeArrayPart::getColumnDComplex (  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

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

Reimplemented from casa::TableExprNodeRep.

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

Reimplemented from casa::TableExprNodeRep.

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

Reimplemented from casa::TableExprNodeRep.

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

Reimplemented from casa::TableExprNodeRep.

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

Reimplemented from casa::TableExprNodeRep.

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

Reimplemented from casa::TableExprNodeRep.

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

Reimplemented from casa::TableExprNodeRep.

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

Reimplemented from casa::TableExprNodeRep.

MVTime casa::TableExprNodeArrayPart::getDate ( const TableExprId id  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

DComplex casa::TableExprNodeArrayPart::getDComplex ( const TableExprId id  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

Double casa::TableExprNodeArrayPart::getDouble ( const TableExprId id  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

const TableExprNodeIndex * casa::TableExprNodeArrayPart::getIndexNode (  )  const [inline]

Get the index node.

Definition at line 814 of file ExprNodeArray.h.

References indexNode_p.

Int64 casa::TableExprNodeArrayPart::getInt ( const TableExprId id  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

String casa::TableExprNodeArrayPart::getString ( const TableExprId id  )  [virtual]

Reimplemented from casa::TableExprNodeRep.

void casa::TableExprNodeArrayPart::show ( ostream &  os,
uInt  indent 
) const [virtual]

Show the node.

Reimplemented from casa::TableExprNodeBinary.


Member Data Documentation


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