Abstract base class for aggregate functions giving an integer scalar. More...
#include <ExprGroup.h>
Public Member Functions | |
TableExprGroupFuncInt (TableExprNodeRep *node, Int64 initValue=0) | |
virtual | ~TableExprGroupFuncInt () |
virtual Int64 | getInt (const vector< TableExprId > &) |
virtual Double | getDouble (const vector< TableExprId > &) |
Protected Attributes | |
Int64 | itsValue |
Abstract base class for aggregate functions giving an integer scalar.
Internal
This class is derived from TableExprGroupFuncBase and act as the abstract base class for aggregate functions resulting in an integer scalar.
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 498 of file ExprGroup.h.
casacore::TableExprGroupFuncInt::TableExprGroupFuncInt | ( | TableExprNodeRep * | node, | |
Int64 | initValue = 0 | |||
) | [inline, explicit] |
Definition at line 501 of file ExprGroup.h.
virtual casacore::TableExprGroupFuncInt::~TableExprGroupFuncInt | ( | ) | [virtual] |
virtual Double casacore::TableExprGroupFuncInt::getDouble | ( | const vector< TableExprId > & | ) | [virtual] |
Reimplemented from casacore::TableExprGroupFuncBase.
virtual Int64 casacore::TableExprGroupFuncInt::getInt | ( | const vector< TableExprId > & | ) | [virtual] |
Reimplemented from casacore::TableExprGroupFuncBase.
Int64 casacore::TableExprGroupFuncInt::itsValue [protected] |
Definition at line 509 of file ExprGroup.h.
Referenced by casacore::TableExprGroupCountAll::setResult().