casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::ArrayPartMath_global_functions_Array_partial_operations::SumFunc< T > Class Template Reference

Define functors to perform a reduction function on an Array object. More...

#include <ArrayPartMath.h>

Inheritance diagram for casacore::ArrayPartMath_global_functions_Array_partial_operations::SumFunc< T >:
casacore::ArrayFunctorBase< T >

Public Member Functions

virtual ~SumFunc ()
 
virtual T operator() (const Array< T > &arr) const
 
- Public Member Functions inherited from casacore::ArrayFunctorBase< T >
virtual ~ArrayFunctorBase ()
 

Detailed Description

template<typename T>
class casacore::ArrayPartMath_global_functions_Array_partial_operations::SumFunc< T >

Define functors to perform a reduction function on an Array object.

Use virtual functions instead of templates to avoid code bloat in partialArrayMath, etc.

Definition at line 193 of file ArrayPartMath.h.

Constructor & Destructor Documentation

template<typename T >
virtual casacore::ArrayPartMath_global_functions_Array_partial_operations::SumFunc< T >::~SumFunc ( )
inlinevirtual

Definition at line 195 of file ArrayPartMath.h.

Member Function Documentation

template<typename T >
virtual T casacore::ArrayPartMath_global_functions_Array_partial_operations::SumFunc< T >::operator() ( const Array< T > &  arr) const
inlinevirtual

Implements casacore::ArrayFunctorBase< T >.

Definition at line 196 of file ArrayPartMath.h.

References casacore::sum().


The documentation for this class was generated from the following file: