casacore::TableExprGroupFuncInt Class Reference

Abstract base class for aggregate functions giving an integer scalar. More...

#include <ExprGroup.h>

Inheritance diagram for casacore::TableExprGroupFuncInt:
casacore::TableExprGroupFuncBase casacore::TableExprGroupArrayNFalse casacore::TableExprGroupArrayNTrue casacore::TableExprGroupCount casacore::TableExprGroupCountAll casacore::TableExprGroupMaxArrayInt casacore::TableExprGroupMaxInt casacore::TableExprGroupMinArrayInt casacore::TableExprGroupMinInt casacore::TableExprGroupNFalse casacore::TableExprGroupNTrue casacore::TableExprGroupProductArrayInt casacore::TableExprGroupProductInt casacore::TableExprGroupSumArrayInt casacore::TableExprGroupSumInt casacore::TableExprGroupSumSqrArrayInt casacore::TableExprGroupSumSqrInt

List of all members.

Public Member Functions

 TableExprGroupFuncInt (TableExprNodeRep *node, Int64 initValue=0)
virtual ~TableExprGroupFuncInt ()
virtual Int64 getInt (const vector< TableExprId > &)
virtual Double getDouble (const vector< TableExprId > &)

Protected Attributes

Int64 itsValue

Detailed Description

Abstract base class for aggregate functions giving an integer scalar.

Intended use:

Internal

Review Status

Test programs:
tExprGroup

Synopsis

This class is derived from TableExprGroupFuncBase and act as the abstract base class for aggregate functions resulting in an integer scalar.
Derived classes can use itsValue to contain the aggregated value. It that case they do not need to implement the get function.

Definition at line 498 of file ExprGroup.h.


Constructor & Destructor Documentation

casacore::TableExprGroupFuncInt::TableExprGroupFuncInt ( TableExprNodeRep node,
Int64  initValue = 0 
) [inline, explicit]

Definition at line 501 of file ExprGroup.h.

virtual casacore::TableExprGroupFuncInt::~TableExprGroupFuncInt (  )  [virtual]

Member Function Documentation

virtual Double casacore::TableExprGroupFuncInt::getDouble ( const vector< TableExprId > &   )  [virtual]

Reimplemented from casacore::TableExprGroupFuncBase.

virtual Int64 casacore::TableExprGroupFuncInt::getInt ( const vector< TableExprId > &   )  [virtual]

Reimplemented from casacore::TableExprGroupFuncBase.


Member Data Documentation

Definition at line 509 of file ExprGroup.h.

Referenced by casacore::TableExprGroupCountAll::setResult().


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