#include <SimpleFunctors.h>
Public Member Functions | |
Element1D (const unsigned long index) | |
Result | operator() (const Container &c) const |
Private Member Functions | |
Element1D () | |
Private Attributes | |
unsigned long | idx |
Functor which extracts a given element from a random access linear container without bounds checking
Definition at line 200 of file SimpleFunctors.h.
npstat::Element1D< Container, Result >::Element1D | ( | const unsigned long | index | ) | [inline, explicit] |
Definition at line 202 of file SimpleFunctors.h.
npstat::Element1D< Container, Result >::Element1D | ( | ) | [private] |
Result npstat::Element1D< Container, Result >::operator() | ( | const Container & | c | ) | const [inline, virtual] |
Implements npstat::Functor1< Result, Container >.
Definition at line 204 of file SimpleFunctors.h.
References npstat::Element1D< Container, Result >::idx.
unsigned long npstat::Element1D< Container, Result >::idx [private] |
Definition at line 208 of file SimpleFunctors.h.
Referenced by npstat::Element1D< Container, Result >::operator()().