26#ifndef TABLES_EXPRUDFNODEARRAY_H
27#define TABLES_EXPRUDFNODEARRAY_H
30#include <casacore/tables/TaQL/ExprNodeArray.h>
31#include <casacore/tables/TaQL/UDFBase.h>
36 class TableExprNodeSet;
Class to connect a Table and its alias name.
MArray< Int64 > getArrayInt(const TableExprId &id) override
MArray< String > getArrayString(const TableExprId &id) override
void disableApplySelection() override
Do not apply the selection.
std::shared_ptr< UDFBase > itsUDF
void flattenTree(std::vector< TableExprNodeRep * > &) override
Flatten the node tree by adding the node and its children to the vector.
TableExprInfo itsTableInfo
void applySelection(const Vector< rownr_t > &rownrs) override
If needed, let the UDF re-create column objects for a selection of rows.
MArray< DComplex > getArrayDComplex(const TableExprId &id) override
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
~TableExprUDFNodeArray() override=default
Destructor.
TableExprUDFNodeArray(const std::shared_ptr< UDFBase > &udf, const TableExprInfo &, const TableExprNodeSet &source)
Constructor.
std::shared_ptr< TableExprGroupFuncBase > makeGroupAggrFunc() override
UDFs do not need a TableExprGroupFuncBase, so null is returned.
MArray< Double > getArrayDouble(const TableExprId &id) override
The default implementation of getArrayDouble does getArrayInt and converts the result.
MArray< MVTime > getArrayDate(const TableExprId &id) override
MArray< Bool > getArrayBool(const TableExprId &id) override
Functions to get the desired result of a function.
TableExprInfo getTableInfo() const override
Get the table info.
this file contains all the compiler specific defines