The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
config::all_children_iterator Struct Reference

#include <config.hpp>

Classes

struct  arrow_helper
 

Public Types

typedef any_child value_type
 
typedef std::forward_iterator_tag iterator_category
 
typedef int difference_type
 
typedef const arrow_helper pointer
 
typedef const any_child reference
 
typedef std::vector< child_pos >
::const_iterator 
Itor
 

Public Member Functions

 all_children_iterator (const Itor &i)
 
all_children_iteratoroperator++ ()
 
all_children_iterator operator++ (int)
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const all_children_iterator &i) const
 
bool operator!= (const all_children_iterator &i) const
 

Private Attributes

Itor i_
 

Friends

class config
 

Detailed Description

Definition at line 633 of file config.hpp.

Member Typedef Documentation

Definition at line 644 of file config.hpp.

typedef std::forward_iterator_tag config::all_children_iterator::iterator_category

Definition at line 643 of file config.hpp.

typedef std::vector<child_pos>::const_iterator config::all_children_iterator::Itor

Definition at line 647 of file config.hpp.

Definition at line 645 of file config.hpp.

Definition at line 646 of file config.hpp.

Definition at line 642 of file config.hpp.

Constructor & Destructor Documentation

config::all_children_iterator::all_children_iterator ( const Itor i)
inlineexplicit

Definition at line 648 of file config.hpp.

Referenced by operator++().

Member Function Documentation

bool config::all_children_iterator::operator!= ( const all_children_iterator i) const
inline

Definition at line 657 of file config.hpp.

References i_.

config::all_children_iterator::reference config::all_children_iterator::operator* ( ) const

Definition at line 1112 of file config.cpp.

References i_.

all_children_iterator& config::all_children_iterator::operator++ ( )
inline

Definition at line 650 of file config.hpp.

References i_.

all_children_iterator config::all_children_iterator::operator++ ( int  )
inline

Definition at line 651 of file config.hpp.

References all_children_iterator(), and i_.

pointer config::all_children_iterator::operator-> ( ) const
inline

Definition at line 654 of file config.hpp.

bool config::all_children_iterator::operator== ( const all_children_iterator i) const
inline

Definition at line 656 of file config.hpp.

References i_.

Friends And Related Function Documentation

friend class config
friend

Definition at line 662 of file config.hpp.

Member Data Documentation

Itor config::all_children_iterator::i_
private

Definition at line 660 of file config.hpp.

Referenced by config::erase(), operator!=(), operator*(), operator++(), and operator==().


The documentation for this struct was generated from the following files: