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