casa  5.7.0-16
 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)
 
virtual ~TaQLQueryNodeRep ()
 
void setBrackets ()
 
void setNoExecute ()
 
void setFromExecute ()
 
Bool getBrackets () const
 
Bool getNoExecute () const
 
Bool getFromExecute () const
 
virtual void show (std::ostream &os) const
 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

virtual void saveSuper (AipsIO &aio) const
 
virtual 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 762 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLQueryNodeRep::TaQLQueryNodeRep ( int  nodeType)
virtual casacore::TaQLQueryNodeRep::~TaQLQueryNodeRep ( )
virtual

Member Function Documentation

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

Definition at line 773 of file TaQLNodeDer.h.

References itsBrackets.

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

Definition at line 777 of file TaQLNodeDer.h.

References itsFromExecute.

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

Definition at line 775 of file TaQLNodeDer.h.

References itsNoExecute.

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

Definition at line 767 of file TaQLNodeDer.h.

References itsBrackets, and casacore::True.

void casacore::TaQLQueryNodeRep::setFromExecute ( )
inline

Definition at line 771 of file TaQLNodeDer.h.

References itsFromExecute, and casacore::True.

void casacore::TaQLQueryNodeRep::setNoExecute ( )
inline

Definition at line 769 of file TaQLNodeDer.h.

References itsNoExecute, and casacore::True.

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

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 785 of file TaQLNodeDer.h.

Referenced by getBrackets(), and setBrackets().

Bool casacore::TaQLQueryNodeRep::itsFromExecute
private

Definition at line 787 of file TaQLNodeDer.h.

Referenced by getFromExecute(), and setFromExecute().

Bool casacore::TaQLQueryNodeRep::itsNoExecute
private

Definition at line 786 of file TaQLNodeDer.h.

Referenced by getNoExecute(), and setNoExecute().


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