casacore
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>

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...
 

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 TaQLNodeReplink (TaQLNodeRep *rep)
 Increment the reference count. More...
 
static void unlink (TaQLNodeRep *rep)
 Decrement the reference count. More...
 
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 761 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

§ TaQLQueryNodeRep()

casacore::TaQLQueryNodeRep::TaQLQueryNodeRep ( int  nodeType)

§ ~TaQLQueryNodeRep()

virtual casacore::TaQLQueryNodeRep::~TaQLQueryNodeRep ( )
virtual

Member Function Documentation

§ getBrackets()

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

Definition at line 772 of file TaQLNodeDer.h.

§ getFromExecute()

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

Definition at line 776 of file TaQLNodeDer.h.

References casacore::TaQLConstNodeRep::show().

§ getNoExecute()

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

Definition at line 774 of file TaQLNodeDer.h.

§ restoreSuper()

virtual void casacore::TaQLQueryNodeRep::restoreSuper ( AipsIO aio)
protectedvirtual

§ saveSuper()

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

§ setBrackets()

void casacore::TaQLQueryNodeRep::setBrackets ( )
inline

Definition at line 766 of file TaQLNodeDer.h.

References casacore::True.

§ setFromExecute()

void casacore::TaQLQueryNodeRep::setFromExecute ( )
inline

Definition at line 770 of file TaQLNodeDer.h.

References casacore::True.

§ setNoExecute()

void casacore::TaQLQueryNodeRep::setNoExecute ( )
inline

Definition at line 768 of file TaQLNodeDer.h.

References casacore::True.

§ show()

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

§ showDerived()

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

Member Data Documentation

§ itsBrackets

Bool casacore::TaQLQueryNodeRep::itsBrackets
private

Definition at line 784 of file TaQLNodeDer.h.

§ itsFromExecute

Bool casacore::TaQLQueryNodeRep::itsFromExecute
private

Definition at line 786 of file TaQLNodeDer.h.

§ itsNoExecute

Bool casacore::TaQLQueryNodeRep::itsNoExecute
private

Definition at line 785 of file TaQLNodeDer.h.


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