MprList Class Reference

Inheritance diagram for MprList:

MprLink List of all members.

Detailed Description

List head class.

The MprList class defines the list (dummy) header for doubly linked objects. It provides forward and back links for fast insertion, removal and iteration. To use MprLink, subclasses must inherit MprLink as a base class. Use MprList for the dummy list header and MprLink for the list members.

Remarks:
This class is NOT thread-safe. Callers must do their own thread synchronization. It is designed to be "inline", very fast and no-frills.
Stability classification:
Evolving


Public Member Functions

MprLinkgetFirst ()
MprLinkgetLast ()
MprListgetList ()
 Destructor.
MprLinkgetNext (MprLink *item)
int getNumItems ()
MprLinkgetPrev (MprLink *item)
void insert (MprLink *item)
void insertAfter (MprLink *item)
 Return the owning list Insert after this member.
void insertPrior (MprLink *item)
 Insert prior to this member.
MprLinkremove (MprLink *item)

Member Function Documentation

MprLink* MprList::getFirst (  )  [inline]

MprLink* MprList::getLast (  )  [inline]

MprLink* MprList::getNext ( MprLink item  )  [inline]

int MprList::getNumItems (  )  [inline]

MprLink* MprList::getPrev ( MprLink item  )  [inline]

void MprList::insert ( MprLink item  )  [inline]

MprLink* MprList::remove ( MprLink item  )  [inline]


The documentation for this class was generated from the following file:

© Mbedthis Software LLC, 2003-2006. All rights reserved. Mbedthis is a trademark of Mbedthis Software LLC.