Institut de Robòtica i Informàtica Industrial
KRD Group

The CuikSuite Project

Tbuf Struct Reference

A node in a list. More...

#include <list.h>

Collaboration diagram for Tbuf:

Data Fields

struct Tbufprevious
struct Tbufnext
void * data

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.


Field Documentation

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().


The documentation for this struct was generated from the following file: