---
name: "ost_objList"
section: "3"
platform: "linux"
package: "libcommoncpp2-doc"
version: "1.8.1-10"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/ost_objList"
---

# ost\_objList(3)

Used to create and manage a single linked list of objects of a common type.

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