mCRL2
Loading...
Searching...
No Matches
mcrl2::lts::detail::simple_list< T >::iterator Class Reference

iterator class for simple_list More...

#include <simple_list.h>

Inheritance diagram for mcrl2::lts::detail::simple_list< T >::iterator:
mcrl2::lts::detail::simple_list< T >::const_iterator mcrl2::lts::detail::simple_list< T >::iterator_or_null

Public Types

typedef T value_type
 
typedef T * pointer
 
typedef T & reference
 
typedef std::ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 
- Public Types inherited from mcrl2::lts::detail::simple_list< T >::const_iterator
typedef T value_type
 
typedef T * pointer
 
typedef T & reference
 
typedef std::ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 

Public Member Functions

 iterator ()=default
 
 iterator (const iterator &other)=default
 
iteratoroperator= (const iterator &other)=default
 
iteratoroperator++ ()
 
iteratoroperator-- ()
 
T & operator* () const
 
T * operator-> () const
 
bool operator== (const const_iterator &other) const
 
bool operator!= (const const_iterator &other) const
 
- Public Member Functions inherited from mcrl2::lts::detail::simple_list< T >::const_iterator
 const_iterator ()=default
 
 const_iterator (const const_iterator &other)=default
 
const_iteratoroperator= (const const_iterator &other)=default
 
const_iteratoroperator++ ()
 
const_iteratoroperator-- ()
 
const T & operator* () const
 
const T * operator-> () const
 
bool operator== (const const_iterator &other) const
 
bool operator!= (const const_iterator &other) const
 

Protected Member Functions

 iterator (entry *const new_ptr)
 
- Protected Member Functions inherited from mcrl2::lts::detail::simple_list< T >::const_iterator
 const_iterator (const entry *const new_ptr)
 

Friends

class simple_list
 

Additional Inherited Members

- Protected Attributes inherited from mcrl2::lts::detail::simple_list< T >::const_iterator
entryptr
 

Detailed Description

template<class T>
class mcrl2::lts::detail::simple_list< T >::iterator

iterator class for simple_list

Definition at line 389 of file simple_list.h.

Member Typedef Documentation

◆ difference_type

template<class T >
typedef std::ptrdiff_t mcrl2::lts::detail::simple_list< T >::const_iterator::difference_type

Definition at line 346 of file simple_list.h.

◆ iterator_category

template<class T >
typedef std::forward_iterator_tag mcrl2::lts::detail::simple_list< T >::const_iterator::iterator_category

Definition at line 347 of file simple_list.h.

◆ pointer

template<class T >
typedef T* mcrl2::lts::detail::simple_list< T >::const_iterator::pointer

Definition at line 344 of file simple_list.h.

◆ reference

template<class T >
typedef T& mcrl2::lts::detail::simple_list< T >::const_iterator::reference

Definition at line 345 of file simple_list.h.

◆ value_type

template<class T >
typedef T mcrl2::lts::detail::simple_list< T >::const_iterator::value_type

Definition at line 343 of file simple_list.h.

Constructor & Destructor Documentation

◆ iterator() [1/3]

template<class T >
mcrl2::lts::detail::simple_list< T >::iterator::iterator ( entry *const  new_ptr)
inlineprotected

Definition at line 400 of file simple_list.h.

◆ iterator() [2/3]

template<class T >
mcrl2::lts::detail::simple_list< T >::iterator::iterator ( )
default

◆ iterator() [3/3]

template<class T >
mcrl2::lts::detail::simple_list< T >::iterator::iterator ( const iterator other)
default

Member Function Documentation

◆ operator!=()

template<class T >
bool mcrl2::lts::detail::simple_list< T >::const_iterator::operator!= ( const const_iterator other) const
inline

Definition at line 382 of file simple_list.h.

◆ operator*()

template<class T >
T & mcrl2::lts::detail::simple_list< T >::iterator::operator* ( ) const
inline

Definition at line 414 of file simple_list.h.

◆ operator++()

template<class T >
iterator & mcrl2::lts::detail::simple_list< T >::iterator::operator++ ( )
inline

Definition at line 410 of file simple_list.h.

◆ operator--()

template<class T >
iterator & mcrl2::lts::detail::simple_list< T >::iterator::operator-- ( )
inline

Definition at line 412 of file simple_list.h.

◆ operator->()

template<class T >
T * mcrl2::lts::detail::simple_list< T >::iterator::operator-> ( ) const
inline

Definition at line 419 of file simple_list.h.

◆ operator=()

template<class T >
iterator & mcrl2::lts::detail::simple_list< T >::iterator::operator= ( const iterator other)
default

◆ operator==()

template<class T >
bool mcrl2::lts::detail::simple_list< T >::const_iterator::operator== ( const const_iterator other) const
inline

Definition at line 378 of file simple_list.h.

Friends And Related Symbol Documentation

◆ simple_list

template<class T >
friend class simple_list
friend

Definition at line 402 of file simple_list.h.


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