The Battle for Wesnoth  1.13.10+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::const_all_children_iterator Struct Reference

#include <config.hpp>

Classes

struct  arrow_helper
 

Public Types

typedef const any_child value_type
 
typedef
std::random_access_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
 
typedef const_all_children_iterator this_type
 

Public Member Functions

 const_all_children_iterator (const Itor &i)
 
 const_all_children_iterator (all_children_iterator &i)
 
const_all_children_iteratoroperator++ ()
 
const_all_children_iterator operator++ (int)
 
this_typeoperator-- ()
 
this_type operator-- (int)
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const const_all_children_iterator &i) const
 
bool operator!= (const const_all_children_iterator &i) const
 
bool operator== (const all_children_iterator &i) const
 
bool operator!= (const all_children_iterator &i) const
 
this_typeoperator+= (difference_type n)
 
this_typeoperator-= (difference_type n)
 
reference operator[] (difference_type n) const
 

Private Attributes

Itor i_
 

Friends

class config
 
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)
 
difference_type operator- (const this_type &a, const this_type &b)
 
this_type operator- (const this_type &a, difference_type n)
 
this_type operator+ (const this_type &a, difference_type n)
 
this_type operator+ (difference_type n, const this_type &a)
 

Detailed Description

Definition at line 606 of file config.hpp.

Member Typedef Documentation

Definition at line 617 of file config.hpp.

typedef std::random_access_iterator_tag config::const_all_children_iterator::iterator_category

Definition at line 616 of file config.hpp.

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

Definition at line 620 of file config.hpp.

Definition at line 618 of file config.hpp.

Definition at line 619 of file config.hpp.

Definition at line 621 of file config.hpp.

Definition at line 615 of file config.hpp.

Constructor & Destructor Documentation

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

Definition at line 622 of file config.hpp.

Referenced by operator++().

config::const_all_children_iterator::const_all_children_iterator ( all_children_iterator i)
inline

Definition at line 623 of file config.hpp.

Member Function Documentation

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

Definition at line 634 of file config.hpp.

References i_.

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

Definition at line 636 of file config.hpp.

References config::all_children_iterator::i_, and i_.

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

Definition at line 762 of file config.cpp.

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

Definition at line 625 of file config.hpp.

References i_.

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

Definition at line 626 of file config.hpp.

References const_all_children_iterator(), and i_.

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

Definition at line 643 of file config.hpp.

References i_, and n.

this_type& config::const_all_children_iterator::operator-- ( )
inline

Definition at line 627 of file config.hpp.

References i_.

this_type config::const_all_children_iterator::operator-- ( int  )
inline

Definition at line 628 of file config.hpp.

References i_.

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

Definition at line 644 of file config.hpp.

References i_, and n.

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

Definition at line 631 of file config.hpp.

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

Definition at line 633 of file config.hpp.

References i_.

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

Definition at line 635 of file config.hpp.

References config::all_children_iterator::i_, and i_.

reference config::const_all_children_iterator::operator[] ( difference_type  n) const
inline

Definition at line 646 of file config.hpp.

References i_.

Friends And Related Function Documentation

friend class config
friend

Definition at line 655 of file config.hpp.

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

Definition at line 649 of file config.hpp.

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

Definition at line 650 of file config.hpp.

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

Definition at line 647 of file config.hpp.

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

Definition at line 648 of file config.hpp.

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

Definition at line 638 of file config.hpp.

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

Definition at line 639 of file config.hpp.

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

Definition at line 641 of file config.hpp.

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

Definition at line 640 of file config.hpp.

Member Data Documentation

Itor config::const_all_children_iterator::i_
private

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