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

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 ~TaQLRangeNodeRep ()
 
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const
 Visit a node for tree traversal. More...
 
virtual void show (std::ostream &os) const
 Print the object in an ostream. More...
 
virtual void save (AipsIO &aio) const
 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...
 

Static Public Member Functions

static TaQLRangeNodeReprestore (AipsIO &aio)
 
- 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...
 

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

Constructor & Destructor Documentation

◆ TaQLRangeNodeRep() [1/3]

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

◆ TaQLRangeNodeRep() [2/3]

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

◆ TaQLRangeNodeRep() [3/3]

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

◆ ~TaQLRangeNodeRep()

virtual casacore::TaQLRangeNodeRep::~TaQLRangeNodeRep ( )
virtual

Member Function Documentation

◆ restore()

static TaQLRangeNodeRep* casacore::TaQLRangeNodeRep::restore ( AipsIO aio)
static

◆ save()

virtual void casacore::TaQLRangeNodeRep::save ( AipsIO aio) const
virtual

Save the object.

Implements casacore::TaQLNodeRep.

◆ show()

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

◆ visit()

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

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

◆ itsEnd

TaQLNode casacore::TaQLRangeNodeRep::itsEnd

Definition at line 344 of file TaQLNodeDer.h.

◆ itsLeftClosed

Bool casacore::TaQLRangeNodeRep::itsLeftClosed

Definition at line 342 of file TaQLNodeDer.h.

◆ itsRightClosed

Bool casacore::TaQLRangeNodeRep::itsRightClosed

Definition at line 345 of file TaQLNodeDer.h.

◆ itsStart

TaQLNode casacore::TaQLRangeNodeRep::itsStart

Definition at line 343 of file TaQLNodeDer.h.


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