casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
casacore::TaQLSortKeyNodeRep Class Reference

Raw TaQL parse tree node defining a sort key. More...

#include <TaQLNodeDer.h>

Inheritance diagram for casacore::TaQLSortKeyNodeRep:
casacore::TaQLNodeRep

Public Types

enum  Type {
  Ascending,
  Descending,
  None
}
 Do not change the values of this enum, as objects might be persistent. More...
 

Public Member Functions

 TaQLSortKeyNodeRep (Type type, const TaQLNode &child)
 
virtual ~TaQLSortKeyNodeRep ()
 
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 TaQLSortKeyNodeReprestore (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

Type itsType
 
TaQLNode itsChild
 

Detailed Description

Raw TaQL parse tree node defining a sort key.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding a sort key and the optional order in which this key must be sorted.

Definition at line 587 of file TaQLNodeDer.h.

Member Enumeration Documentation

Do not change the values of this enum, as objects might be persistent.

Enumerator
Ascending 
Descending 
None 

Definition at line 591 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLSortKeyNodeRep::TaQLSortKeyNodeRep ( Type  type,
const TaQLNode child 
)
virtual casacore::TaQLSortKeyNodeRep::~TaQLSortKeyNodeRep ( )
virtual

Member Function Documentation

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

Save the object.

Implements casacore::TaQLNodeRep.

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

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

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

TaQLNode casacore::TaQLSortKeyNodeRep::itsChild

Definition at line 602 of file TaQLNodeDer.h.

Type casacore::TaQLSortKeyNodeRep::itsType

Definition at line 601 of file TaQLNodeDer.h.


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