casacore
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
casacore::TaQLUpdExprNodeRep Class Reference

Raw TaQL parse tree node defining a column update expression. More...

#include <TaQLNodeDer.h>

Public Member Functions

 TaQLUpdExprNodeRep (const String &name, const TaQLMultiNode &indices, const TaQLNode &expr)
 
virtual ~TaQLUpdExprNodeRep ()
 
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const
 Visit a node for tree traversal. More...
 
virtual void show (std::ostream &os) const
 Print the object in an ostream. More...
 
virtual void save (AipsIO &aio) const
 Save the object. More...
 
- Public Member Functions inherited from casacore::TaQLNodeRep
 TaQLNodeRep (int nodeType)
 Constructor for derived classes specifying the type. More...
 
virtual ~TaQLNodeRep ()
 
char nodeType () const
 Get the node type of the derived class. More...
 
const TaQLStylestyle () const
 Get the TaQL style. More...
 

Static Public Member Functions

static TaQLUpdExprNodeReprestore (AipsIO &aio)
 
- Static Public Member Functions inherited from casacore::TaQLNodeRep
static TaQLNodeReplink (TaQLNodeRep *rep)
 Increment the reference count. More...
 
static void unlink (TaQLNodeRep *rep)
 Decrement the reference count. More...
 
static String checkDataType (const String &)
 Check the data type string and return its standard form. More...
 

Public Attributes

String itsName
 
TaQLMultiNode itsIndices
 
TaQLNode itsExpr
 

Detailed Description

Raw TaQL parse tree node defining a column update expression.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding the values for an update expression. It defines the column name and the expression for the new value. Optionally an index can be defined in case the column contains array values for which only some values need to be updated.

Definition at line 781 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

§ TaQLUpdExprNodeRep()

casacore::TaQLUpdExprNodeRep::TaQLUpdExprNodeRep ( const String name,
const TaQLMultiNode indices,
const TaQLNode expr 
)
inlineexplicit

§ ~TaQLUpdExprNodeRep()

virtual casacore::TaQLUpdExprNodeRep::~TaQLUpdExprNodeRep ( )
virtual

Member Function Documentation

§ restore()

static TaQLUpdExprNodeRep* casacore::TaQLUpdExprNodeRep::restore ( AipsIO aio)
static

§ save()

virtual void casacore::TaQLUpdExprNodeRep::save ( AipsIO aio) const
virtual

Save the object.

Implements casacore::TaQLNodeRep.

§ show()

virtual void casacore::TaQLUpdExprNodeRep::show ( std::ostream &  os) const
virtual

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

§ visit()

virtual TaQLNodeResult casacore::TaQLUpdExprNodeRep::visit ( TaQLNodeVisitor ) const
virtual

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

§ itsExpr

TaQLNode casacore::TaQLUpdExprNodeRep::itsExpr

Definition at line 797 of file TaQLNodeDer.h.

§ itsIndices

TaQLMultiNode casacore::TaQLUpdExprNodeRep::itsIndices

Definition at line 796 of file TaQLNodeDer.h.

§ itsName

String casacore::TaQLUpdExprNodeRep::itsName

Definition at line 795 of file TaQLNodeDer.h.


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