Enumerator of elements of a sequence.
More...
#include <base/mem/AllocatorEnumeration.h>
Inherits Enumerator< TRAITS >.
template<class TRAITS>
class AllocatorEnumerator< TRAITS >
Enumerator of elements of a sequence.
Enumerator used to traverse elements of a sequence (not to be confused with the Array collection).
- Version
- 1.0
- Examples
- testsuite/IEEE1394.cpp.
◆ AllocatorEnumerator() [1/2]
Initializes an enumeration of all the elements specified by 'begin' and 'end'.
- Parameters
-
begin | Specifies the beginning of the enumeration. |
end | Specifies the end of the enumeration. |
◆ AllocatorEnumerator() [2/2]
Initializes enumeration from other enumeration.
◆ hasNext()
◆ next()
◆ operator!=()
Returns true if the enumerations are not referencing the same element.
◆ operator==()
Returns true if the enumerations are referencing the same element.