The Battle for Wesnoth  1.17.23+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, std::size_t i)
bool operator== (const child_pos &o) const
bool operator!= (const child_pos &o) const

Public Attributes

child_map::iterator pos
std::size_t index

Detailed Description

Definition at line 674 of file config.hpp.

Constructor & Destructor Documentation

◆ child_pos()

config::child_pos::child_pos ( child_map::iterator  p,
std::size_t  i 

Definition at line 676 of file config.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 681 of file config.hpp.

References operator==().

◆ operator==()

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

Definition at line 680 of file config.hpp.

References index, and pos.

Referenced by operator!=().

Member Data Documentation

◆ index

std::size_t config::child_pos::index

Definition at line 678 of file config.hpp.

Referenced by operator==().

◆ pos

child_map::iterator config::child_pos::pos

Definition at line 677 of file config.hpp.

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

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