The Battle for Wesnoth  1.17.12+dev
Public Member Functions | Public Attributes | List of all members
config::child_pos Struct Reference

#include <config.hpp>

Public Member Functions

 child_pos (child_map::iterator p, unsigned i)
bool operator== (const child_pos &o) const
bool operator!= (const child_pos &o) const

Public Attributes

child_map::iterator pos
unsigned index

Detailed Description

Definition at line 613 of file config.hpp.

Constructor & Destructor Documentation

◆ child_pos()

config::child_pos::child_pos ( child_map::iterator  p,
unsigned  i 

Definition at line 615 of file config.hpp.

Member Function Documentation

◆ operator!=()

bool config::child_pos::operator!= ( const child_pos o) const

Definition at line 620 of file config.hpp.

References operator==().

◆ operator==()

bool config::child_pos::operator== ( const child_pos o) const

Definition at line 619 of file config.hpp.

References index, and pos.

Member Data Documentation

◆ index

unsigned config::child_pos::index

Definition at line 617 of file config.hpp.

Referenced by operator==().

◆ pos

child_map::iterator config::child_pos::pos

Definition at line 616 of file config.hpp.

Referenced by config::add_child_at_total(), and operator==().

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