Public Member Functions | Protected Types | Protected Attributes

InterpolateableIterator< Key, V, Container, Interpolator > Class Template Reference
[mappingDetails - mostly internal mapping classes]

Provides an interpolateable iterator for any Container which maps from keys to values which is able to change the underlying Container. More...

#include <Interpolation.h>

Inherits ConstInterpolateableIterator< Key, V, Container::value_type, Container::iterator, Interpolator >.

Collaboration diagram for InterpolateableIterator< Key, V, Container, Interpolator >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 InterpolateableIterator (Container &cont, const Interpolator &intpl)
void setValue (const V &value)
 : Changes (and adds if necessary) the value for the entry at the current position of the iterator to the passed value

Protected Types

typedef Container::value_type value_type
typedef Container::iterator Iterator
typedef
ConstInterpolateableIterator
< Key, V, value_type, Iterator,
Interpolator > 
BaseClassType

Protected Attributes

Container & cont

Detailed Description

template<class Key, class V, class Container = std::map<Key, V>, class Interpolator = NextSmaller<Key, V, typename Container::value_type, typename Container::const_iterator>>
class InterpolateableIterator< Key, V, Container, Interpolator >

Provides an interpolateable iterator for any Container which maps from keys to values which is able to change the underlying Container.

The underlying Container has to provide the following things:

See ConstInterpolateableIterator for more details.

Author:
Karl Wessel

Definition at line 506 of file Interpolation.h.


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