Implements an empty enumerator, that is, the first call of MoveNext() will return false
.
More...
#include <Enumerator.hxx>
template<class T>
class Arp::Enumerator< T >::Empty
Implements an empty enumerator, that is, the first call of MoveNext() will return false
.
Use Enumerator<T>::CreateEmpty() to create an insatnce of this class.
◆ Empty() [1/2]
Constructs an Empty instance.
◆ Empty() [2/2]
Copy constructor.
- Parameters
-
◆ ~Empty()
Destructs this instance and frees all resources.
◆ GetCurrent()
Gets the element at the current position.
- Returns
- The element at the current position.
Depending an the template parameter type of this interface, a reference or even const reference might be returned.
Implements Arp::IEnumerator< T >.
◆ MoveNext()
Moves this enumerator to the next position.
- Returns
false
if the end of the container/collections was reached and the enumerator was not moved, otherwise false
.
See comments of interface declaration for more information about this operation.
IEnumerator
Implements Arp::IEnumerator< T >.
◆ operator=()
Assignment operator.
- Parameters
-
- Returns
- This instance as reference.
The documentation for this class was generated from the following file: