casacore
Public Member Functions | Private Attributes | List of all members
casacore::TaQLNodeHRValue Class Reference

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

#include <TaQLNodeHandler.h>

Public Member Functions

 TaQLNodeHRValue ()
 
 TaQLNodeHRValue (const TableExprNode &expr)
 
virtual ~TaQLNodeHRValue ()
 
Int getInt () const
 Get the values. More...
 
const StringgetString () const
 
const StringgetAlias () const
 
const StringgetNameMask () const
 
const StringgetDtype () const
 
const RecordgetRecord () const
 
const ValueHoldergetValueHolder () 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. More...
 
void setString (const String &str)
 
void setAlias (const String &alias)
 
void setNameMask (const String &nameMask)
 
void setDtype (const String &dtype)
 
void setRecord (const Record &record)
 
void setValueHolder (const ValueHolder &vh)
 
void setTable (const Table &table)
 
void setExpr (const TableExprNode &expr)
 
void setElem (TableExprNodeSetElem *elem)
 
void setExprSet (TableExprNodeSet *set)
 
void setNames (Vector< String > *names)
 
- Public Member Functions inherited from casacore::TaQLNodeResultRep
 TaQLNodeResultRep ()
 Default constructor clears the reference count. More...
 
virtual ~TaQLNodeResultRep ()
 Destructor. More...
 

Private Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from casacore::TaQLNodeResultRep
static TaQLNodeResultReplink (TaQLNodeResultRep *rep)
 Increment the reference count. More...
 
static void unlink (TaQLNodeResultRep *rep)
 Decrement the reference count. More...
 

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

Constructor & Destructor Documentation

◆ TaQLNodeHRValue() [1/2]

casacore::TaQLNodeHRValue::TaQLNodeHRValue ( )
inline

Definition at line 244 of file TaQLNodeHandler.h.

◆ TaQLNodeHRValue() [2/2]

casacore::TaQLNodeHRValue::TaQLNodeHRValue ( const TableExprNode expr)
inline

Definition at line 246 of file TaQLNodeHandler.h.

◆ ~TaQLNodeHRValue()

virtual casacore::TaQLNodeHRValue::~TaQLNodeHRValue ( )
virtual

Member Function Documentation

◆ getAlias()

const String& casacore::TaQLNodeHRValue::getAlias ( ) const
inline

Definition at line 256 of file TaQLNodeHandler.h.

References itsAlias.

◆ getDtype()

const String& casacore::TaQLNodeHRValue::getDtype ( ) const
inline

Definition at line 260 of file TaQLNodeHandler.h.

References itsDtype.

◆ getElem()

const TableExprNodeSetElem* casacore::TaQLNodeHRValue::getElem ( ) const
inline

Definition at line 270 of file TaQLNodeHandler.h.

References itsElem.

◆ getExpr()

const TableExprNode& casacore::TaQLNodeHRValue::getExpr ( ) const
inline

Definition at line 268 of file TaQLNodeHandler.h.

References itsExpr.

◆ getExprSet()

const TableExprNodeSet& casacore::TaQLNodeHRValue::getExprSet ( ) const
inline

Definition at line 272 of file TaQLNodeHandler.h.

References itsSet.

◆ getInt()

Int casacore::TaQLNodeHRValue::getInt ( ) const
inline

Get the values.

Definition at line 252 of file TaQLNodeHandler.h.

References itsInt.

◆ getNameMask()

const String& casacore::TaQLNodeHRValue::getNameMask ( ) const
inline

Definition at line 258 of file TaQLNodeHandler.h.

References itsNameMask.

◆ getNames()

const Vector<String>* casacore::TaQLNodeHRValue::getNames ( ) const
inline

Definition at line 274 of file TaQLNodeHandler.h.

References itsNames.

◆ getRecord()

const Record& casacore::TaQLNodeHRValue::getRecord ( ) const
inline

Definition at line 262 of file TaQLNodeHandler.h.

References itsRecord.

◆ getString()

const String& casacore::TaQLNodeHRValue::getString ( ) const
inline

Definition at line 254 of file TaQLNodeHandler.h.

References itsString.

◆ getTable()

const Table& casacore::TaQLNodeHRValue::getTable ( ) const
inline

Definition at line 266 of file TaQLNodeHandler.h.

References itsTable.

◆ getValueHolder()

const ValueHolder& casacore::TaQLNodeHRValue::getValueHolder ( ) const
inline

Definition at line 264 of file TaQLNodeHandler.h.

References itsVH.

◆ setAlias()

void casacore::TaQLNodeHRValue::setAlias ( const String alias)
inline

