CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
npstat::AbsArrayProjector< Input, Result > Struct Template Referenceabstract

#include <AbsArrayProjector.h>

Public Member Functions

virtual void clear ()=0
 
virtual void process (const unsigned *index, unsigned indexLen, unsigned long linearIndex, const Input &value)=0
 
virtual Result result ()=0
 
virtual ~AbsArrayProjector ()
 

Detailed Description

template<typename Input, typename Result>
struct npstat::AbsArrayProjector< Input, Result >

Interface class for piecemeal processing of array data and coordinates. Intended for making multidimensional array projections.

Definition at line 20 of file AbsArrayProjector.h.

Constructor & Destructor Documentation

template<typename Input, typename Result>
virtual npstat::AbsArrayProjector< Input, Result >::~AbsArrayProjector ( )
inlinevirtual

Definition at line 21 of file AbsArrayProjector.h.

21 {}

Member Function Documentation

template<typename Input, typename Result>
virtual void npstat::AbsArrayProjector< Input, Result >::clear ( )
pure virtual

Clear all accumulated results

Referenced by npstat::ArrayND< Numeric, StackLen, StackDim >::projectLoop().

template<typename Input, typename Result>
virtual void npstat::AbsArrayProjector< Input, Result >::process ( const unsigned *  index,
unsigned  indexLen,
unsigned long  linearIndex,
const Input &  value 
)
pure virtual
template<typename Input, typename Result>
virtual Result npstat::AbsArrayProjector< Input, Result >::result ( )
pure virtual

Return the result at the end of array processing

Referenced by npstat::ArrayND< Numeric, StackLen, StackDim >::projectLoop().