LibreOffice Module o3tl (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
o3tl::enumarray_const_iterator< EA > Class Template Reference

#include <enumarray.hxx>

Public Types

typedef enumarray_const_iterator< EA > self_type
 
typedef EA::value_type const value_type
 
typedef EA::key_type key_type
 
typedef std::bidirectional_iterator_tag iterator_category
 
typedef std::make_signed< typenamestd::underlying_type< typenameEA::key_type >::type >::type difference_type
 
typedef EA::value_type const * pointer
 
typedef EA::value_type const & reference
 

Public Member Functions

 enumarray_const_iterator (EA const &b, size_t start_pos)
 
value_typeoperator* () const
 
value_typeoperator-> () const
 
self_typeoperator++ ()
 
bool operator!= (self_type const &other) const
 
bool operator== (self_type const &other) const
 

Private Attributes

EA const * m_buf
 
size_t m_pos
 

Detailed Description

template<typename EA>
class o3tl::enumarray_const_iterator< EA >

Definition at line 129 of file enumarray.hxx.

Member Typedef Documentation

◆ difference_type

template<typename EA >
typedef std::make_signed<typenamestd::underlying_type<typenameEA::key_type>::type>::type o3tl::enumarray_const_iterator< EA >::difference_type

Definition at line 140 of file enumarray.hxx.

◆ iterator_category

template<typename EA >
typedef std::bidirectional_iterator_tag o3tl::enumarray_const_iterator< EA >::iterator_category

Definition at line 136 of file enumarray.hxx.

◆ key_type

template<typename EA >
typedef EA::key_type o3tl::enumarray_const_iterator< EA >::key_type

Definition at line 135 of file enumarray.hxx.

◆ pointer

template<typename EA >
typedef EA::value_type const* o3tl::enumarray_const_iterator< EA >::pointer

Definition at line 141 of file enumarray.hxx.

◆ reference

template<typename EA >
typedef EA::value_type const& o3tl::enumarray_const_iterator< EA >::reference

Definition at line 142 of file enumarray.hxx.

◆ self_type

template<typename EA >
typedef enumarray_const_iterator<EA> o3tl::enumarray_const_iterator< EA >::self_type

Definition at line 133 of file enumarray.hxx.

◆ value_type

template<typename EA >
typedef EA::value_type const o3tl::enumarray_const_iterator< EA >::value_type

Definition at line 134 of file enumarray.hxx.

Constructor & Destructor Documentation

◆ enumarray_const_iterator()

template<typename EA >
o3tl::enumarray_const_iterator< EA >::enumarray_const_iterator ( EA const &  b,
size_t  start_pos 
)
inline

Definition at line 144 of file enumarray.hxx.

Member Function Documentation

◆ operator!=()

template<typename EA >
bool o3tl::enumarray_const_iterator< EA >::operator!= ( self_type const &  other) const
inline

◆ operator*()

template<typename EA >
value_type & o3tl::enumarray_const_iterator< EA >::operator* ( ) const
inline

◆ operator++()

template<typename EA >
self_type & o3tl::enumarray_const_iterator< EA >::operator++ ( )
inline

Definition at line 148 of file enumarray.hxx.

References o3tl::enumarray_const_iterator< EA >::m_pos.

◆ operator->()

template<typename EA >
value_type * o3tl::enumarray_const_iterator< EA >::operator-> ( ) const
inline

Definition at line 147 of file enumarray.hxx.

References o3tl::enumarray_const_iterator< EA >::operator*().

◆ operator==()

template<typename EA >
bool o3tl::enumarray_const_iterator< EA >::operator== ( self_type const &  other) const
inline

Member Data Documentation

◆ m_buf

template<typename EA >
EA const* o3tl::enumarray_const_iterator< EA >::m_buf
private

◆ m_pos

template<typename EA >
size_t o3tl::enumarray_const_iterator< EA >::m_pos
private

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