mCRL2
Loading...
Searching...
No Matches
mcrl2::data::detail::term_appl_prepend_iterator< Iterator > Class Template Reference

#include <application.h>

Public Types

using value_type = data_expression
 
using reference = const data_expression &
 
using pointer = const data_expression *
 
using difference_type = ptrdiff_t
 
using iterator_category = typename prepend_iterator_tag_convertor< traits::iterator_category >::iterator_category
 

Public Member Functions

 term_appl_prepend_iterator (Iterator it, pointer prepend=nullptr)
 
 term_appl_prepend_iterator (const term_appl_prepend_iterator &other)
 
term_appl_prepend_iteratoroperator= (const term_appl_prepend_iterator &other)=default
 
reference operator* () const
 
pointer operator-> () const
 
term_appl_prepend_iteratoroperator++ ()
 
bool operator== (const term_appl_prepend_iterator &other) const
 
bool operator!= (const term_appl_prepend_iterator &other) const
 
bool operator< (const term_appl_prepend_iterator &other) const
 
bool operator<= (const term_appl_prepend_iterator &other) const
 
bool operator> (const term_appl_prepend_iterator &other) const
 
bool operator>= (const term_appl_prepend_iterator &other) const
 

Protected Attributes

Iterator m_it
 
pointer m_prepend
 

Private Types

using traits = std::iterator_traits< int * >
 

Private Member Functions

reference operator[] (difference_type n) const
 
term_appl_prepend_iterator operator++ (int)
 
term_appl_prepend_iteratoroperator-- ()
 
term_appl_prepend_iteratoroperator-- (int)
 
term_appl_prepend_iteratoroperator+= (difference_type n)
 
term_appl_prepend_iteratoroperator-= (difference_type n)
 
term_appl_prepend_iterator operator+ (difference_type n) const
 
term_appl_prepend_iterator operator- (difference_type n) const
 
difference_type operator- (const term_appl_prepend_iterator &other) const
 
difference_type distance_to (const term_appl_prepend_iterator &other) const
 

Detailed Description

template<class Iterator>
class mcrl2::data::detail::term_appl_prepend_iterator< Iterator >

Definition at line 46 of file application.h.

Member Typedef Documentation

◆ difference_type

template<class Iterator >
using mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::difference_type = ptrdiff_t

Definition at line 59 of file application.h.

◆ iterator_category

template<class Iterator >
using mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::iterator_category = typename prepend_iterator_tag_convertor<traits::iterator_category>::iterator_category

Definition at line 63 of file application.h.

◆ pointer

template<class Iterator >
using mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::pointer = const data_expression*

Definition at line 57 of file application.h.

◆ reference

template<class Iterator >
using mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::reference = const data_expression&

Definition at line 55 of file application.h.

◆ traits

template<class Iterator >
using mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::traits = std::iterator_traits<int*>
private

Definition at line 49 of file application.h.

◆ value_type

template<class Iterator >
using mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::value_type = data_expression

Definition at line 53 of file application.h.

Constructor & Destructor Documentation

◆ term_appl_prepend_iterator() [1/2]

template<class Iterator >
mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::term_appl_prepend_iterator ( Iterator  it,
pointer  prepend = nullptr 
)
inline

Definition at line 85 of file application.h.

◆ term_appl_prepend_iterator() [2/2]

template<class Iterator >
mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::term_appl_prepend_iterator ( const term_appl_prepend_iterator< Iterator > &  other)
inline

Definition at line 91 of file application.h.

Member Function Documentation

◆ distance_to()

template<class Iterator >
difference_type mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::distance_to ( const term_appl_prepend_iterator< Iterator > &  other) const
private

◆ operator!=()

template<class Iterator >
bool mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator!= ( const term_appl_prepend_iterator< Iterator > &  other) const
inline

Definition at line 145 of file application.h.

◆ operator*()

template<class Iterator >
reference mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator* ( ) const
inline

Definition at line 104 of file application.h.

◆ operator+()

template<class Iterator >
term_appl_prepend_iterator mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator+ ( difference_type  n) const
private

◆ operator++() [1/2]

template<class Iterator >
term_appl_prepend_iterator & mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator++ ( )
inline

Definition at line 125 of file application.h.

◆ operator++() [2/2]

template<class Iterator >
term_appl_prepend_iterator mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator++ ( int  )
private

◆ operator+=()

template<class Iterator >
term_appl_prepend_iterator & mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator+= ( difference_type  n)
private

◆ operator-() [1/2]

template<class Iterator >
difference_type mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator- ( const term_appl_prepend_iterator< Iterator > &  other) const
private

◆ operator-() [2/2]

template<class Iterator >
term_appl_prepend_iterator mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator- ( difference_type  n) const
private

◆ operator--() [1/2]

template<class Iterator >
term_appl_prepend_iterator & mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator-- ( )
private

◆ operator--() [2/2]

template<class Iterator >
term_appl_prepend_iterator & mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator-- ( int  )
private

◆ operator-=()

template<class Iterator >
term_appl_prepend_iterator & mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator-= ( difference_type  n)
private

◆ operator->()

template<class Iterator >
pointer mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator-> ( ) const
inline

Definition at line 114 of file application.h.

◆ operator<()

template<class Iterator >
bool mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator< ( const term_appl_prepend_iterator< Iterator > &  other) const
inline

Definition at line 151 of file application.h.

◆ operator<=()

template<class Iterator >
bool mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator<= ( const term_appl_prepend_iterator< Iterator > &  other) const
inline

Definition at line 157 of file application.h.

◆ operator=()

template<class Iterator >
term_appl_prepend_iterator & mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator= ( const term_appl_prepend_iterator< Iterator > &  other)
default

◆ operator==()

template<class Iterator >
bool mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator== ( const term_appl_prepend_iterator< Iterator > &  other) const
inline

Definition at line 139 of file application.h.

◆ operator>()

template<class Iterator >
bool mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator> ( const term_appl_prepend_iterator< Iterator > &  other) const
inline

Definition at line 163 of file application.h.

◆ operator>=()

template<class Iterator >
bool mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator>= ( const term_appl_prepend_iterator< Iterator > &  other) const
inline

Definition at line 169 of file application.h.

◆ operator[]()

template<class Iterator >
reference mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::operator[] ( difference_type  n) const
private

Member Data Documentation

◆ m_it

template<class Iterator >
Iterator mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::m_it
protected

Definition at line 66 of file application.h.

◆ m_prepend

template<class Iterator >
pointer mcrl2::data::detail::term_appl_prepend_iterator< Iterator >::m_prepend
protected

Definition at line 67 of file application.h.


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