casacore::TableExprGroupExprId Class Reference

Class derived from TableExprGroupFuncBase collecting the ids in a group. More...

#include <ExprGroup.h>

Inheritance diagram for casacore::TableExprGroupExprId:
casacore::TableExprGroupFuncBase

List of all members.

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

Detailed Description

Class derived from TableExprGroupFuncBase collecting the ids in a group.

Intended use:

Internal

Review Status

Test programs:
tExprGroup

Synopsis

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.


Constructor & Destructor Documentation

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

Member Function Documentation

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.


Member Data Documentation

Definition at line 346 of file ExprGroup.h.


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