xtd 0.2.0
Loading...
Searching...
No Matches
xtd::linq::enumerable_collection< type_t > Class Template Reference
Inheritance diagram for xtd::linq::enumerable_collection< type_t >:
xtd::collections::generic::ienumerable< type_t > xtd::interface xtd::collections::generic::extensions::enumerable_iterators< type_t, xtd::collections::generic::ienumerable< type_t > >

Definition

template<typename type_t>
class xtd::linq::enumerable_collection< type_t >

Represent an enumerable collection.

Definition
template<typename type_t>
Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
Definition ienumerable.hpp:35
Represent an enumerable collection.
Definition enumerable_collection.hpp:34
Header
#include <xtd/linq/enumerable_collection
Namespace
xtd::linq
Library
xtd.core

Public Member Functions

xtd::collections::generic::enumerator< type_t > get_enumerator () const override
 Returns an enumerator that iterates through a collection.
 
- Public Member Functions inherited from xtd::collections::generic::ienumerable< type_t >
- Public Member Functions inherited from xtd::collections::generic::extensions::enumerable_iterators< type_t, xtd::collections::generic::ienumerable< type_t > >
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.
 

Additional Inherited Members

- Public Types inherited from xtd::collections::generic::ienumerable< type_t >
using iterator = typename xtd::collections::generic::extensions::enumerable_iterators< type_t, xtd::collections::generic::ienumerable< type_t > >::iterator
 Represents the iterator of xtd::collections::generic::ienumerable value type.
 
using const_iterator = typename xtd::collections::generic::extensions::enumerable_iterators< type_t, xtd::collections::generic::ienumerable< type_t > >::const_iterator
 Represents the const iterator of xtd::collections::generic::ienumerable value type.
 
- Public Types inherited from xtd::collections::generic::extensions::enumerable_iterators< type_t, xtd::collections::generic::ienumerable< type_t > >
using const_iterator = const iterator
 Represents the const iterator of enumarable value type.
 

Member Function Documentation

◆ get_enumerator()

template<typename type_t >
xtd::collections::generic::enumerator< type_t > xtd::linq::enumerable_collection< type_t >::get_enumerator ( ) const
inlineoverridevirtual

Returns an enumerator that iterates through a collection.

Returns
An xtd::collections::generic::enumerator object that can be used to iterate through the collection.

Implements xtd::collections::generic::ienumerable< type_t >.


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