fesa-core  4.0.0
fesa::PointsIteratorBase< D > Class Template Reference

An iterator class to iterate over points of a function in a function list. More...

#include <PointsIterator.h>

Inherits iterator_adaptor< PointsIteratorBase< D >, D *, D, boost::random_access_traversal_tag >.

Public Member Functions

 PointsIteratorBase (D *pointsPtr)
 Constructor. More...
 
template<class OtherD >
 PointsIteratorBase (const PointsIteratorBase< OtherD > &other, typename boost::enable_if< boost::is_convertible< OtherD *, D * >, Enabler >::type enabler=Enabler())
 Converting constructor. More...
 

Detailed Description

template<class D>
class fesa::PointsIteratorBase< D >

An iterator class to iterate over points of a function in a function list.

Template Parameters
DThe type of the base of an iterator over points. The type can be either double or const double When this template is instantiated with const double, this class becomes ConstPointsIterator. When this template is instantiated with double, this class becomes PointsIterator

Constructor & Destructor Documentation

template<class D >
fesa::PointsIteratorBase< D >::PointsIteratorBase ( D *  pointsPtr)
inlineexplicit

Constructor.

Parameters
pointsPtrA pointer to a coordinate (X or Y) of a point of a function in a function list
template<class D >
template<class OtherD >
fesa::PointsIteratorBase< D >::PointsIteratorBase ( const PointsIteratorBase< OtherD > &  other,
typename boost::enable_if< boost::is_convertible< OtherD *, D * >, Enabler >::type  enabler = Enabler() 
)
inline

Converting constructor.

Parameters
otherAnother iterator
Template Parameters
OtherDThe type of the base of the other iterator over points When D is const double and OtherD is double, this constructor is instantiated by the compiler. When D is double and OtherD is const double, this constructor is not instantiated by the compiler.

The documentation for this class was generated from the following file: