Scroll to navigation

ost::objList< T, K >(3) Library Functions Manual ost::objList< T, K >(3)

NAME

ost::objList< T, K > - Used to create and manage a single linked list of objects of a common type.

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 dyfet@gnutelephony.org

single linked list searchable template chain.

Constructor & Destructor Documentation

template<class T , typename K > ost::objList< T, K >::objList (const K key) [inline], [protected]

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 * ost::objList< T, K >::getObject (const K & key) [static]

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

Member Data Documentation

template<class T , typename K > T * ost::objList< T, K >::objFirst = NULL [static], [protected]

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

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

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

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

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.

Sun Dec 27 2020 GNU CommonC++