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

#include <config.hpp>

Public Types

typedef attribute value_type
 
typedef
std::bidirectional_iterator_tag 
iterator_category
 
typedef int difference_type
 
typedef attributepointer
 
typedef attributereference
 
typedef attribute_map::iterator Itor
 

Public Member Functions

 attribute_iterator (const Itor &i)
 
attribute_iteratoroperator++ ()
 
attribute_iterator operator++ (int)
 
attribute_iteratoroperator-- ()
 
attribute_iterator operator-- (int)
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const attribute_iterator &i) const
 
bool operator!= (const attribute_iterator &i) const
 
bool operator== (const const_attribute_iterator &i) const
 
bool operator!= (const const_attribute_iterator &i) const
 

Private Attributes

Itor i_
 

Friends

struct config::const_attribute_iterator
 

Detailed Description

Definition at line 257 of file config.hpp.

Member Typedef Documentation

Definition at line 261 of file config.hpp.

typedef std::bidirectional_iterator_tag config::attribute_iterator::iterator_category

Definition at line 260 of file config.hpp.

typedef attribute_map::iterator config::attribute_iterator::Itor

Definition at line 264 of file config.hpp.

Definition at line 262 of file config.hpp.

Definition at line 263 of file config.hpp.

Definition at line 259 of file config.hpp.

Constructor & Destructor Documentation

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

Definition at line 265 of file config.hpp.

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

Member Function Documentation

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

Definition at line 276 of file config.hpp.

References i_.

bool config::attribute_iterator::operator!= ( const const_attribute_iterator i) const
inline

Definition at line 278 of file config.hpp.

reference config::attribute_iterator::operator* ( ) const
inline

Definition at line 272 of file config.hpp.

References i_.

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

Definition at line 267 of file config.hpp.

References i_.

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

Definition at line 268 of file config.hpp.

References attribute_iterator(), and i_.

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

Definition at line 269 of file config.hpp.

References i_.

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

Definition at line 270 of file config.hpp.

References attribute_iterator(), and i_.

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

Definition at line 273 of file config.hpp.

References i_.

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

Definition at line 275 of file config.hpp.

References i_.

bool config::attribute_iterator::operator== ( const const_attribute_iterator i) const
inline

Definition at line 277 of file config.hpp.

Friends And Related Function Documentation

friend struct config::const_attribute_iterator
friend

Definition at line 281 of file config.hpp.

Member Data Documentation

Itor config::attribute_iterator::i_
private

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