Main Page | Alphabetical List | Class List | File List | Class Members | File Members

ListElement Class Reference

#include <list.h>

List of all members.

Public Member Functions

 ListElement (void *itemPtr, int sortKey)

Public Attributes

ListElementnext
int key
void * item


Constructor & Destructor Documentation

ListElement::ListElement void *  itemPtr,
int  sortKey
 

Definition at line 30 of file list.cc.

References item, key, and next.

00031 { 00032 item = itemPtr; 00033 key = sortKey; 00034 next = NULL; // assume we'll put it at the end of the list 00035 }


Member Data Documentation

void* ListElement::item
 

Definition at line 35 of file list.h.

Referenced by ListElement(), List::Mapcar(), and List::SortedRemove().

int ListElement::key
 

Definition at line 34 of file list.h.

Referenced by ListElement(), List::SortedInsert(), and List::SortedRemove().

ListElement* ListElement::next
 

Definition at line 32 of file list.h.

Referenced by List::Append(), ListElement(), List::Mapcar(), List::Prepend(), List::SortedInsert(), and List::SortedRemove().


The documentation for this class was generated from the following files:
Generated on Thu Sep 16 12:33:48 2004 for NachOS by doxygen 1.3.8