|
| unsigned long long | current |
| |
| unsigned long long | idx |
| |
| bool | exhausted: 1 |
| | An indicator that the iterator has stopped. More...
|
| |
| bool | started: 1 |
| | An indicator that the iterator has started. More...
|
| |
| bool | phase: 1 |
| | An indicator that changes each time the iterator moves. More...
|
| |
|
| #define | IteratorTail(return_type, struct_type) |
| | The base definition macro for all iterators in this project. More...
|
| |
| #define | IterationHead(it) |
| | The base macro for all iteration functions in this project. More...
|
| |
| #define | IteratorInitHead(advance, ...) {.iterator_function = &advance, AddDestructor(no_destructor), __VA_ARGS__} |
| | The base macro for all iterator initialization functions in this project. More...
|
| |
| #define | AddDestructor(func) ExtendInit(destructor, (void (*const)(void *)) &func) |
| | The extension macro for initializing Iterators with a destructor. More...
|
| |
| #define | ExtendInit(name, value) .name = value |
| | The extension macro for initializing more complicated Iterators. More...
|
| |
| #define | next(state) (*(state.iterator_function))(&state) |
| | The macro to advance generic iterators. More...
|
| |
| #define | next_p(state) (*(state->iterator_function))(state) |
| | The macro to advance generic iterator pointers. More...
|
| |
| #define | free_iterator(it) (*(it.destructor))(&it) |
| | The generic destructor for iterators. More...
|
| |
| #define | free_iterator_p(it) (*(it->destructor))(it) |
| | The generic destructor for iterator pointers. More...
|
| |
| unsigned long long c::p0012::triangle_iterator::current |
| void(*const c::p0012::triangle_iterator::destructor) (void *it) |
|
private |
| unsigned long long c::p0012::triangle_iterator::idx |
| unsigned long long(*const c::p0012::triangle_iterator::iterator_function) (triangle_iterator *it) |
|
private |
The pointer to the iteration function.
- See also
- next
The documentation for this struct was generated from the following file: