HL::SLList Class Reference
#include <sllist.h>
List of all members.
Classes |
class | Entry |
| An entry in the list. More...
|
Public Member Functions |
| SLList (void) |
void | clear (void) |
| Clear the list.
|
Entry * | get (void) |
| Get the head of the list.
|
void | insert (Entry *e) |
| Inserts an entry into the head of the list.
|
Private Member Functions |
void | remove (Entry *) |
| Remove one item from the list.
|
Private Attributes |
Entry | head |
| The head of the list.
|
Constructor & Destructor Documentation
HL::SLList::SLList |
( |
void |
|
) |
[inline] |
Member Function Documentation
void HL::SLList::clear |
( |
void |
|
) |
[inline] |
Entry* HL::SLList::get |
( |
void |
|
) |
[inline] |
Get the head of the list.
void HL::SLList::insert |
( |
Entry * |
e |
) |
[inline] |
Inserts an entry into the head of the list.
void HL::SLList::remove |
( |
Entry * |
|
) |
[inline, private] |
Remove one item from the list.
- Warning:
- This method aborts the program if called.
Member Data Documentation
The documentation for this class was generated from the following file: