casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::NTrueFunc< T, RES > Class Template Referencefinal

Logical functor to count the number of true elements. More...

#include <ArrayLogical.h>

Inheritance diagram for casacore::NTrueFunc< T, RES >:
casacore::ArrayFunctorBase< T, RES >

Public Member Functions

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

Detailed Description

template<typename T, typename RES = size_t>
class casacore::NTrueFunc< T, RES >

Logical functor to count the number of true elements.

Definition at line 449 of file ArrayLogical.h.

Member Function Documentation

template<typename T , typename RES = size_t>
virtual RES casacore::NTrueFunc< T, RES >::operator() ( const Array< T > &  arr) const
inlineoverridevirtual

Implements casacore::ArrayFunctorBase< T, RES >.

Definition at line 451 of file ArrayLogical.h.

References casacore::ntrue().


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