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

#include <UtlSListIterator.h>

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

Public Member Functions

 UtlSListIterator (const UtlSList &list)
 
virtual UtlContainablefindNext (const UtlContainable *objectToFind)
 
UtlContainableinsertAfterPoint (UtlContainable *)
 
- 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 UtlSList
 

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

UtlSListIterator allows developers to iterator (walks through) an UtlSList.

See also
UtlIterator
UtlSList

Constructor & Destructor Documentation

UtlSListIterator ( const UtlSList list)

Constructor accepting a source UtlSList

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.

Implements UtlListIterator.

UtlContainable * insertAfterPoint ( UtlContainable insertedObject)

Insert the designated element after the current iterator position.

Friends And Related Function Documentation

friend class UtlSList
friend