casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::TaQLQueryNodeRep Class Referenceabstract

Raw TaQL parse tree node defining a selection command. More...

#include <TaQLNodeDer.h>

Inheritance diagram for casacore::TaQLQueryNodeRep:
casacore::TaQLNodeRep casacore::TaQLAltTabNodeRep casacore::TaQLConcTabNodeRep casacore::TaQLCountNodeRep casacore::TaQLCreTabNodeRep casacore::TaQLSelectNodeRep

Public Member Functions

 TaQLQueryNodeRep (int nodeType)
 
void setBrackets ()
 
void setNoExecute ()
 
void setFromExecute ()
 
Bool getBrackets () const
 
Bool getNoExecute () const
 
Bool getFromExecute () const
 
virtual void show (std::ostream &os) const override
 Print the object in an ostream. 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...
 
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const =0
 Visit a node for tree traversal. More...
 
virtual void save (AipsIO &aio) const =0
 Save the object. More...
 
String addEscape (const String &str) const
 Add escape characters to a table name where needed. More...
 

Protected Member Functions

void saveSuper (AipsIO &aio) const
 
void restoreSuper (AipsIO &aio)
 

Private Member Functions

virtual void showDerived (std::ostream &os) const =0
 

Private Attributes

Bool itsBrackets
 
Bool itsNoExecute
 
Bool itsFromExecute
 

Additional Inherited Members

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

Detailed Description

Raw TaQL parse tree node defining a selection command.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is an abstract TaQLNodeRep for a selection command that can also be used as a subquery. It holds flags telling if and how the select command must be executed when the node is visited for TaQLNodeHandler.

Definition at line 743 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLQueryNodeRep::TaQLQueryNodeRep ( int  nodeType)

Member Function Documentation

Bool casacore::TaQLQueryNodeRep::getBrackets ( ) const
inline

Definition at line 753 of file TaQLNodeDer.h.

References itsBrackets.

Bool casacore::TaQLQueryNodeRep::getFromExecute ( ) const
inline

Definition at line 757 of file TaQLNodeDer.h.

References itsFromExecute.

Bool casacore::TaQLQueryNodeRep::getNoExecute ( ) const
inline

Definition at line 755 of file TaQLNodeDer.h.

References itsNoExecute.

void casacore::TaQLQueryNodeRep::restoreSuper ( AipsIO aio)
protected
void casacore::TaQLQueryNodeRep::saveSuper ( AipsIO aio) const
protected
void casacore::TaQLQueryNodeRep::setBrackets ( )
inline

Definition at line 747 of file TaQLNodeDer.h.

References itsBrackets, and casacore::True.

void casacore::TaQLQueryNodeRep::setFromExecute ( )
inline

Definition at line 751 of file TaQLNodeDer.h.

References itsFromExecute, and casacore::True.

void casacore::TaQLQueryNodeRep::setNoExecute ( )
inline

Definition at line 749 of file TaQLNodeDer.h.

References itsNoExecute, and casacore::True.

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

virtual void casacore::TaQLQueryNodeRep::showDerived ( std::ostream &  os) const
privatepure virtual

Member Data Documentation

Bool casacore::TaQLQueryNodeRep::itsBrackets
private

Definition at line 765 of file TaQLNodeDer.h.

Referenced by getBrackets(), and setBrackets().

Bool casacore::TaQLQueryNodeRep::itsFromExecute
private

Definition at line 767 of file TaQLNodeDer.h.

Referenced by getFromExecute(), and setFromExecute().

Bool casacore::TaQLQueryNodeRep::itsNoExecute
private

Definition at line 766 of file TaQLNodeDer.h.

Referenced by getNoExecute(), and setNoExecute().


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