![]() |
|
This class allows for construction of iterable ranges. More...
#include <iteratorRange.h>
Public Types | |
| using | value_type = typename std::remove_cv< typename Iterator::value_type >::type |
| Type of the elements this range gives access to. | |
| using | iterator = Iterator |
| Type of iterator used in the range. | |
| using | const_iterator = Iterator |
| Type of constant iterator used in the range. | |
Public Member Functions | |
| template<typename... Args> | |
| VdfIteratorRange (Args &&... args) | |
| Constructs an iterable range from a begin iterator. | |
| VdfIteratorRange (Iterator begin, Iterator end) | |
Constructs an iterable range from begin and end iterators. | |
| Iterator | begin () const |
| Returns an iterator to the beginning of the iterable range. | |
| Iterator | end () const |
| Returns an iterator to the end of the iterable range. | |
| bool | IsEmpty () const |
Returns true if the range is empty. | |
This class allows for construction of iterable ranges.
Definition at line 26 of file iteratorRange.h.
| using const_iterator = Iterator |
Type of constant iterator used in the range.
Definition at line 41 of file iteratorRange.h.
| using iterator = Iterator |
Type of iterator used in the range.
Definition at line 37 of file iteratorRange.h.
| using value_type = typename std::remove_cv<typename Iterator::value_type>::type |
Type of the elements this range gives access to.
Definition at line 32 of file iteratorRange.h.
|
inline |
Constructs an iterable range from a begin iterator.
Definition at line 46 of file iteratorRange.h.
|
inline |
Constructs an iterable range from begin and end iterators.
Definition at line 54 of file iteratorRange.h.
|
inline |
Returns an iterator to the beginning of the iterable range.
Definition at line 58 of file iteratorRange.h.
|
inline |
Returns an iterator to the end of the iterable range.
Definition at line 64 of file iteratorRange.h.
|
inline |
Returns true if the range is empty.
Definition at line 70 of file iteratorRange.h.