casacore
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
casacore::TaQLUnitNodeRep Class Reference

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

#include <TaQLNodeDer.h>

Public Member Functions

 TaQLUnitNodeRep (const String &unit, const TaQLNode &child)
 
virtual ~TaQLUnitNodeRep ()
 
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 TaQLUnitNodeReprestore (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

String itsUnit
 
TaQLNode itsChild
 

Detailed Description

Raw TaQL parse tree node defining a unit.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding the parts of a record field.

Definition at line 1134 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

◆ TaQLUnitNodeRep()

casacore::TaQLUnitNodeRep::TaQLUnitNodeRep ( const String unit,
const TaQLNode child 
)

◆ ~TaQLUnitNodeRep()

virtual casacore::TaQLUnitNodeRep::~TaQLUnitNodeRep ( )
virtual

Member Function Documentation

◆ restore()

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

◆ save()

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

Save the object.

Implements casacore::TaQLNodeRep.

◆ show()

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

◆ visit()

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

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

◆ itsChild

TaQLNode casacore::TaQLUnitNodeRep::itsChild

Definition at line 1145 of file TaQLNodeDer.h.

◆ itsUnit

String casacore::TaQLUnitNodeRep::itsUnit

Definition at line 1144 of file TaQLNodeDer.h.


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