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

constant iterator class for simple_list More...

#include <simple_list.h>

Inheritance diagram for mcrl2::lts::detail::simple_list< T >::const_iterator:
mcrl2::lts::detail::simple_list< T >::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 Member Functions

 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

 const_iterator (const entry *const new_ptr)
 

Protected Attributes

entryptr
 

Friends

class simple_list
 

Detailed Description

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

constant iterator class for simple_list

Definition at line 340 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

◆ const_iterator() [1/3]

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

Definition at line 351 of file simple_list.h.

◆ const_iterator() [2/3]

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

◆ const_iterator() [3/3]

template<class T >
mcrl2::lts::detail::simple_list< T >::const_iterator::const_iterator ( const 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 >
const T & mcrl2::lts::detail::simple_list< T >::const_iterator::operator* ( ) const
inline

Definition at line 370 of file simple_list.h.

◆ operator++()

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

Definition at line 360 of file simple_list.h.

◆ operator--()

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

Definition at line 365 of file simple_list.h.

◆ operator->()

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

Definition at line 374 of file simple_list.h.

◆ operator=()

template<class T >
const_iterator & mcrl2::lts::detail::simple_list< T >::const_iterator::operator= ( const 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 355 of file simple_list.h.

Member Data Documentation

◆ ptr

template<class T >
entry* mcrl2::lts::detail::simple_list< T >::const_iterator::ptr
protected

Definition at line 349 of file simple_list.h.


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