Implements an empty enumerator, that is, every call to Enumerator<T>::Empty::MoveNext() will return false.  
 More...
#include <Enumerator.Empty.hxx>
 | 
| 
  | Empty (void) | 
|   | Constructs an Enumerator<T>::Empty instance.
  | 
|   | 
| 
  | Empty (const Empty &arg)=delete | 
|   | 
|   | Empty (Empty &&arg) noexcept | 
|   | Move constructor. More...
  | 
|   | 
| 
Empty &  | operator= (const Empty &arg)=delete | 
|   | 
| Empty &  | operator= (Empty &&arg) noexcept | 
|   | Move assignment operator. More...
  | 
|   | 
| 
  | ~Empty (void) override | 
|   | Destructs this instance and frees all resources.
  | 
|   | 
| bool  | MoveNext (void) override | 
|   | Moves this enumerator to the next position. More...
  | 
|   | 
| T  | GetCurrent (void) override | 
|   | Gets the element at the current position. More...
  | 
|   | 
| 
  | IEnumerator (void)=default | 
|   | Constructs an IEnumerator instance.
  | 
|   | 
| 
  | IEnumerator (const IEnumerator &arg)=default | 
|   | Deleted copy constructor.
  | 
|   | 
| 
  | IEnumerator (IEnumerator &&arg) noexcept=default | 
|   | Move constructor.
  | 
|   | 
| 
IEnumerator &  | operator= (const IEnumerator &arg)=default | 
|   | Deleted copy-assignment IEnumerator.
  | 
|   | 
| 
IEnumerator &  | operator= (IEnumerator &&arg) noexcept=default | 
|   | Move-assignment operator.
  | 
|   | 
| 
virtual  | ~IEnumerator (void)=default | 
|   | Destructs this instance and frees all resources.
  | 
|   | 
| virtual bool  | MoveNext (void)=0 | 
|   | Moves this enumerator to the next position. More...
  | 
|   | 
| virtual T  | GetCurrent (void)=0 | 
|   | Gets the element at the current position. More...
  | 
|   | 
 | 
| 
using  | Ptr = std::shared_ptr< IEnumerator > | 
|   | The smart pointer type of this interface.
  | 
|   | 
| 
using  | ValueType = T | 
|   | Type of the enumerated values
  | 
|   | 
template<class T>
template<class T>
class Arp::Base::Core::Enumerator< T >::Empty< T >
Implements an empty enumerator, that is, every call to Enumerator<T>::Empty::MoveNext() will return false. 
Use Enumerator<T>::CreateEmpty() to create an instance of this class.
 
◆ Empty()
template<class T > 
template<class T > 
 
Move constructor.
- Parameters
 - 
  
  
 
 
 
◆ GetCurrent()
template<class T > 
template<class T > 
 
Gets the element at the current position.
- Returns
 - The element at the current position.
 
Depending on the template parameter type of this interface, a reference or even const reference might be returned.
- Exceptions
 - 
  
  
 
Implements Arp::Base::Core::IEnumerator< T >.
 
 
◆ MoveNext()
template<class T > 
template<class T > 
 
 
◆ operator=()
template<class T > 
template<class T > 
 
Move assignment operator.
- Parameters
 - 
  
  
 
- Returns
 - A reference of this instance.
 
 
 
The documentation for this class was generated from the following file: