The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
utils::smart_list< Data >::const_iterator Struct Reference

#include <smart_list.hpp>

Inheritance diagram for utils::smart_list< Data >::const_iterator:
Inheritance graph

Public Member Functions

 const_iterator ()
 Default constructor. More...
 
 const_iterator (node_t *ptr)
 Initialized constructor. More...
 
 const_iterator (const const_iterator &that)
 Copy constructor. More...
 
 const_iterator (const iterator_base< Data, false > &that)
 Conversion from iterator. More...
 
 const_iterator (const iterator_base< const Data, true > &that)
 Conversion from const_reverse_iterator. More...
 
- Public Member Functions inherited from utils::smart_list< Data >::iterator_base< const Data, false >
 ~iterator_base ()
 Destructor (Not virtual, since the derived classes are mere shells.) More...
 
iterator_baseoperator= (const iterator_base &that)
 
bool operator== (const iterator_base &that) const
 
bool operator!= (const iterator_base &that) const
 
reference operator* () const
 
pointer operator-> () const
 
iterator_baseoperator++ ()
 
iterator_base operator++ (int)
 
iterator_baseoperator-- ()
 
iterator_base operator-- (int)
 
bool derefable () const
 Test for being in a list, rather than past-the-end (or unassigned). More...
 

Additional Inherited Members

- Public Types inherited from utils::smart_list< Data >::iterator_base< const Data, false >
typedef const Data value_type
 
typedef value_typepointer
 
typedef value_typereference
 
typedef
std::bidirectional_iterator_tag 
iterator_category
 
typedef ptrdiff_t difference_type
 
- Protected Member Functions inherited from utils::smart_list< Data >::iterator_base< const Data, false >
 iterator_base ()
 Default constructor. More...
 
 iterator_base (node_t *ptr)
 Initialized constructor. More...
 
 iterator_base (const iterator_base< V, R > &that)
 Conversion constructors. More...
 
 iterator_base (const iterator_base &that)
 Copy constructor (the default overrides the conversion template). More...
 

Detailed Description

template<class Data>
struct utils::smart_list< Data >::const_iterator

Definition at line 200 of file smart_list.hpp.

Constructor & Destructor Documentation

template<class Data>
utils::smart_list< Data >::const_iterator::const_iterator ( )
inline

Default constructor.

Definition at line 202 of file smart_list.hpp.

template<class Data>
utils::smart_list< Data >::const_iterator::const_iterator ( node_t ptr)
inlineexplicit

Initialized constructor.

Definition at line 204 of file smart_list.hpp.

template<class Data>
utils::smart_list< Data >::const_iterator::const_iterator ( const const_iterator that)
inline

Copy constructor.

Definition at line 206 of file smart_list.hpp.

template<class Data>
utils::smart_list< Data >::const_iterator::const_iterator ( const iterator_base< Data, false > &  that)
inline

Conversion from iterator.

Definition at line 208 of file smart_list.hpp.

template<class Data>
utils::smart_list< Data >::const_iterator::const_iterator ( const iterator_base< const Data, true > &  that)
inlineexplicit

Conversion from const_reverse_iterator.

Definition at line 210 of file smart_list.hpp.


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