GNU CommonC++
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
 

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

References objFirst, objKey, and objNext.

Member Function Documentation

◆ getObject()

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

References objFirst.

Member Data Documentation

◆ objFirst

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

Referenced by getObject(), and objList().

◆ objKey

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

Referenced by objList().

◆ objNext

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

Referenced by objList().


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