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

#include <config.hpp>

Public Types

typedef config value_type
 
typedef
std::random_access_iterator_tag 
iterator_category
 
typedef int difference_type
 
typedef const configpointer
 
typedef const configreference
 
typedef child_list::const_iterator Itor
 
typedef const_child_iterator this_type
 

Public Member Functions

 const_child_iterator (const Itor &i)
 
 const_child_iterator (const child_iterator &i)
 
const_child_iteratoroperator++ ()
 
const_child_iterator operator++ (int)
 
const_child_iteratoroperator-- ()
 
const_child_iterator operator-- (int)
 
const configoperator* () const
 
const configoperator-> () const
 
bool operator== (const const_child_iterator &i) const
 
bool operator!= (const const_child_iterator &i) const
 
this_typeoperator+= (Itor::difference_type n)
 
this_typeoperator-= (Itor::difference_type n)
 
const configoperator[] (Itor::difference_type n) const
 

Private Attributes

Itor i_
 

Friends

bool operator< (const this_type &a, const this_type &b)
 
bool operator<= (const this_type &a, const this_type &b)
 
bool operator>= (const this_type &a, const this_type &b)
 
bool operator> (const this_type &a, const this_type &b)
 
Itor::difference_type operator- (const this_type &a, const this_type &b)
 
this_type operator- (const this_type &a, Itor::difference_type n)
 
this_type operator+ (const this_type &a, Itor::difference_type n)
 
this_type operator+ (Itor::difference_type n, const this_type &a)
 

Detailed Description

Definition at line 172 of file config.hpp.

Member Typedef Documentation

Definition at line 176 of file config.hpp.

typedef std::random_access_iterator_tag config::const_child_iterator::iterator_category

Definition at line 175 of file config.hpp.

typedef child_list::const_iterator config::const_child_iterator::Itor

Definition at line 179 of file config.hpp.

Definition at line 177 of file config.hpp.

Definition at line 178 of file config.hpp.

Definition at line 180 of file config.hpp.

Definition at line 174 of file config.hpp.

Constructor & Destructor Documentation

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

Definition at line 181 of file config.hpp.

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

config::const_child_iterator::const_child_iterator ( const child_iterator i)
inline

Definition at line 182 of file config.hpp.

Member Function Documentation

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

Definition at line 193 of file config.hpp.

References i_.

const config& config::const_child_iterator::operator* ( ) const
inline

Definition at line 189 of file config.hpp.

References i_.

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

Definition at line 184 of file config.hpp.

References i_.

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

Definition at line 185 of file config.hpp.

References const_child_iterator(), and i_.

this_type& config::const_child_iterator::operator+= ( Itor::difference_type  n)
inline

Definition at line 200 of file config.hpp.

References i_.

const_child_iterator& config::const_child_iterator::operator-- ( )
inline

Definition at line 186 of file config.hpp.

References i_.

const_child_iterator config::const_child_iterator::operator-- ( int  )
inline

Definition at line 187 of file config.hpp.

References const_child_iterator(), and i_.

this_type& config::const_child_iterator::operator-= ( Itor::difference_type  n)
inline

Definition at line 201 of file config.hpp.

References i_.

const config* config::const_child_iterator::operator-> ( ) const
inline

Definition at line 190 of file config.hpp.

References i_.

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

Definition at line 192 of file config.hpp.

References i_.

const config& config::const_child_iterator::operator[] ( Itor::difference_type  n) const
inline

Definition at line 203 of file config.hpp.

References i_.

Friends And Related Function Documentation

this_type operator+ ( const this_type a,
Itor::difference_type  n 
)
friend

Definition at line 206 of file config.hpp.

this_type operator+ ( Itor::difference_type  n,
const this_type a 
)
friend

Definition at line 207 of file config.hpp.

Itor::difference_type operator- ( const this_type a,
const this_type b 
)
friend

Definition at line 204 of file config.hpp.

this_type operator- ( const this_type a,
Itor::difference_type  n 
)
friend

Definition at line 205 of file config.hpp.

bool operator< ( const this_type a,
const this_type b 
)
friend

Definition at line 195 of file config.hpp.

bool operator<= ( const this_type a,
const this_type b 
)
friend

Definition at line 196 of file config.hpp.

bool operator> ( const this_type a,
const this_type b 
)
friend

Definition at line 198 of file config.hpp.

bool operator>= ( const this_type a,
const this_type b 
)
friend

Definition at line 197 of file config.hpp.

Member Data Documentation

Itor config::const_child_iterator::i_
private

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