#include <config.hpp>
Public Types | |
typedef std::pair< const std::string *, const config * > | value_type |
typedef std::forward_iterator_tag | iterator_category |
typedef int | difference_type |
typedef std::auto_ptr< value_type > | pointer |
typedef value_type & | reference |
typedef std::vector< child_pos > ::const_iterator | Itor |
Public Member Functions | |
all_children_iterator (Itor i=Itor()) | |
all_children_iterator & | operator++ () |
all_children_iterator | operator++ (int) |
value_type | operator* () const |
pointer | operator-> () const |
const std::string & | get_key () const |
size_t | get_index () const |
const config & | get_child () const |
bool | operator== (all_children_iterator i) const |
bool | operator!= (all_children_iterator i) const |
Private Attributes | |
Itor | i_ |
Definition at line 112 of file config.hpp.
typedef std::pair<const std::string*,const config*> config::all_children_iterator::value_type |
Definition at line 113 of file config.hpp.
typedef std::forward_iterator_tag config::all_children_iterator::iterator_category |
Definition at line 114 of file config.hpp.
typedef int config::all_children_iterator::difference_type |
Definition at line 115 of file config.hpp.
typedef std::auto_ptr<value_type> config::all_children_iterator::pointer |
Definition at line 116 of file config.hpp.
Definition at line 117 of file config.hpp.
typedef std::vector<child_pos>::const_iterator config::all_children_iterator::Itor |
Definition at line 118 of file config.hpp.
Definition at line 369 of file config.cpp.
config::all_children_iterator & config::all_children_iterator::operator++ | ( | ) |
config::all_children_iterator config::all_children_iterator::operator++ | ( | int | ) |
std::pair< const std::string *, const config * > config::all_children_iterator::operator* | ( | ) | const |
config::all_children_iterator::pointer config::all_children_iterator::operator-> | ( | ) | const |
const std::string & config::all_children_iterator::get_key | ( | ) | const |
Definition at line 395 of file config.cpp.
References i_.
Referenced by unit::add_modification(), config::erase(), vconfig::all_children_iterator::get_child(), vconfig::all_children_iterator::get_key(), and vconfig::all_children_iterator::operator++().
size_t config::all_children_iterator::get_index | ( | ) | const |
Definition at line 405 of file config.cpp.
References i_.
Referenced by config::erase(), and vconfig::all_children_iterator::get_index().
const config & config::all_children_iterator::get_child | ( | ) | const |
Definition at line 400 of file config.cpp.
References i_.
Referenced by unit::add_modification(), vconfig::all_children_iterator::get_child(), vconfig::all_children_iterator::get_key(), vconfig::all_children_iterator::operator++(), and unit::remove_ability_by_id().
bool config::all_children_iterator::operator== | ( | all_children_iterator | i | ) | const |
bool config::all_children_iterator::operator!= | ( | all_children_iterator | i | ) | const |
Itor config::all_children_iterator::i_ [private] |
Definition at line 135 of file config.hpp.
Referenced by get_child(), get_index(), get_key(), operator!=(), operator*(), operator++(), operator->(), and operator==().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |