sipxportlib  Version 3.3
Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
UtlPair Class Reference

Associate a key object (the parent UtlLink data) with its value object. More...

#include <UtlLink.h>

Inheritance diagram for UtlPair:
Inheritance graph
[legend]
Collaboration diagram for UtlPair:
Collaboration graph
[legend]

Protected Member Functions

 UtlPair ()
 
 ~UtlPair ()
 
void release ()
 Return a UtlPair to the pool. More...
 
- Protected Member Functions inherited from UtlChain
bool isUnLinked () const
 Is this block not linked to anything? More...
 
void unchain ()
 Take the link out of its chain. More...
 
void chainBefore (UtlChain *existing)
 Insert a new UtlChain before existing. More...
 
void chainAfter (UtlChain *existing)
 Insert a new UtlChain after existing.. More...
 
UtlChainlistHead () const
 Returns the head (first) UtlLink on the list (or NULL if the list is empty). More...
 
UtlChainlistTail () const
 Returns the tail (last) UtlLink on the list (or NULL if the list is empty). More...
 
UtlLinkhead () const
 Returns the head (first) UtlLink on the list (or NULL if the list is empty). More...
 
UtlLinktail () const
 Returns the tail (last) UtlLink on the list (or NULL if the list is empty). More...
 
void listBefore (UtlChain *list, UtlChain *existing)
 Insert this link into a list before an existing entry (before NULL == at the tail). More...
 
void listAfter (UtlChain *list, UtlChain *existing)
 Insert this link into a list after an existing entry (after NULL == at the head). More...
 
UtlChaindetachFromList (UtlChain *listHead)
 Remove a link from a list. More...
 

Static Protected Member Functions

static UtlPairget ()
 Get a UtlPair from the pool. More...
 

Protected Attributes

UtlContainablevalue
 
- Protected Attributes inherited from UtlChain
UtlChainprev
 backward chain pointer More...
 
UtlChainnext
 forward chain pointer More...
 

Static Protected Attributes

static UtlChainPoolspPairPool
 

Friends

class UtlHashMap
 
class UtlHashMapIterator
 
class UtlHashBagIterator
 
class UtlInit
 

Additional Inherited Members

- Public Member Functions inherited from UtlChain
 UtlChain ()
 Constructor initializes to unlinked. More...
 
 ~UtlChain ()
 Destructor. More...
 

Detailed Description

Associate a key object (the parent UtlLink data) with its value object.

Constructor & Destructor Documentation

UtlPair ( )
inlineprotected
~UtlPair ( )
inlineprotected

Member Function Documentation

UtlPair * get ( )
staticprotected

Get a UtlPair from the pool.

void release ( void  )
protected

Return a UtlPair to the pool.

Friends And Related Function Documentation

friend class UtlHashMap
friend
friend class UtlHashMapIterator
friend
friend class UtlHashBagIterator
friend
friend class UtlInit
friend

Member Data Documentation

UtlContainable* value
protected
UtlChainPool * spPairPool
staticprotected