Public Types | Public Member Functions | Private Attributes | Friends

config::child_iterator Struct Reference

#include <config.hpp>

Collaboration diagram for config::child_iterator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef config value_type
typedef std::forward_iterator_tag iterator_category
typedef int difference_type
typedef configpointer
typedef configreference
typedef child_list::iterator Itor

Public Member Functions

 child_iterator (const Itor &i)
child_iteratoroperator++ ()
child_iterator operator++ (int)
child_iteratoroperator-- ()
child_iterator operator-- (int)
configoperator* () const
configoperator-> () const
bool operator== (const child_iterator &i) const
bool operator!= (const child_iterator &i) const

Private Attributes

Itor i_

Friends

struct const_child_iterator

Detailed Description

Definition at line 113 of file config.hpp.


Member Typedef Documentation

Definition at line 117 of file config.hpp.

typedef std::forward_iterator_tag config::child_iterator::iterator_category

Definition at line 116 of file config.hpp.

typedef child_list::iterator config::child_iterator::Itor

Definition at line 120 of file config.hpp.

Definition at line 118 of file config.hpp.

Definition at line 119 of file config.hpp.

Definition at line 115 of file config.hpp.


Constructor & Destructor Documentation

config::child_iterator::child_iterator ( const Itor i  )  [inline, explicit]

Definition at line 121 of file config.hpp.

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

Here is the caller graph for this function:


Member Function Documentation

bool config::child_iterator::operator!= ( const child_iterator i  )  const [inline]

Definition at line 132 of file config.hpp.

References i_.

config& config::child_iterator::operator* (  )  const [inline]

Definition at line 128 of file config.hpp.

References i_.

child_iterator& config::child_iterator::operator++ (  )  [inline]

Definition at line 123 of file config.hpp.

References i_.

child_iterator config::child_iterator::operator++ ( int   )  [inline]

Definition at line 124 of file config.hpp.

References child_iterator(), and i_.

Here is the call graph for this function:

child_iterator config::child_iterator::operator-- ( int   )  [inline]

Definition at line 126 of file config.hpp.

References child_iterator(), and i_.

Here is the call graph for this function:

child_iterator& config::child_iterator::operator-- (  )  [inline]

Definition at line 125 of file config.hpp.

References i_.

config* config::child_iterator::operator-> (  )  const [inline]

Definition at line 129 of file config.hpp.

References i_.

bool config::child_iterator::operator== ( const child_iterator i  )  const [inline]

Definition at line 131 of file config.hpp.

References i_.


Friends And Related Function Documentation

friend struct const_child_iterator [friend]

Definition at line 136 of file config.hpp.


Member Data Documentation

Definition at line 135 of file config.hpp.

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


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:54 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs