#include <VectorIterator.h>
Inheritance diagram for VectorIntFunFunArg< Row, Member, Arg >:
Definition at line 272 of file VectorIterator.h.
Public Member Functions | |
VectorIntFunFunArg (const std::vector< Row > &theVector_, Member(Row::*p_mem_)(Arg) const, Arg arg_, const FillIterator &iter_, const char *name_="?") | |
Constructor. | |
int | operator() () const |
Returns the value of the member method, converted to int. | |
virtual const FillIterator * | getIterator () const |
Returns pointer to iterator. | |
Protected Member Functions | |
virtual | ~VectorIntFunFunArg () |
Protected destructor ensures creation on the heap. | |
Protected Attributes | |
const std::vector< Row > & | theVector |
The vector. | |
Member(Row::* | p_mem )(Arg) const |
Member pointer to data member. | |
Arg | arg |
The argument. | |
const FillIterator & | iter |
The iterator. |
|
Constructor.
Definition at line 275 of file VectorIterator.h. References VectorIntFunFunArg< Row, Member, Arg >::arg, NamedO::getName(), VectorIntFunFunArg< Row, Member, Arg >::iter, VectorIntFunFunArg< Row, Member, Arg >::p_mem, and VectorIntFunFunArg< Row, Member, Arg >::theVector. |
|
The argument. p_mem is a pointer to a member function of T (indicated by "Row::*"), which has to be declared as Member function_name() const; (indicated by "Member(...)() const"). Member must be convertible to int. Definition at line 308 of file VectorIterator.h. Referenced by VectorIntFunFunArg< Row, Member, Arg >::operator()(), and VectorIntFunFunArg< Row, Member, Arg >::VectorIntFunFunArg(). |