casa  5.7.0-16
 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::TaQLUnitNodeRep Class Reference

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

#include <TaQLNodeDer.h>

Inheritance diagram for casacore::TaQLUnitNodeRep:

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...
String addEscape (const String &str) const
 Add escape characters to a table name where needed. 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:


Review Status

Test programs:



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

Definition at line 1134 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

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

Member Function Documentation

static TaQLUnitNodeRep* casacore::TaQLUnitNodeRep::restore ( AipsIO aio)
virtual void casacore::TaQLUnitNodeRep::save ( AipsIO aio) const

Save the object.

Implements casacore::TaQLNodeRep.

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

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

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

TaQLNode casacore::TaQLUnitNodeRep::itsChild

Definition at line 1145 of file TaQLNodeDer.h.

String casacore::TaQLUnitNodeRep::itsUnit

Definition at line 1144 of file TaQLNodeDer.h.

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