GNU CommonC++
Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
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>

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.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org single linked list searchable template chain.

Constructor & Destructor Documentation

◆ objList()

template<class T , typename K >
ost::objList< T, K >::objList ( const K  key)
inlineprotected

Member Function Documentation

◆ getObject()

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

Member Data Documentation

◆ objFirst

template<class T , typename K >
T * ost::objList< T, K >::objFirst = NULL
staticprotected

◆ objKey

template<class T , typename K >
const K ost::objList< T, K >::objKey
protected

◆ objNext

template<class T , typename K >
T* ost::objList< T, K >::objNext
protected

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