StMap< K, V > Class Template Reference

Implements the Map container. More...

#include <stmap.h>

List of all members.

Public Member Functions

 StMap ()
 ~StMap ()
unsigned size () const
void insert (K key, V value)
V & get (K key) const


Detailed Description

template<class K, class V>
class StMap< K, V >

Implements the Map container.

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.


Constructor & Destructor Documentation

template<class K, class V>
StMap< K, V >::StMap (  )  [inline]

template<class K, class V>
StMap< K, V >::~StMap (  )  [inline]


Member Function Documentation

template<class K, class V>
V& StMap< K, V >::get ( key  )  const

template<class K, class V>
void StMap< K, V >::insert ( key,
value 
)

Insert value into container

template<class K, class V>
unsigned StMap< K, V >::size (  )  const

Return the number of container elements


The documentation for this class was generated from the following file:
Generated on Tue Nov 14 21:15:09 2006 for Smart Tools Library by  doxygen 1.4.7