The Battle for Wesnoth  1.15.2+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 440 of file grid.hpp.

Constructor & Destructor Documentation

◆ iterator()

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

Definition at line 444 of file grid.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 470 of file grid.hpp.

References itor_.

◆ operator*()

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

Definition at line 460 of file grid.hpp.

◆ operator++()

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

Definition at line 448 of file grid.hpp.

◆ operator--()

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

Definition at line 452 of file grid.hpp.

◆ operator->()

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

Definition at line 456 of file grid.hpp.

◆ operator==()

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

Definition at line 465 of file grid.hpp.

References itor_.

Member Data Documentation

◆ itor_

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

Definition at line 476 of file grid.hpp.

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


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