casa
5.7.0-16
|
Raw TaQL parse tree node defining a unary operator. More...
#include <TaQLNodeDer.h>
Public Types | |
enum | Type { U_MINUS, U_NOT, U_EXISTS, U_NOTEXISTS, U_BITNOT } |
Do not change the values of this enum, as objects might be persistent. More... | |
Public Member Functions | |
TaQLUnaryNodeRep (Type type, const TaQLNode &child) | |
virtual | ~TaQLUnaryNodeRep () |
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 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 TaQLUnaryNodeRep * | 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 | |
Type | itsType |
TaQLNode | itsChild |
Raw TaQL parse tree node defining a unary operator.
Internal
This class is a TaQLNodeRep holding a unary operator and operand. The operators supported are -, ~, NOT, EXISTS, and NOT EXISTS. Note the unary operator + is superfluous and is ignored by the parser.
Definition at line 156 of file TaQLNodeDer.h.
Do not change the values of this enum, as objects might be persistent.
Enumerator | |
---|---|
U_MINUS | |
U_NOT | |
U_EXISTS | |
U_NOTEXISTS | |
U_BITNOT |
Definition at line 160 of file TaQLNodeDer.h.
|
virtual |
|
static |
|
virtual |
Save the object.
Implements casacore::TaQLNodeRep.
|
virtual |
Print the object in an ostream.
Implements casacore::TaQLNodeRep.
|
virtual |
Visit a node for tree traversal.
Implements casacore::TaQLNodeRep.
TaQLNode casacore::TaQLUnaryNodeRep::itsChild |
Definition at line 173 of file TaQLNodeDer.h.
Type casacore::TaQLUnaryNodeRep::itsType |
Definition at line 172 of file TaQLNodeDer.h.