GNU CommonC++
Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
ost::objMap Class Reference

Used to create and manage a hash index of objects through a common type. More...

#include <objmap.h>

List of all members.

Static Public Member Functions

static T * getObject (keystring key)

Protected Member Functions

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

Protected Attributes

T * objNext
const K objKey

Static Protected Attributes

static T * objIndex [S]

Detailed Description

Used to create and manage a hash index of objects through a common type.

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

Author:
David Sugar <dyfet@gnutelephony.org> hash indexed searchable template chain.

Constructor & Destructor Documentation

ost::objMap::objMap ( const K  key) [inline, protected]

Member Function Documentation

T * ost::objMap::getObject ( keystring  key) [static]
unsigned ost::objMap::getSize ( void  ) [inline, protected]
virtual unsigned ost::objMap::keyIndex ( k) [inline, protected, virtual]

Member Data Documentation

T * ost::objMap::objIndex ( ) [static, protected]
const K ost::objMap::objKey [protected]
T* ost::objMap::objNext [protected]

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