SYNOPSIS

#include <objmap.h>

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

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

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 [email protected] hash indexed searchable template chain.

Constructor & Destructor Documentation

template<class T, class K, unsigned S> \fBost::objMap\fP< T, K, S >::\fBobjMap\fP (const Kkey)\fC [inline]\fP, \fC [protected]\fP

Member Function Documentation

template<class T , class K , unsigned S> T * \fBost::objMap\fP< T, K, S >::getObject (keystringkey)\fC [static]\fP

template<class T, class K, unsigned S> unsigned \fBost::objMap\fP< T, K, S >::getSize (void)\fC [inline]\fP, \fC [protected]\fP

template<class T, class K, unsigned S> virtual unsigned \fBost::objMap\fP< T, K, S >::keyIndex (Kk)\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP

Referenced by ost::objMap< T, keystring, S >::objMap().

Member Data Documentation

template<class T, class K, unsigned S> T * \fBost::objMap\fP< T, K, S >::objIndex ()\fC [static]\fP, \fC [protected]\fP

Referenced by ost::objMap< T, keystring, S >::objMap().

template<class T, class K, unsigned S> const K \fBost::objMap\fP< T, K, S >::objKey\fC [protected]\fP

Referenced by ost::objMap< T, keystring, S >::objMap().

template<class T, class K, unsigned S> T* \fBost::objMap\fP< T, K, S >::objNext\fC [protected]\fP

Referenced by ost::objMap< T, keystring, S >::objMap().

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.