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

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

#include <TaQLNodeDer.h>

Public Member Functions

 TaQLTableNodeRep (const TaQLNode &table, const String &alias)
 
virtual ~TaQLTableNodeRep ()
 
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 TaQLTableNodeReprestore (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

TaQLNode itsTable
 
String itsAlias
 

Detailed Description

Raw TaQL parse tree node defining a table.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding the info defining a table. It can be a constant value holding a name or it can be a subquery. Furthermore the alias of the table is defined (which can be empty).

Definition at line 497 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLTableNodeRep::TaQLTableNodeRep ( const TaQLNode table,
const String alias 
)
inline
virtual casacore::TaQLTableNodeRep::~TaQLTableNodeRep ( )
virtual

Member Function Documentation

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

Save the object.

Implements casacore::TaQLNodeRep.

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

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

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

String casacore::TaQLTableNodeRep::itsAlias

Definition at line 510 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLTableNodeRep::itsTable

Definition at line 509 of file TaQLNodeDer.h.


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