Freeciv-3.1: iterator Struct Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Fields
iterator Struct Reference

`#include <iterator.h>`

## Data Fields

void(* | next )(struct iterator *it)
void *(* | get )(const struct iterator *it)
bool(* | valid )(const struct iterator *it)

## Detailed Description

Definition at line 31 of file iterator.h.

## Field Documentation

## ◆ get

void *(* iterator::get) (const struct iterator *it)

Definition at line 33 of file iterator.h.

Referenced by cargo_iter_init(), genhash_iter_init_common(), government_iter_init(), invalid_iter_init(), iterator_get(), nation_group_iter_init(), nation_iter_init(), nation_set_iter_init(), and startpos_iter_init().

## ◆ next

void(* iterator::next) (struct iterator *it)

Definition at line 32 of file iterator.h.

Referenced by cargo_iter_init(), genhash_iter_init_common(), government_iter_init(), invalid_iter_init(), iterator_next(), nation_group_iter_init(), nation_iter_init(), nation_set_iter_init(), and startpos_iter_init().

## ◆ valid

bool(* iterator::valid) (const struct iterator *it)

Definition at line 34 of file iterator.h.

Referenced by cargo_iter_init(), genhash_iter_init_common(), government_iter_init(), invalid_iter_init(), iterator_valid(), nation_group_iter_init(), nation_iter_init(), nation_set_iter_init(), research_iter_player_next(), research_iter_team_next(), and startpos_iter_init().