library of assembled shared sources

http://lass.cocamware.com

lass::stde::slist< T, Alloc >::iterator Class Reference

#include <slist.h>

Collaboration diagram for lass::stde::slist< T, Alloc >::iterator:

Collaboration graph
[legend]

Public Types

typedef T value_type
typedef allocator_type::pointer pointer
typedef allocator_type::reference reference
typedef allocator_type::size_type size_type
typedef
allocator_type::difference_type 
difference_type
typedef std::forward_iterator_tag iterator_category

Public Member Functions

 iterator ()
reference operator* () const
pointer operator-> () const
iteratoroperator++ ()
iterator operator++ (int)
bool operator== (const iterator &other) const
bool operator!= (const iterator &other) const

Private Member Functions

 iterator (node_base_t *node)

Private Attributes

node_base_tnode_

Friends

class slist< T, Alloc >
class const_iterator

Detailed Description

template<typename T, class Alloc = std::allocator<T>>
class lass::stde::slist< T, Alloc >::iterator

Definition at line 92 of file slist.h.


Member Typedef Documentation

template<typename T , class Alloc = std::allocator<T>>
typedef T lass::stde::slist< T, Alloc >::iterator::value_type

Definition at line 95 of file slist.h.

template<typename T , class Alloc = std::allocator<T>>
typedef allocator_type::pointer lass::stde::slist< T, Alloc >::iterator::pointer

Definition at line 96 of file slist.h.

template<typename T , class Alloc = std::allocator<T>>
typedef allocator_type::reference lass::stde::slist< T, Alloc >::iterator::reference

Definition at line 97 of file slist.h.

template<typename T , class Alloc = std::allocator<T>>
typedef allocator_type::size_type lass::stde::slist< T, Alloc >::iterator::size_type

Definition at line 98 of file slist.h.

template<typename T , class Alloc = std::allocator<T>>
typedef allocator_type::difference_type lass::stde::slist< T, Alloc >::iterator::difference_type

Definition at line 99 of file slist.h.

template<typename T , class Alloc = std::allocator<T>>
typedef std::forward_iterator_tag lass::stde::slist< T, Alloc >::iterator::iterator_category

Definition at line 100 of file slist.h.


Constructor & Destructor Documentation

template<typename T , class Alloc = std::allocator<T>>
lass::stde::slist< T, Alloc >::iterator::iterator (  )  [inline]

Definition at line 101 of file slist.h.

template<typename T , class Alloc = std::allocator<T>>
lass::stde::slist< T, Alloc >::iterator::iterator ( node_base_t node  )  [inline, explicit, private]

Definition at line 119 of file slist.h.


Member Function Documentation

template<typename T , class Alloc = std::allocator<T>>
reference lass::stde::slist< T, Alloc >::iterator::operator* (  )  const [inline]

Definition at line 102 of file slist.h.

References LASS_ASSERT, and lass::stde::slist< T, Alloc >::iterator::node_.

template<typename T , class Alloc = std::allocator<T>>
pointer lass::stde::slist< T, Alloc >::iterator::operator-> (  )  const [inline]

Definition at line 107 of file slist.h.

References LASS_ASSERT, and lass::stde::slist< T, Alloc >::iterator::node_.

template<typename T , class Alloc = std::allocator<T>>
iterator& lass::stde::slist< T, Alloc >::iterator::operator++ (  )  [inline]

template<typename T , class Alloc = std::allocator<T>>
iterator lass::stde::slist< T, Alloc >::iterator::operator++ ( int   )  [inline]

Definition at line 113 of file slist.h.

template<typename T , class Alloc = std::allocator<T>>
bool lass::stde::slist< T, Alloc >::iterator::operator== ( const iterator other  )  const [inline]

Definition at line 114 of file slist.h.

References lass::stde::slist< T, Alloc >::iterator::node_.

template<typename T , class Alloc = std::allocator<T>>
bool lass::stde::slist< T, Alloc >::iterator::operator!= ( const iterator other  )  const [inline]

Definition at line 115 of file slist.h.


Friends And Related Function Documentation

template<typename T , class Alloc = std::allocator<T>>
friend class slist< T, Alloc > [friend]

Definition at line 117 of file slist.h.

template<typename T , class Alloc = std::allocator<T>>
friend class const_iterator [friend]

Definition at line 118 of file slist.h.


Field Documentation

template<typename T , class Alloc = std::allocator<T>>
node_base_t* lass::stde::slist< T, Alloc >::iterator::node_ [private]


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

Generated on Mon Nov 10 14:22:16 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo