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< typename std::underlying_type< typename EA::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 32 of file enumarray.hxx.

Member Typedef Documentation

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

Definition at line 123 of file enumarray.hxx.

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

Definition at line 119 of file enumarray.hxx.

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

Definition at line 118 of file enumarray.hxx.

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

Definition at line 124 of file enumarray.hxx.

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

Definition at line 125 of file enumarray.hxx.

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

Definition at line 116 of file enumarray.hxx.

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

Definition at line 117 of file enumarray.hxx.

Constructor & Destructor Documentation

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

Definition at line 127 of file enumarray.hxx.

Member Function Documentation

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

Definition at line 131 of file enumarray.hxx.

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

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

Definition at line 130 of file enumarray.hxx.

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

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

Member Data Documentation

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

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