26#ifndef TABLES_TAQLNODEREP_H
27#define TABLES_TAQLNODEREP_H
30#include <casacore/casa/aips.h>
31#include <casacore/tables/TaQL/TaQLNodeResult.h>
32#include <casacore/tables/TaQL/TaQLStyle.h>
33#include <casacore/casa/BasicSL/String.h>
81 #define TaQLNode_Null char(0)
82 #define TaQLNode_Const char(1)
83 #define TaQLNode_Unary char(2)
84 #define TaQLNode_Binary char(3)
85 #define TaQLNode_Multi char(4)
86 #define TaQLNode_Func char(5)
87 #define TaQLNode_Range char(6)
88 #define TaQLNode_Index char(7)
89 #define TaQLNode_KeyCol char(8)
90 #define TaQLNode_Table char(9)
91 #define TaQLNode_Col char(10)
92 #define TaQLNode_Columns char(11)
93 #define TaQLNode_Join char(12)
94 #define TaQLNode_SortKey char(13)
95 #define TaQLNode_Sort char(14)
96 #define TaQLNode_LimitOff char(15)
97 #define TaQLNode_Giving char(16)
98 #define TaQLNode_UpdExpr char(17)
99 #define TaQLNode_Select char(18)
100 #define TaQLNode_Update char(19)
101 #define TaQLNode_Insert char(20)
102 #define TaQLNode_Delete char(21)
103 #define TaQLNode_Calc char(22)
104 #define TaQLNode_CreTab char(23)
105 #define TaQLNode_ColSpec char(24)
106 #define TaQLNode_RecFld char(25)
107 #define TaQLNode_Unit char(26)
108 #define TaQLNode_Regex char(27)
109 #define TaQLNode_Count char(28)
110 #define TaQLNode_Groupby char(29)
111 #define TaQLNode_AltTab char(30)
112 #define TaQLNode_AddCol char(31)
113 #define TaQLNode_SetKey char(32)
114 #define TaQLNode_RenDrop char(33)
115 #define TaQLNode_AddRow char(34)
116 #define TaQLNode_ConcTab char(35)
117 #define TaQLNode_Show char(36)
118 #define TaQLNode_CopyCol char(37)
119 #define TaQLNode_DropTab char(38)
145 virtual void show (std::ostream& os)
const = 0;
String: the storage and methods of handling collections of characters.
virtual TaQLNodeResult visit(TaQLNodeVisitor &) const =0
Visit a node for tree traversal.
TaQLNodeRep & operator=(const TaQLNodeRep &)=delete
virtual void show(std::ostream &os) const =0
Print the object in an ostream.
TaQLNodeRep(int nodeType)
Constructor for derived classes specifying the type.
TaQLNodeRep(const TaQLNodeRep &)=delete
Letter objects cannot be copied.
char nodeType() const
Get the node type of the derived class.
static String checkDataType(const String &)
Check the data type string and return its standard form.
virtual void save(AipsIO &aio) const =0
Save the object.
const TaQLStyle & style() const
Get the TaQL style.
String addEscape(const String &str) const
Add escape characters to a table name where needed.
Envelope class to hold the result of a visit to the node tree.
this file contains all the compiler specific defines