The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
gui2::tgrid::iterator Class Reference

Iterator for the tchild items. More...

#include <grid.hpp>

Public Member Functions

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

Private Attributes

std::vector< tchild >::iterator itor_
 

Detailed Description

Iterator for the tchild items.

Definition at line 401 of file grid.hpp.

Constructor & Destructor Documentation

gui2::tgrid::iterator::iterator ( std::vector< tchild >::iterator  itor)
inline

Definition at line 405 of file grid.hpp.

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

Member Function Documentation

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

Definition at line 431 of file grid.hpp.

References itor_.

twidget* gui2::tgrid::iterator::operator* ( )
inline

Definition at line 421 of file grid.hpp.

References itor_.

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

Definition at line 409 of file grid.hpp.

References iterator(), and itor_.

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

Definition at line 413 of file grid.hpp.

References iterator(), and itor_.

twidget* gui2::tgrid::iterator::operator-> ( )
inline

Definition at line 417 of file grid.hpp.

References itor_.

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

Definition at line 426 of file grid.hpp.

References itor_.

Member Data Documentation

std::vector<tchild>::iterator gui2::tgrid::iterator::itor_
private

Definition at line 437 of file grid.hpp.

Referenced by operator!=(), operator*(), operator++(), operator--(), operator->(), and operator==().


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