Bayonne2 / Common C++ 2 Framework
Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
objMap< T, K, S > Class Template Reference

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 >:
Collaboration graph
[legend]

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 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>
objMap< T, K, S >::objMap ( const K  key )
inlineprotected

Definition at line 87 of file objmap.h.

Member Function Documentation

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

Definition at line 118 of file objmap.h.

template<class T, class K, unsigned S>
unsigned objMap< T, K, S >::getSize ( void  )
inlineprotected

Definition at line 84 of file objmap.h.

template<class T, class K, unsigned S>
virtual unsigned objMap< T, K, S >::keyIndex ( K  k )
inlineprotectedvirtual

Reimplemented in keyMap< T, S >.

Definition at line 71 of file objmap.h.

Field Documentation

template<class T, class K, unsigned S>
T * objMap< T, K, S >::objIndex ( )
staticprotected

Definition at line 67 of file objmap.h.

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

Definition at line 69 of file objmap.h.

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

Definition at line 68 of file objmap.h.


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

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /