40 #ifndef INCLUDED_GLS_LIST_H
41 #define INCLUDED_GLS_LIST_H
61 DISTI_EXPORT
ListItem(
const void* data,
int len);
70 DISTI_EXPORT
void*
Data();
76 DISTI_EXPORT ListItem*
Next();
79 DISTI_EXPORT ListItem*
Prev();
82 DISTI_EXPORT
int Priority()
const {
return _priority; }
87 DISTI_EXPORT
void Next(ListItem* pNext);
92 DISTI_EXPORT
void Prev(ListItem* pPrev);
98 DISTI_EXPORT
void Data(
void* item);
104 DISTI_EXPORT
void Priority(
int priority);
121 typedef void (*ListIterator)(
void* obj,
void* data);
140 virtual DISTI_EXPORT ~List_c();
150 DISTI_EXPORT
void Empty();
178 DISTI_EXPORT
void InsertAfter(
int where,
const void* data,
int size,
void** parentPtr);
207 DISTI_EXPORT
void Push(
const void* data,
int size,
void** parentPtr);
214 DISTI_EXPORT
void Push(
const void* data,
int size);
227 DISTI_EXPORT
void Enqueue(
const void* data,
int size,
void** parentPtr);
234 DISTI_EXPORT
void Enqueue(
const void* data,
int size);
255 DISTI_EXPORT
int Count();
void InsertBefore(ListItem *before, ListItem *pNewNode)
void Enqueue(const void *data, int size, void **parentPtr)
void ForwardIterator(ListIterator func, void *data=NULL)
void * GetElement(int where)
void AddNodeWithPriority(ListItem *pNewNode, int priority)
void Push(const void *data, int size, void **parentPtr)
A file for all GL Studio files to include.
void Delete(ListItem *element)
void * _data
Definition: list.h:118
int Priority() const
Definition: list.h:82
void AllocateItemData(int size)
void InsertAfter(int where, const void *data, int size, void **parentPtr)
ListIteratorDirection
Definition: list.h:126
ListItem * Nth(int where)
void Iterator(ListIterator func, void *data, ListIteratorDirection direction)
void BackwardIterator(ListIterator func, void *data=NULL)
Definition: bmpimage.h:46
ListItem * _pTail
Definition: list.h:300