Class derived from TableExprGroupFuncBase collecting the ids in a group. More...
#include <ExprGroup.h>
Public Member Functions | |
TableExprGroupExprId (TableExprNodeRep *node) | |
virtual | ~TableExprGroupExprId () |
virtual Bool | isLazy () const |
Does the aggregate function use lazy semantics? The default implementation returns False. | |
virtual void | apply (const TableExprId &id) |
Get the operand's value for the given row and apply it to the aggregation. | |
virtual CountedPtr< vector < TableExprId > > | getIds () const |
Get the assembled TableExprIds of a group. | |
Private Attributes | |
CountedPtr< vector< TableExprId > > | itsIds |
Class derived from TableExprGroupFuncBase collecting the ids in a group.
Internal
This class keeps all TableExprIds in a group. It is meant for lazy aggregation classes which use the collected TableExprIds in their 'getXXX' functions.
Definition at line 337 of file ExprGroup.h.
casacore::TableExprGroupExprId::TableExprGroupExprId | ( | TableExprNodeRep * | node | ) | [explicit] |
virtual casacore::TableExprGroupExprId::~TableExprGroupExprId | ( | ) | [virtual] |
virtual void casacore::TableExprGroupExprId::apply | ( | const TableExprId & | id | ) | [virtual] |
Get the operand's value for the given row and apply it to the aggregation.
This function should not be called for lazy classes.
Implements casacore::TableExprGroupFuncBase.
virtual CountedPtr<vector<TableExprId> > casacore::TableExprGroupExprId::getIds | ( | ) | const [virtual] |
Get the assembled TableExprIds of a group.
It is specifically meant for TableExprGroupExprId used for lazy aggregation.
Reimplemented from casacore::TableExprGroupFuncBase.
virtual Bool casacore::TableExprGroupExprId::isLazy | ( | ) | const [virtual] |
Does the aggregate function use lazy semantics? The default implementation returns False.
Reimplemented from casacore::TableExprGroupFuncBase.
CountedPtr<vector<TableExprId> > casacore::TableExprGroupExprId::itsIds [private] |
Definition at line 346 of file ExprGroup.h.