Used to create and manage a hash index of objects through a common type.
More...
#include <objmap.h>
Collaboration diagram for objMap< T, K, S >:
Static Public Member Functions
Protected Member Functions
Protected Attributes
Static Protected Attributes
Detailed Description
template<class T, class K, unsigned S>
class 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 dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org hash indexed searchable template chain.
Definition at line 65 of file objmap.h.
Constructor & Destructor Documentation
template<class T, class K, unsigned S>
Member Function Documentation
template<class T , class K , unsigned S>
T *
objMap< T, K, S >::getObject
(
keystring
key )
static
template<class T, class K, unsigned S>
unsigned
objMap< T, K, S >::getSize
(
void
)
inlineprotected
template<class T, class K, unsigned S>
virtual unsigned
objMap< T, K, S >::keyIndex
(
K
k )
inlineprotectedvirtual
Field Documentation
template<class T, class K, unsigned S>
T *
objMap< T, K, S >::objIndex
(
)
staticprotected
template<class T, class K, unsigned S>
const K
objMap< T, K, S >::objKey
protected
template<class T, class K, unsigned S>
The documentation for this class was generated from the following file: