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< typename std::underlying_type< typename EA::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 30 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_iterator< EA >::difference_type

Definition at line 98 of file enumarray.hxx.

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

Definition at line 94 of file enumarray.hxx.

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

Definition at line 93 of file enumarray.hxx.

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

Definition at line 99 of file enumarray.hxx.

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

Definition at line 100 of file enumarray.hxx.

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

Definition at line 91 of file enumarray.hxx.

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

Definition at line 92 of file enumarray.hxx.

Constructor & Destructor Documentation

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

Definition at line 102 of file enumarray.hxx.

Member Function Documentation

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

Definition at line 106 of file enumarray.hxx.

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

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

Definition at line 105 of file enumarray.hxx.

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

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

Member Data Documentation

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

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