Tbuf Struct Reference

Detailed Description

Each node in a list has a pointer to the previous node, a pointer to the next node, and a pointer to the data stored in the node.

See Also
Tlist

Definition at line 26 of file list.h.

Data Fields

struct Tbufprevious
 
struct Tbufnext
 
void * data
 

Field Documentation

struct Tbuf* Tbuf::previous

Link to the previous item of the list

Definition at line 28 of file list.h.

Referenced by Bacward(), PrivAddElement(), and PrivDelEle().

struct Tbuf* Tbuf::next

Link to the next item of the list

Definition at line 29 of file list.h.

Referenced by Advance(), DeleteAllItems(), DeleteCurrent(), ExtractCurrent(), ExtractFirst(), ExtractLast(), HasElement(), MoveTo(), PrintList(), PrivAddElement(), and PrivDelEle().

void* Tbuf::data

Pointer to the data stored at this position of the list

Definition at line 30 of file list.h.

Referenced by ExtractCurrent(), ExtractFirst(), ExtractLast(), GetCurrent(), HasElement(), PrintList(), PrivAddElement(), and PrivDelEle().