Internal enumarable iterators definition.
begin
and end
methods needed to be able to iterate the collection as for example : Classes | |
class | iterator |
Represents the iterator of enumarable value type. More... | |
Public Aliases | |
using | const_iterator = const iterator |
Represents the const iterator of enumarable value type. | |
Public Methods | |
virtual const_iterator | begin () const |
Returns an iterator to the first element of the enumarable. | |
virtual iterator | begin () |
Returns an iterator to the first element of the enumarable. | |
virtual const_iterator | cbegin () const |
Returns an iterator to the first element of the enumarable. | |
virtual const_iterator | cend () const |
Returns an iterator to the element following the last element of the enumarable. | |
virtual const_iterator | end () const |
Returns an iterator to the element following the last element of the enumarable. | |
virtual iterator | end () |
Returns an iterator to the element following the last element of the enumarable. | |
using xtd::collections::generic::enumerable_iterators< type_t, enumerable_t >::const_iterator = const iterator |
Represents the const iterator of enumarable value type.
|
inlinevirtual |
Returns an iterator to the first element of the enumarable.
Reimplemented in xtd::basic_array< type_t, allocator_t >, xtd::basic_array< type_t, allocator_t >, xtd::basic_array< value_type, allocator_t >, xtd::collections::generic::list< type_t, allocator_t >, and xtd::basic_string< char_t, traits_t, allocator_t >.
|
inlinevirtual |
Returns an iterator to the first element of the enumarable.
Reimplemented in xtd::basic_array< type_t, allocator_t >, xtd::basic_array< type_t, allocator_t >, xtd::basic_array< value_type, allocator_t >, and xtd::collections::generic::list< type_t, allocator_t >.
|
inlinevirtual |
Returns an iterator to the first element of the enumarable.
Reimplemented in xtd::basic_array< type_t, allocator_t >, xtd::basic_array< type_t, allocator_t >, xtd::basic_array< value_type, allocator_t >, xtd::collections::generic::list< type_t, allocator_t >, and xtd::basic_string< char_t, traits_t, allocator_t >.
|
inlinevirtual |
Returns an iterator to the element following the last element of the enumarable.
Reimplemented in xtd::basic_array< type_t, allocator_t >, xtd::basic_array< type_t, allocator_t >, xtd::basic_array< value_type, allocator_t >, xtd::collections::generic::list< type_t, allocator_t >, and xtd::basic_string< char_t, traits_t, allocator_t >.
|
inlinevirtual |
Returns an iterator to the element following the last element of the enumarable.
Reimplemented in xtd::basic_array< type_t, allocator_t >, xtd::basic_array< type_t, allocator_t >, xtd::basic_array< value_type, allocator_t >, xtd::collections::generic::list< type_t, allocator_t >, and xtd::basic_string< char_t, traits_t, allocator_t >.
|
inlinevirtual |
Returns an iterator to the element following the last element of the enumarable.
Reimplemented in xtd::basic_array< type_t, allocator_t >, xtd::basic_array< type_t, allocator_t >, xtd::basic_array< value_type, allocator_t >, and xtd::collections::generic::list< type_t, allocator_t >.