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

Raw TaQL parse tree node defining a create column specification. More...

#include <TaQLNodeDer.h>

Public Member Functions

 TaQLColSpecNodeRep (const String &name, const String &likeCol, const String &dtype, const TaQLMultiNode &spec)
 
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

String itsName
 
String itsLikeCol
 
String itsDtype
 
TaQLMultiNode itsSpec
 

Detailed Description

Raw TaQL parse tree node defining a create column specification.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding the parts of a column specification in the create table command.

Definition at line 1043 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

◆ TaQLColSpecNodeRep()

casacore::TaQLColSpecNodeRep::TaQLColSpecNodeRep ( const String name,
const String likeCol,
const String dtype,
const TaQLMultiNode spec 
)

Member Function Documentation

◆ restore()

static TaQLNode casacore::TaQLColSpecNodeRep::restore ( AipsIO aio)
static

◆ save()

virtual void casacore::TaQLColSpecNodeRep::save ( AipsIO aio) const
overridevirtual

Save the object.

Implements casacore::TaQLNodeRep.

◆ show()

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

◆ visit()

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

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

◆ itsDtype

String casacore::TaQLColSpecNodeRep::itsDtype

Definition at line 1055 of file TaQLNodeDer.h.

◆ itsLikeCol

String casacore::TaQLColSpecNodeRep::itsLikeCol

Definition at line 1054 of file TaQLNodeDer.h.

◆ itsName

String casacore::TaQLColSpecNodeRep::itsName

Definition at line 1053 of file TaQLNodeDer.h.

◆ itsSpec

TaQLMultiNode casacore::TaQLColSpecNodeRep::itsSpec

Definition at line 1056 of file TaQLNodeDer.h.


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