28 #ifndef TABLES_TAQLNODEDER_H 29 #define TABLES_TAQLNODEDER_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/tables/TaQL/TaQLNode.h> 34 #include <casacore/casa/BasicSL/Complex.h> 35 #include <casacore/casa/BasicSL/String.h> 36 #include <casacore/casa/Utilities/Regex.h> 37 #include <casacore/casa/Quanta/MVTime.h> 38 #include <casacore/casa/Containers/Block.h> 86 virtual void show (std::ostream& os)
const;
124 Bool ignoreBlanks,
Int maxDistance);
127 virtual void show (std::ostream& os)
const;
168 virtual void show (std::ostream& os)
const;
223 virtual void show (std::ostream& os)
const;
259 { itsIsSetOrArray =
True; }
261 { itsPrefix = prefix; itsPostfix = postfix; }
265 { itsIncr = incr; itsSep2 = sep; }
267 { itsNodes.push_back (node); }
271 virtual void show (std::ostream& os)
const;
306 virtual void show (std::ostream& os)
const;
339 virtual void show (std::ostream& os)
const;
372 virtual void show (std::ostream& os)
const;
403 virtual void show (std::ostream& os)
const;
433 virtual void show (std::ostream& os)
const;
464 virtual void show (std::ostream& os)
const;
498 virtual void show (std::ostream& os)
const;
530 virtual void show (std::ostream& os)
const;
563 virtual void show (std::ostream& os)
const;
597 virtual void show (std::ostream& os)
const;
630 virtual void show (std::ostream& os)
const;
661 virtual void show (std::ostream& os)
const;
692 virtual void show (std::ostream& os)
const;
733 virtual void show (std::ostream& os)
const;
768 { itsBrackets =
True; }
770 { itsNoExecute =
True; }
772 { itsFromExecute =
True; }
774 {
return itsBrackets; }
776 {
return itsNoExecute; }
778 {
return itsFromExecute; }
779 virtual void show (std::ostream& os)
const;
781 virtual void saveSuper (
AipsIO& aio)
const;
782 virtual void restoreSuper (
AipsIO& aio);
784 virtual void showDerived (std::ostream& os)
const = 0;
824 virtual void showDerived (std::ostream& os)
const;
863 virtual void showDerived (std::ostream& os)
const;
899 virtual void show (std::ostream& os)
const;
938 virtual void show (std::ostream& os)
const;
972 virtual void show (std::ostream& os)
const;
1006 virtual void show (std::ostream& os)
const;
1041 virtual void showDerived (std::ostream& os)
const;
1075 virtual void show (std::ostream& os)
const;
1109 virtual void show (std::ostream& os)
const;
1140 virtual void show (std::ostream& os)
const;
1171 virtual void showDerived (std::ostream& os)
const;
1202 virtual void show (std::ostream& os)
const;
1231 virtual void show (std::ostream& os)
const;
1260 virtual void show (std::ostream& os)
const;
1288 virtual void show (std::ostream& os)
const;
1318 virtual void showDerived (std::ostream& os)
const;
1348 virtual void show (std::ostream& os)
const;
Raw TaQL parse tree node defining a selection command.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
Raw TaQL parse tree node defining a count command.
static TaQLConstNodeRep * restore(AipsIO &aio)
Raw TaQL parse tree node defining an alter table add rows command.
Raw TaQL parse tree node defining a select command.
Raw TaQL parse tree node defining an update command.
const std::vector< TaQLNode > & getNodes() const
TaQLMultiNode itsIndices1
AipsIO is the object persistency mechanism of Casacore.
TaQLConstNodeRep(Bool value)
virtual TaQLNodeResult visit(TaQLNodeVisitor &) const
Visit a node for tree traversal.
char nodeType() const
Get the node type of the derived class.
void setPPFix(const String &prefix, const String &postfix)
const String & getString() const
virtual void show(std::ostream &os) const
Print the object in an ostream.
Raw TaQL parse tree node defining a range.
Raw TaQL parse tree node defining an alter table set keyword command.
Raw TaQL parse tree node defining a constant value.
TaQLMultiNode itsSubTables
Raw TaQL parse tree node defining a create table command.
Raw TaQL parse tree node defining an index in a array.
Raw TaQL parse tree node defining a calc command.
virtual ~TaQLConstNodeRep()
virtual void save(AipsIO &aio) const
Save the object.
Raw TaQL parse tree node defining a list of nodes.
TaQLMultiNode itsIndices2
const String & getUnit() const
Raw TaQL parse tree node defining a delete command.
Envelope class for a node containing a list of nodes.
Raw TaQL parse tree node defining a table.
Bool getNoExecute() const
Raw TaQL parse tree node defining a groupby list.
Raw TaQL parse tree node defining a giving expression list.
Envelope class for a node containing a constant regex value.
Raw TaQL parse tree node defining a unary operator.
Raw TaQL parse tree node defining a constant regex value.
Normal or Gaussian distribution.
Raw TaQL parse tree node defining a record field.
std::complex< Double > DComplex
Raw TaQL parse tree node defining an alter table command.
Raw TaQL parse tree node defining a keyword or column name.
bool Bool
Define the standard types used by Casacore.
Raw TaQL parse tree node defining a function.
Raw TaQL parse tree node defining an alter table rename or drop command.
Raw TaQL parse tree node defining a create column specification.
Raw TaQL parse tree node defining a unit.
Raw TaQL parse tree node defining a column update expression.
Type
Do not change the values of this enum, as objects might be persistent.
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
Type
Do not change the values of this enum, as objects might be persistent.
Envelope class to hold the result of a visit to the node tree.
TaQLMultiNode itsExprList
Raw TaQL parse tree node defining a limit/offset expression.
TaQLMultiNode itsCommands
void setSeparator(uInt incr, const String &sep)
std::vector< TaQLNode > itsNodes
Raw TaQL parse tree node defining a sort key.
Raw TaQL parse tree node defining a sort list.
Type
Do not change the values of this enum, as objects might be persistent.
Raw TaQL parse tree node defining an alter table add column command.
String: the storage and methods of handling collections of characters.
Raw TaQL parse tree node defining a select column expression.
Raw TaQL parse tree node defining a show command.
Raw TaQL parse tree node defining a select column list.
Raw TaQL parse tree node defining a join operation.
Envelope class for a node in the raw TaQL parse tree.
Class to visit the nodes in the raw TaQL parse tree.
Type
Do not change the values of this enum, as objects might be persistent.
Type
Do not change the values of this enum, as objects might be persistent.
Class to handle date/time type conversions and I/O.
void setSeparator(const String &sep)
Raw TaQL parse tree node defining a binary operator.
this file contains all the compiler specific defines
Raw TaQL parse tree node defining an alter table command.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
Representation of a node in the raw TaQL parse tree.
Raw TaQL parse tree node defining an insert command.
void add(const TaQLNode &node)
Type
Do not change the values of this enum, as objects might be persistent.
Bool getFromExecute() const