casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>

Inheritance diagram for casacore::TaQLNodeHRValue:
casacore::TaQLNodeResultRep

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

Constructor & Destructor Documentation

casacore::TaQLNodeHRValue::TaQLNodeHRValue ( )
inline

Definition at line 239 of file TaQLNodeHandler.h.

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

Definition at line 241 of file TaQLNodeHandler.h.

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

Member Function Documentation

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

Definition at line 251 of file TaQLNodeHandler.h.

References itsAlias.

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

Definition at line 255 of file TaQLNodeHandler.h.

References itsDtype.

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

Definition at line 265 of file TaQLNodeHandler.h.

References itsElem.

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

Definition at line 263 of file TaQLNodeHandler.h.

References itsExpr.

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

Definition at line 267 of file TaQLNodeHandler.h.

References itsSet.

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

Get the values.

Definition at line 247 of file TaQLNodeHandler.h.

References itsInt.

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

Definition at line 253 of file TaQLNodeHandler.h.

References itsNameMask.

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

Definition at line 269 of file TaQLNodeHandler.h.

References itsNames.

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

Definition at line 257 of file TaQLNodeHandler.h.

References itsRecord.

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

Definition at line 249 of file TaQLNodeHandler.h.

References itsString.

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

Definition at line 261 of file TaQLNodeHandler.h.

References itsTable.

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

Definition at line 259 of file TaQLNodeHandler.h.

References itsVH.

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

Definition at line 280 of file TaQLNodeHandler.h.

References itsAlias.

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

Definition at line 284 of file TaQLNodeHandler.h.

References itsDtype.

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

Definition at line 294 of file TaQLNodeHandler.h.

References itsElem.

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

Definition at line 292 of file TaQLNodeHandler.h.

References itsExpr.

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

Definition at line 296 of file TaQLNodeHandler.h.

References itsSet.

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

Set the values.

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

Definition at line 276 of file TaQLNodeHandler.h.

References itsInt.

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

Definition at line 282 of file TaQLNodeHandler.h.

References itsNameMask.

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

Definition at line 298 of file TaQLNodeHandler.h.

References itsNames.

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

Definition at line 286 of file TaQLNodeHandler.h.

References itsRecord.

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

Definition at line 278 of file TaQLNodeHandler.h.

References itsString.

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

Definition at line 290 of file TaQLNodeHandler.h.

References itsTable.

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

Definition at line 288 of file TaQLNodeHandler.h.

References itsVH.

Member Data Documentation

String casacore::TaQLNodeHRValue::itsAlias
private

Definition at line 305 of file TaQLNodeHandler.h.

Referenced by getAlias(), and setAlias().

String casacore::TaQLNodeHRValue::itsDtype
private

Definition at line 307 of file TaQLNodeHandler.h.

Referenced by getDtype(), and setDtype().

TableExprNodeSetElem* casacore::TaQLNodeHRValue::itsElem
private

Definition at line 312 of file TaQLNodeHandler.h.

Referenced by getElem(), and setElem().

TableExprNode casacore::TaQLNodeHRValue::itsExpr
private

Definition at line 311 of file TaQLNodeHandler.h.

Referenced by getExpr(), and setExpr().

Int casacore::TaQLNodeHRValue::itsInt
private

Definition at line 303 of file TaQLNodeHandler.h.

Referenced by getInt(), and setInt().

String casacore::TaQLNodeHRValue::itsNameMask
private

Definition at line 306 of file TaQLNodeHandler.h.

Referenced by getNameMask(), and setNameMask().

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

Definition at line 314 of file TaQLNodeHandler.h.

Referenced by getNames(), and setNames().

Record casacore::TaQLNodeHRValue::itsRecord
private

Definition at line 308 of file TaQLNodeHandler.h.

Referenced by getRecord(), and setRecord().

TableExprNodeSet* casacore::TaQLNodeHRValue::itsSet
private

Definition at line 313 of file TaQLNodeHandler.h.

Referenced by getExprSet(), and setExprSet().

String casacore::TaQLNodeHRValue::itsString
private

Definition at line 304 of file TaQLNodeHandler.h.

Referenced by getString(), and setString().

Table casacore::TaQLNodeHRValue::itsTable
private

Definition at line 310 of file TaQLNodeHandler.h.

Referenced by getTable(), and setTable().

ValueHolder casacore::TaQLNodeHRValue::itsVH
private

Definition at line 309 of file TaQLNodeHandler.h.

Referenced by getValueHolder(), and setValueHolder().


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