Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

VectorFloatFunFun< Row, Member > Class Template Reference

#include <VectorIterator.h>

Inheritance diagram for VectorFloatFunFun< Row, Member >:

Inheritance graph
[legend]
Collaboration diagram for VectorFloatFunFun< Row, Member >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class Row, class Member = float>
class VectorFloatFunFun< Row, Member >

Returns the result of a member method of a vector's row in a FloatFun.

Definition at line 77 of file VectorIterator.h.

Public Member Functions

 VectorFloatFunFun (const std::vector< Row > &theVector_, Member(Row::*p_mem_)() const, const FillIterator &iter_, const char *name_="?")
 Constructor.

Float_FF operator() () const
 Returns the value of the member method, converted to float.

virtual const FillIteratorgetIterator () const
 Returns pointer to iterator.


Protected Member Functions

virtual ~VectorFloatFunFun ()
 Protected destructor ensures creation on the heap.


Protected Attributes

const std::vector< Row > & theVector
 The vector.

Member(Row::* p_mem )() const
 Member pointer to member function.

const FillIteratoriter
 The iterator.


Constructor & Destructor Documentation

template<class Row, class Member = float>
VectorFloatFunFun< Row, Member >::VectorFloatFunFun const std::vector< Row > &  theVector_,
Member(Row::*  p_mem_)() const,
const FillIterator iter_,
const char *  name_ = "?"
[inline]
 

Constructor.

Parameters:
theVector_  The vector
p_mem_  Member pointer
iter_  The iterator
name_  The variable name

Definition at line 80 of file VectorIterator.h.

References NamedO::getName(), VectorFloatFunFun< Row, Member >::iter, VectorFloatFunFun< Row, Member >::p_mem, and VectorFloatFunFun< Row, Member >::theVector.


Member Data Documentation

template<class Row, class Member = float>
Member(Row::* VectorFloatFunFun< Row, Member >::p_mem)() const [protected]
 

Member pointer to member function.

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 float.

Referenced by VectorFloatFunFun< Row, Member >::operator()(), and VectorFloatFunFun< Row, Member >::VectorFloatFunFun().


The documentation for this class was generated from the following file:
Generated on Thu Oct 26 12:55:23 2006 for SFH by doxygen 1.3.2