#include <unit_map.hpp>
Public Member Functions | |
unit_xy_iterator (const unit_iterator &i) | |
unit_xy_iterator () | |
unit_xy_iterator (const unit_xy_iterator &i) | |
unit_xy_iterator (umap::iterator i, unit_map *map, gamemap::location loc) | |
std::pair< gamemap::location, unit > * | operator-> () const |
std::pair< gamemap::location, unit > & | operator* () const |
unit_xy_iterator | operator++ () |
unit_xy_iterator | operator++ (int) |
bool | operator== (const unit_xy_iterator &that) const |
bool | operator!= (const unit_xy_iterator &that) const |
bool | valid () const |
Private Attributes | |
iterator_counter | counter |
umap::iterator | i_ |
unit_map * | map_ |
gamemap::location | loc_ |
Friends | |
struct | const_unit_xy_iterator |
struct | xy_accessor |
struct | const_xy_accessor |
Definition at line 181 of file unit_map.hpp.
unit_map::unit_xy_iterator::unit_xy_iterator | ( | const unit_iterator & | i | ) |
unit_map::unit_xy_iterator::unit_xy_iterator | ( | ) | [inline] |
unit_map::unit_xy_iterator::unit_xy_iterator | ( | const unit_xy_iterator & | i | ) | [inline] |
unit_map::unit_xy_iterator::unit_xy_iterator | ( | umap::iterator | i, | |
unit_map * | map, | |||
gamemap::location | loc | |||
) | [inline] |
Definition at line 190 of file unit_map.hpp.
std::pair< gamemap::location, unit > * unit_map::unit_xy_iterator::operator-> | ( | ) | const |
std::pair< gamemap::location, unit > & unit_map::unit_xy_iterator::operator* | ( | ) | const |
unit_map::unit_xy_iterator unit_map::unit_xy_iterator::operator++ | ( | ) |
Definition at line 165 of file unit_map.cpp.
References i_, loc_, unit_map::map_, map_, and valid().
unit_map::unit_xy_iterator unit_map::unit_xy_iterator::operator++ | ( | int | ) |
Definition at line 181 of file unit_map.cpp.
References i_, loc_, unit_map::map_, map_, unit_xy_iterator(), and valid().
bool unit_map::unit_xy_iterator::operator== | ( | const unit_xy_iterator & | that | ) | const [inline] |
bool unit_map::unit_xy_iterator::operator!= | ( | const unit_xy_iterator & | that | ) | const [inline] |
bool unit_map::unit_xy_iterator::valid | ( | ) | const |
Definition at line 199 of file unit_map.cpp.
References i_, loc_, unit_map::map_, and map_.
Referenced by unit_map::const_unit_xy_iterator::const_unit_xy_iterator(), unit_map::const_xy_accessor::const_xy_accessor(), operator*(), operator++(), operator->(), unit_xy_iterator(), and unit_map::xy_accessor::xy_accessor().
friend struct const_unit_xy_iterator [friend] |
Definition at line 207 of file unit_map.hpp.
friend struct xy_accessor [friend] |
Definition at line 208 of file unit_map.hpp.
friend struct const_xy_accessor [friend] |
Definition at line 209 of file unit_map.hpp.
Definition at line 212 of file unit_map.hpp.
umap::iterator unit_map::unit_xy_iterator::i_ [private] |
Definition at line 214 of file unit_map.hpp.
Referenced by operator!=(), operator*(), operator++(), operator->(), operator==(), and valid().
unit_map* unit_map::unit_xy_iterator::map_ [private] |
Definition at line 217 of file unit_map.hpp.
Referenced by unit_map::const_unit_xy_iterator::const_unit_xy_iterator(), operator++(), unit_xy_iterator(), and valid().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |