sipxportlib  Version 3.3
Public Member Functions | Friends | List of all members
UtlSortedListIterator Class Reference

#include <UtlSortedListIterator.h>

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

Public Member Functions

 UtlSortedListIterator (const UtlSortedList &list)
 
virtual UtlContainablefindNext (const UtlContainable *objectToFind)
 
- Public Member Functions inherited from UtlListIterator
 UtlListIterator (const UtlList &list)
 
virtual ~UtlListIterator ()
 
virtual UtlContainableoperator() ()
 
virtual void reset ()
 
virtual UtlContainabletoLast ()
 
UtlContainableitem () const
 
UtlBoolean atLast () const
 
- Public Member Functions inherited from UtlIterator
 UtlIterator (const UtlContainer &container)
 
virtual ~UtlIterator ()=0
 

Friends

class UtlSortedList
 

Additional Inherited Members

- Protected Member Functions inherited from UtlListIterator
virtual void removing (const UtlLink *node)
 
- Protected Member Functions inherited from UtlIterator
void addToContainer (const UtlContainer *container)
 
virtual void invalidate ()
 
- Protected Attributes inherited from UtlListIterator
UtlLinkmpCurrentNode
 
- Protected Attributes inherited from UtlIterator
OsBSem mContainerRefLock
 
UtlContainermpMyContainer
 
- Static Protected Attributes inherited from UtlListIterator
static UtlLink const * OFF_LIST_END
 

Detailed Description

UtlSortedListIterator allows developers to iterator (walks through) an UtlSortedList.

See also
UtlIterator
UtlSortedList

Constructor & Destructor Documentation

Constructor accepting a source UtlSortedList

Member Function Documentation

UtlContainable * findNext ( const UtlContainable objectToFind)
virtual

Find the designated object, and reset the iterator so that it is the current position.

Returns
The element or NULL if no more elements are available.

Find the next object that isEqualTo objectToFind, and reset the iterator so that it is the current position.

Returns
The found element or NULL if no more elements are available.

Implements UtlListIterator.

Friends And Related Function Documentation

friend class UtlSortedList
friend