casacore::TableExprGroupFuncArrayDouble Class Reference

Abstract base class for aggregate functions giving a double array. More...

#include <ExprGroup.h>

Inheritance diagram for casacore::TableExprGroupFuncArrayDouble:
casacore::TableExprGroupFuncBase casacore::TableExprGroupMaxsArrayDouble casacore::TableExprGroupMeansArrayDouble casacore::TableExprGroupMinsArrayDouble casacore::TableExprGroupProductsArrayDouble casacore::TableExprGroupRmssArrayDouble casacore::TableExprGroupSumsArrayDouble casacore::TableExprGroupSumSqrsArrayDouble casacore::TableExprGroupVariancesArrayDouble

List of all members.

Public Member Functions

 TableExprGroupFuncArrayDouble (TableExprNodeRep *node)
virtual ~TableExprGroupFuncArrayDouble ()
virtual MArray< DoublegetArrayDouble (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< DoubleitsValue

Detailed Description

Abstract base class for aggregate functions giving a double 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 a double 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 689 of file ExprGroup.h.


Constructor & Destructor Documentation

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

Definition at line 692 of file ExprGroup.h.

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

Member Function Documentation

Bool casacore::TableExprGroupFuncArrayDouble::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<Double> casacore::TableExprGroupFuncArrayDouble::getArrayDouble ( const vector< TableExprId > &   )  [virtual]

Reimplemented from casacore::TableExprGroupFuncBase.


Member Data Documentation

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