#include <Enumerator.h>
Inheritance diagram for base::LinkableEnumerator:
Public Member Functions | |
LinkableEnumerator (size_t sizeOfTable, SingleLinkable_t **theTable) | |
Constructor:. | |
SingleLinkable_t * | getNextLinkable () |
Enumerate all the nodes in the table. | |
Private Attributes | |
size_t | size |
size of the table | |
SingleLinkable_t ** | table |
table of linkables | |
SingleLinkable_t * | current |
current node in enumeration |
Typically, this is used in hash tables.
|
Constructor:.
|
|
Enumerate all the nodes in the table. The order is not specified. In practice we start from the beginning of the table and we enumerate all nodes in natural order.
|
|
current node in enumeration
|
|
size of the table
|
|
table of linkables
|