Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1TaQLNodeHRValue.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 22:41:28 2011
Кодировка:
casacore: casa::TaQLNodeHRValue Class Reference
Public Member Functions | Private Attributes

casa::TaQLNodeHRValue Class Reference
[Tables_module_internal_classes]

Class containing the result value of the handling of a TaQLNode. More...

#include <TaQLNodeHandler.h>

Inheritance diagram for casa::TaQLNodeHRValue:
casa::TaQLNodeResultRep

List of all members.

Public Member Functions

 TaQLNodeHRValue ()
 TaQLNodeHRValue (const TableExprNode &expr)
virtual ~TaQLNodeHRValue ()
Int getInt () const
 Get the values.
const StringgetString () const
const StringgetAlias () const
const StringgetDtype () const
const RecordgetRecord () const
const TablegetTable () const
const TableExprNodegetExpr () const
const TableExprNodeSetElemgetElem () const
const TableExprNodeSetgetExprSet () const
const Vector< String > * getNames () const
void setInt (Int ival)
 Set the values.
void setString (const String &str)
void setAlias (const String &alias)
void setDtype (const String &dtype)
void setRecord (const Record &record)
void setTable (const Table &table)
void setExpr (const TableExprNode &expr)
void setElem (TableExprNodeSetElem *elem)
void setExprSet (TableExprNodeSet *set)
void setNames (Vector< String > *names)

Private Attributes

Int itsInt
String itsString
String itsAlias
String itsDtype
Record itsRecord
Table itsTable
TableExprNode itsExpr
TableExprNodeSetElemitsElem
TableExprNodeSetitsSet
Vector< String > * itsNames

Detailed Description

Class containing the result value of the handling of a TaQLNode.

Intended use:

Internal

Review Status

Test programs:
tTableGram

Prerequisite

Synopsis

TaQLNodeHRValue is a specialization of class TaQLNodeResultRep . It contains the values resulting from handling a particular node. The object is effectively a collection of all possible values that need to be returned. Which values are filled in, depends on which node has been processed.
Note: The getHR function in TaQLNodeHandler is very useful to extract/cast the TaQLNodeHRValue object from the general TaQLNodeResult object;

Definition at line 223 of file TaQLNodeHandler.h.


Constructor & Destructor Documentation

casa::TaQLNodeHRValue::TaQLNodeHRValue (  )  [inline]

Definition at line 226 of file TaQLNodeHandler.h.

Referenced by TaQLNodeHRValue().

casa::TaQLNodeHRValue::TaQLNodeHRValue ( const TableExprNode expr  )  [inline]

Definition at line 228 of file TaQLNodeHandler.h.

References itsElem, itsInt, itsNames, itsSet, and TaQLNodeHRValue().

virtual casa::TaQLNodeHRValue::~TaQLNodeHRValue (  )  [virtual]

Member Function Documentation

const String& casa::TaQLNodeHRValue::getAlias (  )  const [inline]

Definition at line 238 of file TaQLNodeHandler.h.

const String& casa::TaQLNodeHRValue::getDtype (  )  const [inline]

Definition at line 240 of file TaQLNodeHandler.h.

References itsInt.

const TableExprNodeSetElem* casa::TaQLNodeHRValue::getElem (  )  const [inline]

Definition at line 248 of file TaQLNodeHandler.h.

References itsRecord.

const TableExprNode& casa::TaQLNodeHRValue::getExpr (  )  const [inline]

Definition at line 246 of file TaQLNodeHandler.h.

References itsDtype.

const TableExprNodeSet& casa::TaQLNodeHRValue::getExprSet (  )  const [inline]

Definition at line 250 of file TaQLNodeHandler.h.

References itsTable.

Int casa::TaQLNodeHRValue::getInt (  )  const [inline]

Get the values.

Definition at line 234 of file TaQLNodeHandler.h.

const Vector<String>* casa::TaQLNodeHRValue::getNames (  )  const [inline]

Definition at line 252 of file TaQLNodeHandler.h.

References itsExpr.

const Record& casa::TaQLNodeHRValue::getRecord (  )  const [inline]

Definition at line 242 of file TaQLNodeHandler.h.

References itsString.

const String& casa::TaQLNodeHRValue::getString (  )  const [inline]

Definition at line 236 of file TaQLNodeHandler.h.

const Table& casa::TaQLNodeHRValue::getTable (  )  const [inline]

Definition at line 244 of file TaQLNodeHandler.h.

References itsAlias.

void casa::TaQLNodeHRValue::setAlias ( const String alias  )  [inline]

Definition at line 263 of file TaQLNodeHandler.h.

void casa::TaQLNodeHRValue::setDtype ( const String dtype  )  [inline]

Definition at line 265 of file TaQLNodeHandler.h.

References itsInt.

void casa::TaQLNodeHRValue::setElem ( TableExprNodeSetElem elem  )  [inline]

Definition at line 273 of file TaQLNodeHandler.h.

References itsRecord.

void casa::TaQLNodeHRValue::setExpr ( const TableExprNode expr  )  [inline]

Definition at line 271 of file TaQLNodeHandler.h.

References itsDtype.

void casa::TaQLNodeHRValue::setExprSet ( TableExprNodeSet set  )  [inline]