MprList Class Reference#include <mpr.h>
Inheritance diagram for MprList:
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.
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.
|
|