#include <AbsVisitor.h>
Public Member Functions | |
virtual void | clear ()=0 |
virtual void | process (const Input &value)=0 |
virtual Result | result ()=0 |
virtual | ~AbsVisitor () |
Interface class for piecemeal processing of a data collection
Definition at line 19 of file AbsVisitor.h.
virtual npstat::AbsVisitor< Input, Result >::~AbsVisitor | ( | ) | [inline, virtual] |
Definition at line 21 of file AbsVisitor.h.
{}
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().
virtual void npstat::AbsVisitor< Input, Result >::process | ( | const Input & | value | ) | [pure virtual] |
Process one array point
Implemented in npstat::VisitCounter< Input >.
Referenced by npstat::ArrayND< Numeric, StackLen, StackDim >::projectInnerLoop2().
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().