GNU CommonC++
Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes

ost::objList< T, K > Class Template Reference

Used to create and manage a single linked list of objects of a common type. More...

#include <objlink.h>

List of all members.

Static Public Member Functions

static T * getObject (const K &key)

Protected Member Functions

 objList (const K key)

Protected Attributes

T * objNext
const K objKey

Static Protected Attributes

static T * objFirst = NULL

Detailed Description

template<class T, typename K>
class ost::objList< T, K >

Used to create and manage a single linked list of objects of a common type.

The list of created objects can be examined to find a key by an identifier.

Author:
David Sugar <dyfet@gnutelephony.org> single linked list searchable template chain.

Constructor & Destructor Documentation

template<class T , typename K >
ost::objList< T, K >::objList ( const K  key) [inline, protected]

Member Function Documentation

template<class T , typename K >
T * ost::objList< T, K >::getObject ( const K &  key) [static]

Member Data Documentation

template<class T , typename K >
T * ost::objList< T, K >::objFirst = NULL [static, protected]
template<class T , typename K >
const K ost::objList< T, K >::objKey [protected]
template<class T , typename K >
T* ost::objList< T, K >::objNext [protected]

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