#include <VectorIterator.h>
Inheritance diagram for VectorIntFunFun< Row, Member >:
Definition at line 224 of file VectorIterator.h.
Public Member Functions | |
VectorIntFunFun (const std::vector< Row > &theVector_, Member(Row::*p_mem_)() const, 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 | ~VectorIntFunFun () |
Protected destructor ensures creation on the heap. | |
Protected Attributes | |
const std::vector< Row > & | theVector |
The vector. | |
Member(Row::* | p_mem )() const |
Member pointer to data member. | |
const FillIterator & | iter |
The iterator. |
|
Constructor.
Definition at line 227 of file VectorIterator.h. References NamedO::getName(), VectorIntFunFun< Row, Member >::iter, VectorIntFunFun< Row, Member >::p_mem, and VectorIntFunFun< Row, Member >::theVector. |
|
Member pointer to data member. 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. Referenced by VectorIntFunFun< Row, Member >::operator()(), and VectorIntFunFun< Row, Member >::VectorIntFunFun(). |