casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
casacore::TaQLRangeNodeRep Class Reference

Raw TaQL parse tree node defining a range. More...

#include <TaQLNodeDer.h>

Inheritance diagram for casacore::TaQLRangeNodeRep:
casacore::TaQLNodeRep

Public Member Functions

 TaQLRangeNodeRep (Bool leftClosed, TaQLNode start, const TaQLNode &end, Bool rightClosed)
 
 TaQLRangeNodeRep (Bool leftClosed, const TaQLNode &start)
 
 TaQLRangeNodeRep (const TaQLNode &end, Bool rightClosed)
 
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const override
 Visit a node for tree traversal. More...
 
virtual void show (std::ostream &os) const override
 Print the object in an ostream. More...
 
virtual void save (AipsIO &aio) const override
 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 TaQLStylestyle () 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 TaQLNode 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

Bool itsLeftClosed
 
TaQLNode itsStart
 
TaQLNode itsEnd
 
Bool itsRightClosed
 

Detailed Description

Raw TaQL parse tree node defining a range.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding the optional start and end values of a range (i.e. an interval) and flags if the range is open or closed.

Definition at line 324 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLRangeNodeRep::TaQLRangeNodeRep ( Bool  leftClosed,
TaQLNode  start,
const TaQLNode end,
Bool  rightClosed 
)
casacore::TaQLRangeNodeRep::TaQLRangeNodeRep ( Bool  leftClosed,
const TaQLNode start 
)
casacore::TaQLRangeNodeRep::TaQLRangeNodeRep ( const TaQLNode end,
Bool  rightClosed 
)

Member Function Documentation

static TaQLNode casacore::TaQLRangeNodeRep::restore ( AipsIO aio)
static
virtual void casacore::TaQLRangeNodeRep::save ( AipsIO aio) const
overridevirtual

Save the object.

Implements casacore::TaQLNodeRep.

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

virtual TaQLNodeResult casacore::TaQLRangeNodeRep::visit ( TaQLNodeVisitor ) const
overridevirtual

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

TaQLNode casacore::TaQLRangeNodeRep::itsEnd

Definition at line 338 of file TaQLNodeDer.h.

Bool casacore::TaQLRangeNodeRep::itsLeftClosed

Definition at line 336 of file TaQLNodeDer.h.

Bool casacore::TaQLRangeNodeRep::itsRightClosed

Definition at line 339 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLRangeNodeRep::itsStart

Definition at line 337 of file TaQLNodeDer.h.


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