SYNOPSIS

#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 [email protected] single linked list searchable template chain.

Constructor & Destructor Documentation

template<class T , typename K > \fBost::objList\fP< T, K >::\fBobjList\fP (const Kkey)\fC [inline]\fP, \fC [protected]\fP

References ost::objList< T, K >::objFirst, ost::objList< T, K >::objKey, and ost::objList< T, K >::objNext.

Member Function Documentation

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

References ost::objList< T, K >::objNext.

Member Data Documentation

template<class T , typename K > T * \fBost::objList\fP< T, K >::objFirst = NULL\fC [static]\fP, \fC [protected]\fP

Referenced by ost::objList< T, K >::objList().

template<class T , typename K > const K \fBost::objList\fP< T, K >::objKey\fC [protected]\fP

Referenced by ost::objList< T, K >::objList().

template<class T , typename K > T* \fBost::objList\fP< T, K >::objNext\fC [protected]\fP

Referenced by ost::objList< T, K >::getObject(), and ost::objList< T, K >::objList().

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.