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 | List of all members
config::const_attribute_iterator Struct Reference

#include <config.hpp>

Public Types

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

Public Member Functions

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

Private Attributes

Itor i_
 

Detailed Description

Definition at line 285 of file config.hpp.

Member Typedef Documentation

Definition at line 289 of file config.hpp.

typedef std::bidirectional_iterator_tag config::const_attribute_iterator::iterator_category

Definition at line 288 of file config.hpp.

typedef attribute_map::const_iterator config::const_attribute_iterator::Itor

Definition at line 292 of file config.hpp.

Definition at line 290 of file config.hpp.

Definition at line 291 of file config.hpp.

Definition at line 287 of file config.hpp.

Constructor & Destructor Documentation

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

Definition at line 293 of file config.hpp.

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

config::const_attribute_iterator::const_attribute_iterator ( attribute_iterator i)
inline

Definition at line 294 of file config.hpp.

Member Function Documentation

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

Definition at line 306 of file config.hpp.

References i_.

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

Definition at line 308 of file config.hpp.

References config::attribute_iterator::i_, and i_.

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

Definition at line 302 of file config.hpp.

References i_.

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

Definition at line 296 of file config.hpp.

References i_.

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

Definition at line 297 of file config.hpp.

References const_attribute_iterator(), and i_.

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

Definition at line 299 of file config.hpp.

References i_.

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

Definition at line 300 of file config.hpp.

References const_attribute_iterator(), and i_.

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

Definition at line 303 of file config.hpp.

References i_.

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

Definition at line 305 of file config.hpp.

References i_.

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

Definition at line 307 of file config.hpp.

References config::attribute_iterator::i_, and i_.

Member Data Documentation

Itor config::const_attribute_iterator::i_
private

Definition at line 311 of file config.hpp.

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


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