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 | List of all members
vconfig::attribute_iterator Struct Reference

#include <variable.hpp>

Classes

struct  pointer_proxy
 

Public Types

typedef const config::attribute value_type
 
typedef
std::bidirectional_iterator_tag 
iterator_category
 
typedef int difference_type
 
typedef const pointer_proxy pointer
 
typedef const config::attribute reference
 
typedef
config::const_attribute_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
 

Private Attributes

Itor i_
 

Detailed Description

Definition at line 102 of file variable.hpp.

Member Typedef Documentation

Definition at line 108 of file variable.hpp.

typedef std::bidirectional_iterator_tag vconfig::attribute_iterator::iterator_category

Definition at line 107 of file variable.hpp.

Definition at line 111 of file variable.hpp.

Definition at line 109 of file variable.hpp.

Definition at line 110 of file variable.hpp.

Definition at line 104 of file variable.hpp.

Constructor & Destructor Documentation

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

Definition at line 112 of file variable.hpp.

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

Member Function Documentation

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

Definition at line 124 of file variable.hpp.

References i_.

vconfig::attribute_iterator::reference vconfig::attribute_iterator::operator* ( ) const

Definition at line 320 of file variable.cpp.

References resources::gamedata, and i_.

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

Definition at line 114 of file variable.hpp.

References i_.

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

Definition at line 115 of file variable.hpp.

References attribute_iterator(), and i_.

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

Definition at line 117 of file variable.hpp.

References i_.

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

Definition at line 118 of file variable.hpp.

References attribute_iterator(), and i_.

vconfig::attribute_iterator::pointer vconfig::attribute_iterator::operator-> ( ) const

Definition at line 329 of file variable.cpp.

References resources::gamedata, and p.

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

Definition at line 123 of file variable.hpp.

References i_.

Member Data Documentation

Itor vconfig::attribute_iterator::i_
private

Definition at line 127 of file variable.hpp.

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


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