The Battle for Wesnoth  1.15.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, 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 507 of file config.hpp.

Constructor & Destructor Documentation

◆ child_pos()

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

Definition at line 509 of file config.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 514 of file config.hpp.

References config::child_iterator::operator==().

◆ operator==()

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

Definition at line 513 of file config.hpp.

References index, and pos.

Member Data Documentation

◆ index

unsigned config::child_pos::index

Definition at line 511 of file config.hpp.

Referenced by operator==().

◆ pos

child_map::iterator config::child_pos::pos

Definition at line 510 of file config.hpp.

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


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