The const type used to iterate through the contents of the container. More...
#include <ash/impl/hashlist.h>
Inherits ash::list_iterator< List, Mod >.
Public Types | |
typedef List::node_type | node_type |
typedef Mod< node_type * >::type | node_ptr |
typedef List | container_type |
Iterator Traits | |
typedef List::value_type | value_type |
typedef Mod< value_type * >::type | pointer |
typedef Mod< value_type & >::type | reference |
typedef List::size_type | size_type |
typedef List::difference_type | difference_type |
typedef std::bidirectional_iterator_tag | iterator_category |
Public Member Functions | |
node_ptr | _get_node () const |
Comparison Operators | |
Templated so we can compare const and mutable versions. | |
template<template< class > class M> | |
bool | operator== (list_iterator< List, M > const &itr) const |
Equality operator. | |
template<template< class > class M> | |
bool | operator!= (list_iterator< List, M > const &itr) const |
Inequality operator. | |
Iteration Operators | |
list_iterator & | operator++ () |
Pre-increment. | |
list_iterator | operator++ (int) |
Post-increment. | |
list_iterator & | operator-- () |
Pre-decrement. | |
list_iterator | operator-- (int) |
Post-decrement. | |
Dereference Operators | |
reference | operator* () const |
pointer | operator-> () const |
Protected Attributes | |
node_ptr | _node |
Constructors/Destructors | |
We use the default copy constructor. We use the default destructor. | |
const_iterator () | |
Default constructor. | |
const_iterator (const_iterator_base const &itr) | |
Conversion constructor - base class. | |
const_iterator (iterator_base const &itr) | |
Conversion constructor - iterator. |
The const type used to iterate through the contents of the container.
Concept: ash::hash_list
ash::hashlist::const_iterator::const_iterator | ( | ) | [inline] |
Default constructor.
ash::hashlist::const_iterator::const_iterator | ( | const_iterator_base const & | itr | ) | [inline] |
Conversion constructor - base class.
ash::hashlist::const_iterator::const_iterator | ( | iterator_base const & | itr | ) | [inline] |
Conversion constructor - iterator.
node_ptr ash::list_iterator< List, Mod >::_get_node | ( | ) | const [inline, inherited] |
bool ash::list_iterator< List, Mod >::operator!= | ( | list_iterator< List, M > const & | itr | ) | const [inline, inherited] |
Inequality operator.
list_iterator& ash::list_iterator< List, Mod >::operator++ | ( | ) | [inline, inherited] |
Pre-increment.
list_iterator ash::list_iterator< List, Mod >::operator++ | ( | int | ) | [inline, inherited] |
Post-increment.
list_iterator& ash::list_iterator< List, Mod >::operator-- | ( | ) | [inline, inherited] |
Pre-decrement.
list_iterator ash::list_iterator< List, Mod >::operator-- | ( | int | ) | [inline, inherited] |
Post-decrement.
bool ash::list_iterator< List, Mod >::operator== | ( | list_iterator< List, M > const & | itr | ) | const [inline, inherited] |
Equality operator.
© 2012 | Licensed under | Hosted by | Generated by 1.7.4 |