ost::objList< T, K > - Used to create and manage a single linked list of objects of a common type.
Contents
Constructor & Destructor Documentation
template<classT,typenameK>ost::objList<T,K>::objList(constKkey)[inline],[protected]
References ost::objList< T, K >::objFirst, ost::objList< T, K >::objKey, and ost::objList< T, K
>::objNext.
Detailed Description
template<classT,typenameK>
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.
Member Data Documentation
template<classT,typenameK>T*ost::objList<T,K>::objFirst=NULL[static],[protected]
Referenced by ost::objList< T, K >::objList().
template<classT,typenameK>constKost::objList<T,K>::objKey[protected]
Referenced by ost::objList< T, K >::objList().
template<classT,typenameK>T*ost::objList<T,K>::objNext[protected]
Referenced by ost::objList< T, K >::getObject(), and ost::objList< T, K >::objList().
Member Function Documentation
template<classT,typenameK>T*ost::objList<T,K>::getObject(constK&key)[static]
References ost::objList< T, K >::objNext.
Name
ost::objList< T, K > - Used to create and manage a single linked list of objects of a common type.
Synopsis
#include <objlink.h>
StaticPublicMemberFunctions
static T * getObject (const K &key)
ProtectedMemberFunctionsobjList (const K key)
ProtectedAttributes
T * objNext
const K objKeyStaticProtectedAttributes
static T * objFirst = NULL
