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