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> 85 virtual void show (std::ostream& os)
const;
123 Bool ignoreBlanks,
Int maxDistance);
126 virtual void show (std::ostream& os)
const;
167 virtual void show (std::ostream& os)
const;
222 virtual void show (std::ostream& os)
const;
258 { itsIsSetOrArray =
True; }
260 { itsPrefix = prefix; itsPostfix = postfix; }
264 { itsIncr = incr; itsSep2 = sep; }
266 { itsNodes.push_back (node); }
270 virtual void show (std::ostream& os)
const;
305 virtual void show (std::ostream& os)
const;
338 virtual void show (std::ostream& os)
const;
371 virtual void show (std::ostream& os)
const;
402 virtual void show (std::ostream& os)
const;
432 virtual void show (std::ostream& os)
const;
463 virtual void show (std::ostream& os)
const;
497 virtual void show (std::ostream& os)
const;
529 virtual void show (std::ostream& os)
const;
562 virtual void show (std::ostream& os)
const;
596 virtual void show (std::ostream& os)
const;
629 virtual void show (std::ostream& os)
const;
660 virtual void show (std::ostream& os)
const;
691 virtual void show (std::ostream& os)
const;
732 virtual void show (std::ostream& os)
const;
767 { itsBrackets =
True; }
769 { itsNoExecute =
True; }
771 { itsFromExecute =
True; }
773 {
return itsBrackets; }
775 {
return itsNoExecute; }
777 {
return itsFromExecute; }
778 virtual void show (std::ostream& os)
const;
780 virtual void saveSuper (
AipsIO& aio)
const;
781 virtual void restoreSuper (
AipsIO& aio);
783 virtual void showDerived (std::ostream& os)
const = 0;
821 virtual void showDerived (std::ostream& os)
const;
859 virtual void showDerived (std::ostream& os)
const;
893 virtual void show (std::ostream& os)
const;
929 virtual void show (std::ostream& os)
const;
961 virtual void show (std::ostream& os)
const;
994 virtual void show (std::ostream& os)
const;
1027 virtual void showDerived (std::ostream& os)
const;
1060 virtual void show (std::ostream& os)
const;
1094 virtual void show (std::ostream& os)
const;
1125 virtual void show (std::ostream& os)
const;
1156 virtual void showDerived (std::ostream& os)
const;
1186 virtual void show (std::ostream& os)
const;
1215 virtual void show (std::ostream& os)
const;
1244 virtual void show (std::ostream& os)
const;
1272 virtual void show (std::ostream& os)
const;
1302 virtual void showDerived (std::ostream& os)
const;
1332 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