The Battle for Wesnoth  1.19.4+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)
inline

Definition at line 441 of file grid.hpp.

Referenced by operator++(), and operator--().

Member Function Documentation

◆ operator!=()

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

Definition at line 470 of file grid.hpp.

References i, and itor_.

◆ operator*()

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

Definition at line 460 of file grid.hpp.

References itor_.

◆ operator++()

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

Definition at line 445 of file grid.hpp.

References iterator(), and itor_.

◆ operator--()

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

Definition at line 450 of file grid.hpp.

References iterator(), and itor_.

◆ operator->()

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

Definition at line 455 of file grid.hpp.

References itor_.

◆ operator==()

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

Definition at line 465 of file grid.hpp.

References i, and 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!=(), operator*(), operator++(), operator--(), operator->(), and operator==().


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