Public Types | Public Member Functions | Protected Attributes

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

Represents a std::map which is able to interpolate. More...

#include <Interpolation.h>

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

List of all members.

Public Types

typedef std::map< Key, V > map_type
typedef map_type::const_iterator const_iterator
typedef map_type::iterator iterator
typedef map_type::value_type value_type
typedef
InterpolateableIterator< Key,
V, map_type, Interpolator > 
intpl_iterator
typedef
ConstInterpolateableIterator
< Key, V, const map_type,
typename
map_type::const_iterator,
Interpolator > 
const_intpl_iterator
typedef Interpolated< V > interpolated

Public Member Functions

 InterpolateableMap (V oorv)
void setOutOfRangeVal (V oorv)
interpolated getIntplValue (const Key &pos) const
const_intpl_iterator findIntpl (const Key &pos) const
const_intpl_iterator beginIntpl () const
intpl_iterator findIntpl (const Key &pos)
intpl_iterator beginIntpl ()

Protected Attributes

Interpolator interpolate

Detailed Description

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

Represents a std::map which is able to interpolate.

Returns interpolated values if accessed at position without keys.

Used to represent Mappings

Author:
Karl Wessel
See also:
Mapping

Definition at line 560 of file Interpolation.h.


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