casacore::TableExprGroupFuncSet Class Reference

Class containing the results of aggregated values in a group. More...

#include <ExprGroup.h>

List of all members.

Public Member Functions

 TableExprGroupFuncSet ()
 TableExprGroupFuncSet (const vector< TableExprNodeRep * > &aggrNodes)
 Let the aggregate node objects construct the function set.
void add (const CountedPtr< TableExprGroupFuncBase > &func)
 Add a function object.
void apply (const TableExprId &id)
 Apply the functions to the given row.
const vector< CountedPtr
< TableExprGroupFuncBase > > & 
getFuncs () const
 Get the vector of functions.
const TableExprIdgetId () const
 Get the TableExprId.

Private Member Functions

 TableExprGroupFuncSet (const TableExprGroupFuncSet &)
 Copying is not needed, thus not allowed.
TableExprGroupFuncSetoperator= (const TableExprGroupFuncSet &)

Private Attributes

vector< CountedPtr
< TableExprGroupFuncBase > > 
itsFuncs
TableExprId itsId

Detailed Description

Class containing the results of aggregated values in a group.

Intended use:

Internal

Review Status

Test programs:
tExprGroup

Synopsis

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.


Constructor & Destructor Documentation

casacore::TableExprGroupFuncSet::TableExprGroupFuncSet (  )  [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.

casacore::TableExprGroupFuncSet::TableExprGroupFuncSet ( const TableExprGroupFuncSet  )  [private]

Copying is not needed, thus not allowed.


Member Function Documentation

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.

const vector<CountedPtr<TableExprGroupFuncBase> >& casacore::TableExprGroupFuncSet::getFuncs (  )  const [inline]

Get the vector of functions.

Definition at line 818 of file ExprGroup.h.

References itsFuncs.

const TableExprId& casacore::TableExprGroupFuncSet::getId (  )  const [inline]

Get the TableExprId.

Definition at line 822 of file ExprGroup.h.

References itsId.

TableExprGroupFuncSet& casacore::TableExprGroupFuncSet::operator= ( const TableExprGroupFuncSet  )  [private]

Member Data Documentation

Definition at line 831 of file ExprGroup.h.

Referenced by getFuncs().

Definition at line 832 of file ExprGroup.h.

Referenced by getId().


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