casacore
|
Raw TaQL parse tree node defining a select column expression. More...
#include <TaQLNodeDer.h>
Public Member Functions | |
TaQLColNodeRep (const TaQLNode &expr, const String &name, const String &nameMask, const String &dtype) | |
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 TaQLStyle & | style () 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 | |
TaQLNode | itsExpr |
String | itsName |
String | itsNameMask |
String | itsDtype |
Raw TaQL parse tree node defining a select column expression.
Internal
This class is a TaQLNodeRep holding a column expression in the column list of the select clause. A new column name and data type can be defined for the column (expression). The expression can be a wildcarded column name (a regex) preceeded by ~ or !~ (meaning include or exclude).
Definition at line 480 of file TaQLNodeDer.h.
casacore::TaQLColNodeRep::TaQLColNodeRep | ( | const TaQLNode & | expr, |
const String & | name, | ||
const String & | nameMask, | ||
const String & | dtype | ||
) |
|
overridevirtual |
Save the object.
Implements casacore::TaQLNodeRep.
|
overridevirtual |
Print the object in an ostream.
Implements casacore::TaQLNodeRep.
|
overridevirtual |
Visit a node for tree traversal.
Implements casacore::TaQLNodeRep.
String casacore::TaQLColNodeRep::itsDtype |
Definition at line 493 of file TaQLNodeDer.h.
TaQLNode casacore::TaQLColNodeRep::itsExpr |
Definition at line 490 of file TaQLNodeDer.h.
String casacore::TaQLColNodeRep::itsName |
Definition at line 491 of file TaQLNodeDer.h.
String casacore::TaQLColNodeRep::itsNameMask |
Definition at line 492 of file TaQLNodeDer.h.