casacore::TableExprGroupFuncArrayInt Class Reference

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

#include <ExprGroup.h>

Inheritance diagram for casacore::TableExprGroupFuncArrayInt:
casacore::TableExprGroupFuncBase casacore::TableExprGroupArrayNFalses casacore::TableExprGroupArrayNTrues casacore::TableExprGroupMaxsArrayInt casacore::TableExprGroupMinsArrayInt casacore::TableExprGroupProductsArrayInt casacore::TableExprGroupSumsArrayInt casacore::TableExprGroupSumSqrsArrayInt

List of all members.

Public Member Functions

 TableExprGroupFuncArrayInt (TableExprNodeRep *node)
virtual ~TableExprGroupFuncArrayInt ()
virtual MArray< Int64getArrayInt (const vector< TableExprId > &)

Protected Member Functions

Bool checkShape (const MArrayBase &arr, const String &func)
 If not empty, check if the shape matches that of itsValue.

Protected Attributes

MArray< Int64itsValue

Detailed Description

Abstract base class for aggregate functions giving an integer array.

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 array.
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 661 of file ExprGroup.h.


Constructor & Destructor Documentation

casacore::TableExprGroupFuncArrayInt::TableExprGroupFuncArrayInt ( TableExprNodeRep node  )  [inline, explicit]

Definition at line 664 of file ExprGroup.h.

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

Member Function Documentation

Bool casacore::TableExprGroupFuncArrayInt::checkShape ( const MArrayBase arr,
const String func 
) [protected]

If not empty, check if the shape matches that of itsValue.

If itsValue is still empty, it is sized.

virtual MArray<Int64> casacore::TableExprGroupFuncArrayInt::getArrayInt ( const vector< TableExprId > &   )  [virtual]

Reimplemented from casacore::TableExprGroupFuncBase.


Member Data Documentation

Definition at line 673 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