casacore::TableExprGroupCountAll Class Reference

Aggregate class counting number of rows in a group. More...

#include <ExprGroupAggrFunc.h>

Inheritance diagram for casacore::TableExprGroupCountAll:
casacore::TableExprGroupFuncInt casacore::TableExprGroupFuncBase

List of all members.

Public Member Functions

 TableExprGroupCountAll (TableExprNodeRep *node)
virtual ~TableExprGroupCountAll ()
virtual void apply (const TableExprId &id)
 Get the operand's value for the given row and apply it to the aggregation.
void setResult (Int64 cnt)
 Set result in case it is known directly.

Detailed Description

Aggregate class counting number of rows in a group.

Intended use:

Internal

Review Status

Test programs:
tExprGroup

Synopsis

Aggregate class counting number of rows in a group.

Definition at line 52 of file ExprGroupAggrFunc.h.


Constructor & Destructor Documentation

casacore::TableExprGroupCountAll::TableExprGroupCountAll ( TableExprNodeRep node  )  [explicit]
virtual casacore::TableExprGroupCountAll::~TableExprGroupCountAll (  )  [virtual]

Member Function Documentation

virtual void casacore::TableExprGroupCountAll::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.

void casacore::TableExprGroupCountAll::setResult ( Int64  cnt  )  [inline]

Set result in case it is known directly.

Definition at line 59 of file ExprGroupAggrFunc.h.

References casacore::TableExprGroupFuncInt::itsValue.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1