Abstract base class for aggregate functions giving an integer array. More...
#include <ExprGroup.h>
Public Member Functions | |
TableExprGroupFuncArrayInt (TableExprNodeRep *node) | |
virtual | ~TableExprGroupFuncArrayInt () |
virtual MArray< Int64 > | getArrayInt (const vector< TableExprId > &) |
Protected Member Functions | |
Bool | checkShape (const MArrayBase &arr, const String &func) |
If not empty, check if the shape matches that of itsValue . | |
Protected Attributes | |
MArray< Int64 > | itsValue |
Abstract base class for aggregate functions giving an integer array.
Internal
This class is derived from TableExprGroupFuncBase and act as the abstract base class for aggregate functions resulting in an integer array.
Derived classes can use itsValue
to contain the aggregated value. It that case they do not need to implement the get
function.
Definition at line 661 of file ExprGroup.h.
casacore::TableExprGroupFuncArrayInt::TableExprGroupFuncArrayInt | ( | TableExprNodeRep * | node | ) | [inline, explicit] |
Definition at line 664 of file ExprGroup.h.
virtual casacore::TableExprGroupFuncArrayInt::~TableExprGroupFuncArrayInt | ( | ) | [virtual] |
Bool casacore::TableExprGroupFuncArrayInt::checkShape | ( | const MArrayBase & | arr, | |
const String & | func | |||
) | [protected] |
If not empty, check if the shape matches that of itsValue
.
If itsValue
is still empty, it is sized.
virtual MArray<Int64> casacore::TableExprGroupFuncArrayInt::getArrayInt | ( | const vector< TableExprId > & | ) | [virtual] |
Reimplemented from casacore::TableExprGroupFuncBase.
MArray<Int64> casacore::TableExprGroupFuncArrayInt::itsValue [protected] |
Definition at line 673 of file ExprGroup.h.