Tinyhash
This is a library containing multiple C implementations of hashmap.
Loading...
Searching...
No Matches
Public Attributes | List of all members
th_iterator_s Struct Reference

Represents an iterator that allow to iterate over a generic table. More...

#include <iterator.h>

Collaboration diagram for th_iterator_s:
Collaboration graph

Public Attributes

int index
 
th_any_t current
 
th_key_tkey
 
th_any_t value
 
th_generic_table_t generic_table
 
bool(* next )(struct th_iterator_s **)
 

Detailed Description

Represents an iterator that allow to iterate over a generic table.

Definition at line 11 of file iterator.h.

Member Data Documentation

◆ current

th_any_t th_iterator_s::current

◆ generic_table

th_generic_table_t th_iterator_s::generic_table

Definition at line 16 of file iterator.h.

Referenced by th_iterator_init(), th_oa_iterator_next(), and th_sc_iterator_next().

◆ index

int th_iterator_s::index

◆ key

th_key_t* th_iterator_s::key

Definition at line 14 of file iterator.h.

Referenced by th_iterator_init(), th_oa_iterator_next(), and th_sc_iterator_copy_entry().

◆ next

bool(* th_iterator_s::next) (struct th_iterator_s **)

Definition at line 17 of file iterator.h.

Referenced by th_iterator_init(), and th_iterator_next().

◆ value

th_any_t th_iterator_s::value

Definition at line 15 of file iterator.h.

Referenced by th_iterator_init(), th_oa_iterator_next(), and th_sc_iterator_copy_entry().


The documentation for this struct was generated from the following file: