casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::TaQLNodeHRValue Class Reference

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 228 of file TaQLNodeHandler.h.


Constructor & Destructor Documentation

Definition at line 231 of file TaQLNodeHandler.h.

Definition at line 233 of file TaQLNodeHandler.h.


Member Function Documentation

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

Definition at line 243 of file TaQLNodeHandler.h.

References itsAlias.

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

Definition at line 245 of file TaQLNodeHandler.h.

References itsDtype.

Definition at line 253 of file TaQLNodeHandler.h.

References itsElem.

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

Definition at line 251 of file TaQLNodeHandler.h.

References itsExpr.

Definition at line 255 of file TaQLNodeHandler.h.

References itsSet.

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

Get the values.

Definition at line 239 of file TaQLNodeHandler.h.

References itsInt.

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

Definition at line 257 of file TaQLNodeHandler.h.

References itsNames.

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

Definition at line 247 of file TaQLNodeHandler.h.

References itsRecord.

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

Definition at line 241 of file TaQLNodeHandler.h.

References itsString.

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

Definition at line 249 of file TaQLNodeHandler.h.

References itsTable.

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

Definition at line 268 of file TaQLNodeHandler.h.

References itsAlias.

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

Definition at line 270 of file TaQLNodeHandler.h.

References itsDtype.

Definition at line 278 of file TaQLNodeHandler.h.

References itsElem.

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

Definition at line 276 of file TaQLNodeHandler.h.

References itsExpr.

Definition at line 280 of file TaQLNodeHandler.h.

References itsSet.

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

Set the values.

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

Definition at line 264 of file TaQLNodeHandler.h.

References itsInt.

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

Definition at line 282 of file TaQLNodeHandler.h.

References itsNames.

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

Definition at line 272 of file TaQLNodeHandler.h.

References itsRecord.

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

Definition at line 266 of file TaQLNodeHandler.h.

References itsString.

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

Definition at line 274 of file TaQLNodeHandler.h.

References itsTable.


Member Data Documentation

Definition at line 289 of file TaQLNodeHandler.h.

Referenced by getAlias(), and setAlias().

Definition at line 290 of file TaQLNodeHandler.h.

Referenced by getDtype(), and setDtype().

Definition at line 294 of file TaQLNodeHandler.h.

Referenced by getElem(), and setElem().

Definition at line 293 of file TaQLNodeHandler.h.

Referenced by getExpr(), and setExpr().

   

Definition at line 287 of file TaQLNodeHandler.h.

Referenced by getInt(), and setInt().

Definition at line 296 of file TaQLNodeHandler.h.

Referenced by getNames(), and setNames().

Definition at line 291 of file TaQLNodeHandler.h.

Referenced by getRecord(), and setRecord().

Definition at line 295 of file TaQLNodeHandler.h.

Referenced by getExprSet(), and setExprSet().

Definition at line 288 of file TaQLNodeHandler.h.

Referenced by getString(), and setString().

Definition at line 292 of file TaQLNodeHandler.h.

Referenced by getTable(), and setTable().


The documentation for this class was generated from the following file: