#include <stmap.h>
Public Member Functions | |
StMap () | |
~StMap () | |
unsigned | size () const |
void | insert (K key, V value) |
V & | get (K key) const |
Map is a container which values are pairs: key and value. The key is like index in other containers. Key and value might be variable any class e.g. key - StString, value - double.
V& StMap< K, V >::get | ( | K | key | ) | const |
void StMap< K, V >::insert | ( | K | key, | |
V | value | |||
) |
Insert value into container
unsigned StMap< K, V >::size | ( | ) | const |
Return the number of container elements