Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

ost::objMap Class Template Reference

Used to create and manage a hash index of objects through a common type. hash indexed searchable template chain. More...

#include <objmap.h>

Inheritance diagram for ost::objMap::

ost::keyMap List of all members.

Static Public Methods

T* getObject (keystring key)

Protected Methods

virtual unsigned keyIndex (K k)
unsigned getSize (void)
 objMap (const K key)

Protected Attributes

T* objNext
const K objKey

Static Protected Attributes

T* objIndex [S]

Detailed Description

template<class T, class K, unsigned S> class ost::objMap

Used to create and manage a hash index of objects through a common type. hash indexed searchable template chain.

The objects can be examined and a specific instance located by a hash key.

Author:
David Sugar <dyfet@gnutelephony.org>


Constructor & Destructor Documentation

template<class T, class K, unsigned S>
ost::objMap<T, K, S>::objMap<T, K, S> ( const K key ) [inline, protected]
 


Member Function Documentation

template<class T, class K, unsigned S>
T * ost::objMap< T, K, S >::getObject ( keystring key ) [static]
 

template<class T, class K, unsigned S>
unsigned ost::objMap<T, K, S>::getSize ( void ) [inline, protected]
 

template<class T, class K, unsigned S>
unsigned ost::objMap<T, K, S>::keyIndex ( K k ) [inline, protected, virtual]
 


Member Data Documentation

template<class T, class K, unsigned S>
T * ost::objMap< T, K, S >::objIndex [static, protected]
 

template<class T, class K, unsigned S>
const K ost::objMap<T, K, S>::objKey [protected]
 

template<class T, class K, unsigned S>
T * ost::objMap<T, K, S>::objNext [protected]
 


The documentation for this class was generated from the following file:
Generated at Fri May 30 14:51:03 2008 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001