Template Class Enumerator
Defined in File enumerator.h
Nested Relationships
Nested Types
Class Documentation
-
template<typename T>
class Enumerator Provides iterators with reference semantics for arrays of pointers.
- Param <T>
The type of pointers to enumerate
Public Functions
-
Enumerator() = default
Constructs an instance of Enumerator<>
-
inline Enumerator(T const **pBegin, T const **pEnd)
Constructs an instance of Enumerator<>
- Parameters
pBegin -- [in] A pointer to the beginning of the range to enumerate via this Enumerator
pEnd -- [in] A pointer to the ending of the range to enumerate via this Enumerator
-
class Iterator
An iterator to an enumerated pointer.
Public Functions
-
inline Iterator(T const **ptr)
Constructs an instance of Iterator.
- Parameters
ptr -- [in] The array of pointers to iterate
-
Iterator(Iterator const &other) = default
Copies an instance of Iterator.
- Parameters
other -- [in] The Iterator to copy from
-
inline Iterator &operator++()
Increments this Iterator.
- Returns
This Iterator after being incremented
-
inline Iterator operator++(int)
Increments this Iterator.
- Returns
A copy of this Iterator before being incremented
-
inline bool operator!=(Iterator const &other)
Gets a value indicating whether or not this Iterator is inequal to a given Iterator.
-
inline Iterator(T const **ptr)