i6engine  1.0
i6e::utils::RangedMap< Key, Value > Class Template Reference

#include <D:/Projekte/i6engine/libs/i6engine-utils/include/i6engine/utils/RangedMap.h>

Classes

struct  iterator
 

Public Member Functions

 RangedMap (const Key &minVal, const Key &maxVal, const Value &def)
 default constructor More...
 
 ~RangedMap ()
 destructor More...
 
void dump (const std::string &fileName)
 writes dot graph to given file More...
 
Value get (const Key &k) const
 returns value for given key More...
 
void set (const Key k, const Value v)
 sets value for key More...
 

Detailed Description

template<typename Key, typename Value>
class i6e::utils::RangedMap< Key, Value >

class RangedMap

Definition at line 39 of file RangedMap.h.

Constructor & Destructor Documentation

template<typename Key , typename Value >
i6e::utils::RangedMap< Key, Value >::RangedMap ( const Key &  minVal,
const Key &  maxVal,
const Value &  def 
)
inline

default constructor

Definition at line 62 of file RangedMap.h.

template<typename Key , typename Value >
i6e::utils::RangedMap< Key, Value >::~RangedMap ( )
inline

destructor

Definition at line 69 of file RangedMap.h.

Member Function Documentation

template<typename Key , typename Value >
void i6e::utils::RangedMap< Key, Value >::dump ( const std::string &  fileName)
inline

writes dot graph to given file

Definition at line 76 of file RangedMap.h.

template<typename Key , typename Value >
Value i6e::utils::RangedMap< Key, Value >::get ( const Key &  k) const
inline

returns value for given key

Definition at line 88 of file RangedMap.h.

template<typename Key , typename Value >
void i6e::utils::RangedMap< Key, Value >::set ( const Key  k,
const Value  v 
)
inline

sets value for key

Definition at line 109 of file RangedMap.h.


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