casa
$Rev:20696$
|
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. | |
virtual void | show (std::ostream &os) const |
Print the object in an ostream. | |
virtual void | save (AipsIO &aio) const |
Save the object. | |
Static Public Member Functions | |
static TaQLUnaryNodeRep * | restore (AipsIO &aio) |
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 175 of file TaQLNodeDer.h.
Do not change the values of this enum, as objects might be persistent.
Definition at line 179 of file TaQLNodeDer.h.
casa::TaQLUnaryNodeRep::TaQLUnaryNodeRep | ( | Type | type, |
const TaQLNode & | child | ||
) | [inline] |
Definition at line 184 of file TaQLNodeDer.h.
virtual casa::TaQLUnaryNodeRep::~TaQLUnaryNodeRep | ( | ) | [virtual] |
static TaQLUnaryNodeRep* casa::TaQLUnaryNodeRep::restore | ( | AipsIO & | aio | ) | [static] |
virtual void casa::TaQLUnaryNodeRep::save | ( | AipsIO & | aio | ) | const [virtual] |
Save the object.
Implements casa::TaQLNodeRep.
virtual void casa::TaQLUnaryNodeRep::show | ( | std::ostream & | os | ) | const [virtual] |
Print the object in an ostream.
Implements casa::TaQLNodeRep.
virtual TaQLNodeResult casa::TaQLUnaryNodeRep::visit | ( | TaQLNodeVisitor & | ) | const [virtual] |
Visit a node for tree traversal.
Implements casa::TaQLNodeRep.
Definition at line 194 of file TaQLNodeDer.h.
Definition at line 193 of file TaQLNodeDer.h.