Base Framework
|
Non-modifying enumerator of DoubleLinkedNode. More...
#include <base/collection/DoubleLinkedNode.h>
Inherits Enumerator< TRAITS >.
Public Types | |
typedef Enumerator< TRAITS >::Value | Value |
typedef Enumerator< TRAITS >::Reference | Reference |
typedef Enumerator< TRAITS >::Pointer | Pointer |
![]() | |
typedef TRAITS::Value | Value |
typedef TRAITS::Distance | Distance |
typedef TRAITS::Reference | Reference |
typedef TRAITS::Pointer | Pointer |
Public Member Functions | |
DoubleLinkedNodeReadEnumerator (const DoubleLinkedNode< Value > *begin) noexcept | |
DoubleLinkedNodeReadEnumerator (const DoubleLinkedNodeReadEnumerator ©) noexcept | |
bool | hasNext () const noexcept |
Reference | next () |
bool | operator== (const DoubleLinkedNodeReadEnumerator &compare) const noexcept |
bool | operator!= (const DoubleLinkedNodeReadEnumerator &compare) const noexcept |
![]() | |
virtual | ~Enumerator () |
Protected Attributes | |
const DoubleLinkedNode< Value > * | current = nullptr |
Non-modifying enumerator of DoubleLinkedNode.
Enumeration of elements in a DoubleLinkedNode.
|
inlineexplicitnoexcept |
Initializes an enumeration of all the elements of a DoubleLinkedNode.
begin | Specifies the beginning of the enumeration. |
|
inlinenoexcept |
Initializes enumeration from other enumeration.
|
inlinevirtualnoexcept |
Returns true if the enumeration still contains elements.
Implements Enumerator< TRAITS >.
|
inlinevirtual |
Returns the next element and advances the position of this enumeration.
Implements Enumerator< TRAITS >.
|
inlinenoexcept |
Returns true if the enumerations aren't pointing to the same position.
|
inlinenoexcept |
Returns true if the enumerations are pointing to the same position.
|
protected |
The current position in the enumeration.