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

#include <config.hpp>

Public Types

typedef attribute value_type
 
typedef std::forward_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_iteratoroperator++ ()
 
const_attribute_iterator operator++ (int)
 
const attributeoperator* () const
 
const attributeoperator-> () const
 
bool operator== (const const_attribute_iterator &i) const
 
bool operator!= (const const_attribute_iterator &i) const
 

Private Attributes

Itor i_
 

Detailed Description

Definition at line 395 of file config.hpp.

Member Typedef Documentation

Definition at line 399 of file config.hpp.

typedef std::forward_iterator_tag config::const_attribute_iterator::iterator_category

Definition at line 398 of file config.hpp.

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

Definition at line 402 of file config.hpp.

Definition at line 400 of file config.hpp.

Definition at line 401 of file config.hpp.

Definition at line 397 of file config.hpp.

Constructor & Destructor Documentation

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

Definition at line 403 of file config.hpp.

Referenced by operator++().

Member Function Documentation

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

Definition at line 412 of file config.hpp.

References i_.

const attribute& config::const_attribute_iterator::operator* ( ) const
inline

Definition at line 408 of file config.hpp.

References i_.

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

Definition at line 405 of file config.hpp.

References i_.

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

Definition at line 406 of file config.hpp.

References const_attribute_iterator(), and i_.

const attribute* config::const_attribute_iterator::operator-> ( ) const
inline

Definition at line 409 of file config.hpp.

References i_.

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

Definition at line 411 of file config.hpp.

References i_.

Member Data Documentation

Itor config::const_attribute_iterator::i_
private

Definition at line 415 of file config.hpp.

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


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