The Battle for Wesnoth  1.17.14+dev
Public Member Functions | Private Attributes | List of all members
gui2::grid::iterator Class Reference

Iterator for the child items. More...

#include <grid.hpp>

Public Member Functions

 iterator (std::vector< child >::iterator itor)
iterator operator++ ()
iterator operator-- ()
widgetoperator-> ()
widgetoperator* ()
bool operator== (const iterator &i) const
bool operator!= (const iterator &i) const

Private Attributes

std::vector< child >::iterator itor_

Detailed Description

Iterator for the child items.

Definition at line 437 of file grid.hpp.

Constructor & Destructor Documentation

◆ iterator()

gui2::grid::iterator::iterator ( std::vector< child >::iterator  itor)

Definition at line 441 of file grid.hpp.

Member Function Documentation

◆ operator!=()

bool gui2::grid::iterator::operator!= ( const iterator i) const

Definition at line 470 of file grid.hpp.

References itor_.

◆ operator*()

widget* gui2::grid::iterator::operator* ( )

Definition at line 460 of file grid.hpp.

◆ operator++()

iterator gui2::grid::iterator::operator++ ( )

Definition at line 445 of file grid.hpp.

◆ operator--()

iterator gui2::grid::iterator::operator-- ( )

Definition at line 450 of file grid.hpp.

◆ operator->()

widget* gui2::grid::iterator::operator-> ( )

Definition at line 455 of file grid.hpp.

◆ operator==()

bool gui2::grid::iterator::operator== ( const iterator i) const

Definition at line 465 of file grid.hpp.

References itor_.

Member Data Documentation

◆ itor_

std::vector<child>::iterator gui2::grid::iterator::itor_

Definition at line 476 of file grid.hpp.

Referenced by operator!=(), and operator==().

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