Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
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>

Collaboration diagram for objList< T, K >:
Collaboration graph
[legend]

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 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.

Definition at line 64 of file objlink.h.

Constructor & Destructor Documentation

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

Definition at line 70 of file objlink.h.

Member Function Documentation

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

Definition at line 84 of file objlink.h.

Field Documentation

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

Definition at line 66 of file objlink.h.

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

Definition at line 68 of file objlink.h.

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

Definition at line 67 of file objlink.h.


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