template<typename type_t>
class xtd::collections::generic::enumerator< type_t >
Supports a simple iteration over a generic collection.
- Definition
template<typename type_t>
Supports a simple iteration over a generic collection.
Definition enumerator.h:31
#define interface_
This keyword is use to represent an interface.
Definition interface.h:58
- Header
#include <xtd/collections/enumerator
- Namespace
- xtd::collections::generic
- Library
- xtd.core
- Examples
- generic_icollection.cpp, generic_ienumerable.cpp, generic_ienumerable2.cpp, generic_ienumerator.cpp, generic_ilist.cpp, ienumerable.cpp, ienumerator.cpp, and ilist.cpp.
|
const type_t & | current () const override |
| Gets the element in the collection at the current position of the enumerator.
|
|
|
bool | move_next () override |
| Advances the enumerator to the next element of the collection.
|
|
void | reset () override |
| Sets the enumerator to its initial position, which is before the first element in the collection.
|
|
◆ enumerator() [1/2]
template<typename type_t >
◆ enumerator() [2/2]
template<typename type_t >
◆ current()
template<typename type_t >
◆ move_next()
template<typename type_t >
◆ reset()
template<typename type_t >
The documentation for this class was generated from the following file: