|
poser
A C framework for POsix SERvices
|
An iterator over the contents of a PSC_List. More...
#include <poser/core/list.h>
Public Member Functions | |
| int | PSC_ListIterator_moveNext (PSC_ListIterator *self) |
| Move to the next position. | |
| void * | PSC_ListIterator_current (const PSC_ListIterator *self) |
| Gets the object at the current position. | |
| void | PSC_ListIterator_destroy (PSC_ListIterator *self) |
| PSC_ListIterator destructor. | |
An iterator over the contents of a PSC_List.
| void * PSC_ListIterator_current | ( | const PSC_ListIterator * | self | ) |
Gets the object at the current position.
| self | the PSC_ListIterator |
| void PSC_ListIterator_destroy | ( | PSC_ListIterator * | self | ) |
PSC_ListIterator destructor.
| self | the PSC_ListIterator |
| int PSC_ListIterator_moveNext | ( | PSC_ListIterator * | self | ) |
Move to the next position.
If the position was invalid, move to the first position. If the position was pointing to the last entry, move to invalid position.
| self | the PSC_ListIterator |