ListEntry |
01 |
|
02 |
Members:
|
03 | The constant C_SEMYS_LIST_NULL initializes this structure to zero values. |
04 | ListEntry acts as the link for an item within the list, as entry point for the list itself and as an iterator. |
05 | There is no type safety. The user has to take care about what is inserted into and retrieved from the list. |
List entry point |
06 | The entry point of a list itself is the start and the end of the list. mpNext refers to the first item of the list, mpPrev to the last item. If the list is empty, both member point to the entry point itself. |
07 |
A new list has to be initialized by the function ListInit(). |
List item |
08 | A structure that is to be inserted into a list needs ListEntry as its first member. Such a structure can be in one (main) list at a time. For further list membership, SemysAnyReference is needed. |
Example |
09 |
|
10 |
Reference: SemysList.h Implementation: Semys Library See Also: List Sub-System, SemysAnyReference, ListInit() |
Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details. |