MprList Class Reference

#include <mpr.h>

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.


Public Member Functions

void insert (MprLink *item)
MprLinkremove (MprLink *item)
void insertAfter (MprLink *item)
void insertPrior (MprLink *item)

Member Function Documentation

void MprList::insert MprLink item  )  [inline]
 

< Add to the end of the list

void MprLink::insertAfter MprLink item  )  [inline, inherited]
 

Insert after this member.

void MprLink::insertPrior MprLink item  )  [inline, inherited]
 

Insert prior to this member.

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

< Remove this item

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