CMS 3D CMS Logo

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

#include <AbsVisitor.h>

Public Member Functions

virtual void clear ()=0
 
virtual void process (const Input &value)=0
 
virtual Result result ()=0
 
virtual ~AbsVisitor ()
 

Detailed Description

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

Interface class for piecemeal processing of a data collection

Definition at line 19 of file AbsVisitor.h.

Constructor & Destructor Documentation

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

Definition at line 21 of file AbsVisitor.h.

21 {}

Member Function Documentation

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

Clear all accumulated results

Implemented in npstat::VisitCounter< Input >.

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

template<typename Input, typename Result>
virtual void npstat::AbsVisitor< Input, Result >::process ( const Input value)
pure virtual
template<typename Input, typename Result>
virtual Result npstat::AbsVisitor< Input, Result >::result ( )
pure virtual

Return the result at the end of array processing

Implemented in npstat::VisitCounter< Input >.

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