Public Types | |
typedef std::remove_const< T >::type | value_type |
Type for the list elements. More... | |
typedef value_type * | pointer |
Type for a pointer to an element. More... | |
typedef value_type & | reference |
Type for a reference to an element. More... | |
typedef std::ptrdiff_t | difference_type |
Type to represent the distance between two iterators. More... | |
typedef std::bidirectional_iterator_tag | iterator_category |
Defines the iterator as being a bidirectional iterator. More... | |
Public Member Functions | |
_inlist_iterator () | |
Default constructor. More... | |
_inlist_iterator (_inlist_node< value_type > *list, _inlist_node< value_type > *node) | |
Creates an iterator from a inline list and a node. More... | |
_inlist_iterator (_inlist_iterator< typename std::remove_const< T >::type > const &other) | |
Copy constructor. More... | |
_inlist_iterator< T > & | operator++ () |
Move the iterator to the next position in the list. More... | |
_inlist_iterator< T > | operator++ (int) |
Move the iterator to the next position in the list. More... | |
_inlist_iterator< T > & | operator-- () |
Move the iterator to the previous position in the list. More... | |
_inlist_iterator< T > | operator-- (int) |
Move the iterator to the previous position in the list. More... | |
T & | operator* () const |
Get a reference to the element currently pointed by the iterator. More... | |
T * | operator-> () const |
Return a pointer to the current element, which member will be accessed. More... | |
_inlist_node< value_type > * | native_handle () |
_inlist_node< value_type > const * | native_handle () const |
Friends | |
template<typename U > | |
struct | _inlist_iterator |
Check if both iterators are pointing to the same node. More... | |
bool | operator== (_inlist_iterator< T > lhs, _inlist_iterator< T > rhs) |
typedef std::remove_const<T>::type efl::eina::_inlist_iterator< T >::value_type |
Type for the list elements.
typedef value_type* efl::eina::_inlist_iterator< T >::pointer |
Type for a pointer to an element.
typedef value_type& efl::eina::_inlist_iterator< T >::reference |
Type for a reference to an element.
typedef std::ptrdiff_t efl::eina::_inlist_iterator< T >::difference_type |
Type to represent the distance between two iterators.
typedef std::bidirectional_iterator_tag efl::eina::_inlist_iterator< T >::iterator_category |
Defines the iterator as being a bidirectional iterator.
|
inline |
Default constructor.
Creates an uninitialized iterator.
|
inlineexplicit |
Creates an iterator from a inline list and a node.
list | Pointer to the inline list. |
node | Pointer to the node. |
|
inline |
Copy constructor.
Creates a copy of the given iterator.
other | Other iterator. |
|
inline |
Move the iterator to the next position in the list.
This operator increments the iterator, making it point to the position right after the current one. At the end, it returns a reference to itself.
|
inline |
Move the iterator to the next position in the list.
This operator increments the iterator, making it point to the next position right after the current one. At the end, it returns a copy of the iterator before the increment.
|
inline |
Move the iterator to the previous position in the list.
This operator decrements the iterator, making it point to the position right before the current one. At the end, it returns a reference to itself.
|
inline |
Move the iterator to the previous position in the list.
This operator decrements the iterator, making it point to the position right before the current one. At the end, it returns a copy of the iterator before the decrement.
|
inline |
Get a reference to the element currently pointed by the iterator.
|
inline |
Return a pointer to the current element, which member will be accessed.
Check if both iterators are pointing to the same node.
lhs | First iterator to be compared. |
rhs | Second iterator to be compared. |
true
if both iterators are pointing to the same node, false
otherwise.