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

#include <enumarray.hxx>

Public Types

typedef enumarray_iterator< EA > self_type
 
typedef EA::value_type 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 * pointer
 
typedef EA::value_type & reference
 

Public Member Functions

 enumarray_iterator (EA &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 * m_buf
 
size_t m_pos
 

Detailed Description

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

Definition at line 104 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_iterator< EA >::difference_type

Definition at line 115 of file enumarray.hxx.

◆ iterator_category

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

Definition at line 111 of file enumarray.hxx.

◆ key_type

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

Definition at line 110 of file enumarray.hxx.

◆ pointer

template<typename EA >
typedef EA::value_type* o3tl::enumarray_iterator< EA >::pointer

Definition at line 116 of file enumarray.hxx.

◆ reference

template<typename EA >
typedef EA::value_type& o3tl::enumarray_iterator< EA >::reference

Definition at line 117 of file enumarray.hxx.

◆ self_type

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

Definition at line 108 of file enumarray.hxx.

◆ value_type

template<typename EA >
typedef EA::value_type o3tl::enumarray_iterator< EA >::value_type

Definition at line 109 of file enumarray.hxx.

Constructor & Destructor Documentation

◆ enumarray_iterator()

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

Definition at line 119 of file enumarray.hxx.

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator++()

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

Definition at line 123 of file enumarray.hxx.

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

◆ operator->()

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

Definition at line 122 of file enumarray.hxx.

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

◆ operator==()

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

Member Data Documentation

◆ m_buf

template<typename EA >
EA* o3tl::enumarray_iterator< EA >::m_buf
private

◆ m_pos

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

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