The Battle for Wesnoth  1.19.0-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 672 of file config.hpp.

Constructor & Destructor Documentation

◆ child_pos()

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

Definition at line 674 of file config.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 679 of file config.hpp.

References operator==().

◆ operator==()

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

Definition at line 678 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 676 of file config.hpp.

Referenced by operator==().

◆ pos

child_map::iterator config::child_pos::pos

Definition at line 675 of file config.hpp.

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


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