Public Types | Public Member Functions | Protected Attributes
ash::hashlist::iterator Struct Reference

The type used to iterate through the contents of the container. More...

#include <ash/impl/hashlist.h>

Inherits ash::list_iterator< List, Mod >.

List of all members.

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.

 iterator ()
 Default constructor.
 iterator (iterator_base const &itr)
 Conversion constructor - base class.

Detailed Description

The type used to iterate through the contents of the container.



Concept: ash::hash_list


Constructor & Destructor Documentation

Default constructor.

ash::hashlist::iterator::iterator ( iterator_base const &  itr) [inline]

Conversion constructor - base class.


Member Function Documentation

template<class List , template< typename > class Mod>
node_ptr ash::list_iterator< List, Mod >::_get_node ( ) const [inline, inherited]
Todo:
Loki: Make protected + friend.
template<class List , template< typename > class Mod>
template<template< class > class M>
bool ash::list_iterator< List, Mod >::operator!= ( list_iterator< List, M > const &  itr) const [inline, inherited]

Inequality operator.

template<class List , template< typename > class Mod>
list_iterator& ash::list_iterator< List, Mod >::operator++ ( ) [inline, inherited]

Pre-increment.

template<class List , template< typename > class Mod>
list_iterator ash::list_iterator< List, Mod >::operator++ ( int  ) [inline, inherited]

Post-increment.

template<class List , template< typename > class Mod>
list_iterator& ash::list_iterator< List, Mod >::operator-- ( ) [inline, inherited]

Pre-decrement.

template<class List , template< typename > class Mod>
list_iterator ash::list_iterator< List, Mod >::operator-- ( int  ) [inline, inherited]

Post-decrement.

template<class List , template< typename > class Mod>
template<template< class > class M>
bool ash::list_iterator< List, Mod >::operator== ( list_iterator< List, M > const &  itr) const [inline, inherited]

Equality operator.


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


© 2012   AshTL
Licensed under  AGPLv3
Hosted by  Get AshTL at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated by  doxygen 1.7.4