Abstract base class for aggregate functions giving a double array. More...
#include <ExprGroup.h>
Public Member Functions | |
TableExprGroupFuncArrayDouble (TableExprNodeRep *node) | |
virtual | ~TableExprGroupFuncArrayDouble () |
virtual MArray< Double > | getArrayDouble (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< Double > | itsValue |
Abstract base class for aggregate functions giving a double array.
Internal
This class is derived from TableExprGroupFuncBase and act as the abstract base class for aggregate functions resulting in a double 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 689 of file ExprGroup.h.
casacore::TableExprGroupFuncArrayDouble::TableExprGroupFuncArrayDouble | ( | TableExprNodeRep * | node | ) | [inline, explicit] |
Definition at line 692 of file ExprGroup.h.
virtual casacore::TableExprGroupFuncArrayDouble::~TableExprGroupFuncArrayDouble | ( | ) | [virtual] |
Bool casacore::TableExprGroupFuncArrayDouble::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<Double> casacore::TableExprGroupFuncArrayDouble::getArrayDouble | ( | const vector< TableExprId > & | ) | [virtual] |
Reimplemented from casacore::TableExprGroupFuncBase.
Definition at line 701 of file ExprGroup.h.