casacore
|
Class containing the results of aggregated values in a group. More...
#include <ExprGroup.h>
Public Member Functions | |
TableExprGroupFuncSet () | |
TableExprGroupFuncSet (const vector< TableExprNodeRep * > &aggrNodes) | |
Let the aggregate node objects construct the function set. More... | |
void | add (const CountedPtr< TableExprGroupFuncBase > &func) |
Add a function object. More... | |
void | apply (const TableExprId &id) |
Apply the functions to the given row. More... | |
const vector< CountedPtr< TableExprGroupFuncBase > > & | getFuncs () const |
Get the vector of functions. More... | |
const TableExprId & | getId () const |
Get the TableExprId. More... | |
Private Member Functions | |
TableExprGroupFuncSet (const TableExprGroupFuncSet &) | |
Copying is not needed, thus not allowed. More... | |
TableExprGroupFuncSet & | operator= (const TableExprGroupFuncSet &) |
Private Attributes | |
vector< CountedPtr< TableExprGroupFuncBase > > | itsFuncs |
TableExprId | itsId |
Class containing the results of aggregated values in a group.
Internal
This class contains the set of aggregate function objects containing all aggregate results of a particular GROUPBY group. It also contains the TableExprId of the last row in the group. It is used for possible non-aggregate expressions.
Definition at line 801 of file ExprGroup.h.
|
inline |
Definition at line 804 of file ExprGroup.h.
casacore::TableExprGroupFuncSet::TableExprGroupFuncSet | ( | const vector< TableExprNodeRep * > & | aggrNodes | ) |
Let the aggregate node objects construct the function set.
|
private |
Copying is not needed, thus not allowed.
void casacore::TableExprGroupFuncSet::add | ( | const CountedPtr< TableExprGroupFuncBase > & | func | ) |
Add a function object.
void casacore::TableExprGroupFuncSet::apply | ( | const TableExprId & | id | ) |
Apply the functions to the given row.
|
inline |
|
inline |
|
private |
|
private |
Definition at line 831 of file ExprGroup.h.
Referenced by getFuncs().
|
private |
Definition at line 832 of file ExprGroup.h.
Referenced by getId().