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

Inheritance diagram for casacore::TaQLUpdExprNodeRep:
casacore::TaQLNodeRep

Public Member Functions

 TaQLUpdExprNodeRep (const String &name, const String &nameMask, const TaQLNode &expr)
 
 TaQLUpdExprNodeRep (const String &name, const String &nameMask, const TaQLMultiNode &indices, const TaQLNode &expr)
 
 TaQLUpdExprNodeRep (const String &name, const String &nameMask, const TaQLMultiNode &indices1, const TaQLMultiNode &indices2, const TaQLNode &expr)
 
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const override
 Visit a node for tree traversal. More...
 
virtual void show (std::ostream &os) const override
 Print the object in an ostream. More...
 
virtual void save (AipsIO &aio) const override
 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...
 
String addEscape (const String &str) const
 Add escape characters to a table name where needed. More...
 

Static Public Member Functions

static TaQLNode restore (AipsIO &aio)
 
- Static Public Member Functions inherited from casacore::TaQLNodeRep
static String checkDataType (const String &)
 Check the data type string and return its standard form. More...
 

Public Attributes

String itsName
 
String itsNameMask
 
TaQLMultiNode itsIndices1
 
TaQLMultiNode itsIndices2
 
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 701 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLUpdExprNodeRep::TaQLUpdExprNodeRep ( const String name,
const String nameMask,
const TaQLNode expr 
)
casacore::TaQLUpdExprNodeRep::TaQLUpdExprNodeRep ( const String name,
const String nameMask,
const TaQLMultiNode indices,
const TaQLNode expr 
)
casacore::TaQLUpdExprNodeRep::TaQLUpdExprNodeRep ( const String name,
const String nameMask,
const TaQLMultiNode indices1,
const TaQLMultiNode indices2,
const TaQLNode expr 
)

Member Function Documentation

static TaQLNode casacore::TaQLUpdExprNodeRep::restore ( AipsIO aio)
static
virtual void casacore::TaQLUpdExprNodeRep::save ( AipsIO aio) const
overridevirtual

Save the object.

Implements casacore::TaQLNodeRep.

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

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

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

TaQLNode casacore::TaQLUpdExprNodeRep::itsExpr

Definition at line 722 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLUpdExprNodeRep::itsIndices1

Definition at line 720 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLUpdExprNodeRep::itsIndices2

Definition at line 721 of file TaQLNodeDer.h.

String casacore::TaQLUpdExprNodeRep::itsName

Definition at line 718 of file TaQLNodeDer.h.

String casacore::TaQLUpdExprNodeRep::itsNameMask

Definition at line 719 of file TaQLNodeDer.h.


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