Definition at line 285 of file TaQLNodeHandler.h.

References itsAlias.

◆ setDtype()

void casacore::TaQLNodeHRValue::setDtype ( const String dtype)
inline

Definition at line 289 of file TaQLNodeHandler.h.

References itsDtype.

◆ setElem()

void casacore::TaQLNodeHRValue::setElem ( TableExprNodeSetElem elem)
inline

Definition at line 299 of file TaQLNodeHandler.h.

References itsElem.

◆ setExpr()

void casacore::TaQLNodeHRValue::setExpr ( const TableExprNode expr)
inline

Definition at line 297 of file TaQLNodeHandler.h.

References itsExpr.

◆ setExprSet()

void casacore::TaQLNodeHRValue::setExprSet ( TableExprNodeSet set)
inline

Definition at line 301 of file TaQLNodeHandler.h.

References itsSet.

◆ setInt()

void casacore::TaQLNodeHRValue::setInt ( Int  ival)
inline

Set the values.

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

Definition at line 281 of file TaQLNodeHandler.h.

References itsInt.

◆ setNameMask()

void casacore::TaQLNodeHRValue::setNameMask ( const String nameMask)
inline

Definition at line 287 of file TaQLNodeHandler.h.

References itsNameMask.

◆ setNames()

void casacore::TaQLNodeHRValue::setNames ( Vector< String > *  names)
inline

Definition at line 303 of file TaQLNodeHandler.h.

References itsNames.

◆ setRecord()

void casacore::TaQLNodeHRValue::setRecord ( const Record record)
inline

Definition at line 291 of file TaQLNodeHandler.h.

References itsRecord.

◆ setString()

void casacore::TaQLNodeHRValue::setString ( const String str)
inline

Definition at line 283 of file TaQLNodeHandler.h.

References itsString.

◆ setTable()

void casacore::TaQLNodeHRValue::setTable ( const Table table)
inline

Definition at line 295 of file TaQLNodeHandler.h.

References itsTable.

◆ setValueHolder()

void casacore::TaQLNodeHRValue::setValueHolder ( const ValueHolder vh)
inline

Definition at line 293 of file TaQLNodeHandler.h.

References itsVH.

Member Data Documentation

◆ itsAlias

String casacore::TaQLNodeHRValue::itsAlias
private

Definition at line 310 of file TaQLNodeHandler.h.

Referenced by getAlias(), and setAlias().

◆ itsDtype

String casacore::TaQLNodeHRValue::itsDtype
private

Definition at line 312 of file TaQLNodeHandler.h.

Referenced by getDtype(), and setDtype().

◆ itsElem

TableExprNodeSetElem* casacore::TaQLNodeHRValue::itsElem
private

Definition at line 317 of file TaQLNodeHandler.h.

Referenced by getElem(), and setElem().

◆ itsExpr

TableExprNode casacore::TaQLNodeHRValue::itsExpr
private

Definition at line 316 of file TaQLNodeHandler.h.

Referenced by getExpr(), and setExpr().

◆ itsInt

Int casacore::TaQLNodeHRValue::itsInt
private

Definition at line 308 of file TaQLNodeHandler.h.

Referenced by getInt(), and setInt().

◆ itsNameMask

String casacore::TaQLNodeHRValue::itsNameMask
private

Definition at line 311 of file TaQLNodeHandler.h.

Referenced by getNameMask(), and setNameMask().

◆ itsNames

Vector<String>* casacore::TaQLNodeHRValue::itsNames
private

Definition at line 319 of file TaQLNodeHandler.h.

Referenced by getNames(), and setNames().

◆ itsRecord

Record casacore::TaQLNodeHRValue::itsRecord
private

Definition at line 313 of file TaQLNodeHandler.h.

Referenced by getRecord(), and setRecord().

◆ itsSet

TableExprNodeSet* casacore::TaQLNodeHRValue::itsSet
private

Definition at line 318 of file TaQLNodeHandler.h.

Referenced by getExprSet(), and setExprSet().

◆ itsString

String casacore::TaQLNodeHRValue::itsString
private

Definition at line 309 of file TaQLNodeHandler.h.

Referenced by getString(), and setString().

◆ itsTable

Table casacore::TaQLNodeHRValue::itsTable
private

Definition at line 315 of file TaQLNodeHandler.h.

Referenced by getTable(), and setTable().

◆ itsVH

ValueHolder casacore::TaQLNodeHRValue::itsVH
private

Definition at line 314 of file TaQLNodeHandler.h.

Referenced by getValueHolder(), and setValueHolder().


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