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

Definition at line 275 of file TaQLNodeHandler.h.

References itsTable.

void casa::TaQLNodeHRValue::setInt ( Int  ival  )  [inline]

Set the values.

If a pointer is given, it takes over the pointer.

Definition at line 259 of file TaQLNodeHandler.h.

void casa::TaQLNodeHRValue::setNames ( Vector< String > *  names  )  [inline]

Definition at line 277 of file TaQLNodeHandler.h.

References itsExpr.

void casa::TaQLNodeHRValue::setRecord ( const Record record  )  [inline]

Definition at line 267 of file TaQLNodeHandler.h.

References itsString.

void casa::TaQLNodeHRValue::setString ( const String str  )  [inline]

Definition at line 261 of file TaQLNodeHandler.h.

void casa::TaQLNodeHRValue::setTable ( const Table table  )  [inline]

Definition at line 269 of file TaQLNodeHandler.h.

References itsAlias.


Member Data Documentation

Definition at line 284 of file TaQLNodeHandler.h.

Referenced by getTable(), and setTable().

Definition at line 285 of file TaQLNodeHandler.h.

Referenced by getExpr(), and setExpr().

Definition at line 289 of file TaQLNodeHandler.h.

Referenced by TaQLNodeHRValue().

Definition at line 288 of file TaQLNodeHandler.h.

Referenced by getNames(), and setNames().

Definition at line 282 of file TaQLNodeHandler.h.

Referenced by getDtype(), setDtype(), and TaQLNodeHRValue().

Definition at line 291 of file TaQLNodeHandler.h.

Referenced by TaQLNodeHRValue().

Definition at line 286 of file TaQLNodeHandler.h.

Referenced by getElem(), and setElem().

Definition at line 290 of file TaQLNodeHandler.h.

Referenced by TaQLNodeHRValue().

Definition at line 283 of file TaQLNodeHandler.h.

Referenced by getRecord(), and setRecord().

Definition at line 287 of file TaQLNodeHandler.h.

Referenced by getExprSet(), and setExprSet().


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