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

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

#include <TaQLNodeDer.h>

Public Types

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

Public Member Functions

 TaQLSortNodeRep (Bool unique, Type type, const TaQLMultiNode &keys)
 
virtual ~TaQLSortNodeRep ()
 
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 TaQLSortNodeReprestore (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

Bool itsUnique
 
Type itsType
 
TaQLMultiNode itsKeys
 

Detailed Description

Raw TaQL parse tree node defining a sort list.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding a sort list and the default order for each individual sort key.

Definition at line 620 of file TaQLNodeDer.h.

Member Enumeration Documentation

◆ Type

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

Enumerator
Ascending 
Descending 

Definition at line 624 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

◆ TaQLSortNodeRep()

casacore::TaQLSortNodeRep::TaQLSortNodeRep ( Bool  unique,
Type  type,
const TaQLMultiNode keys 
)

◆ ~TaQLSortNodeRep()

virtual casacore::TaQLSortNodeRep::~TaQLSortNodeRep ( )
virtual

Member Function Documentation

◆ restore()

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

◆ save()

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

Save the object.

Implements casacore::TaQLNodeRep.

◆ show()

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

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

◆ visit()

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

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

◆ itsKeys

TaQLMultiNode casacore::TaQLSortNodeRep::itsKeys

Definition at line 635 of file TaQLNodeDer.h.

◆ itsType

Type casacore::TaQLSortNodeRep::itsType

Definition at line 634 of file TaQLNodeDer.h.

◆ itsUnique

Bool casacore::TaQLSortNodeRep::itsUnique

Definition at line 633 of file TaQLNodeDer.h.


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