![]() |
OpenWalnut
1.5.0dev
|
A range of iterators. More...
#include <WIteratorRange.h>
Collaboration diagram for WIteratorRange< IteratorType >:Public Member Functions | |
| WIteratorRange (IteratorType const &begin, IteratorType const &end) | |
| Construct a range from a begin and end iterator. More... | |
| ~WIteratorRange () | |
| Destructor. More... | |
| WIteratorRange (WIteratorRange const &range) | |
| Copy constructor. More... | |
| WIteratorRange & | operator= (WIteratorRange const &range) |
| Assignment. More... | |
| IteratorType const & | begin () const |
| Returns the begin of the range. More... | |
| IteratorType const & | end () const |
| Returns the end of the range. More... | |
Private Member Functions | |
| WIteratorRange () | |
| The standard constructor is not allowed. More... | |
Private Attributes | |
| IteratorType | m_begin |
| The begin of the range. More... | |
| IteratorType | m_end |
| The end of the range. More... | |
A range of iterators.
Stores a begin and an end iterator to define a range for iteration.
| IteratorType | The type of the iterators to store. |
Definition at line 40 of file WIteratorRange.h.
| WIteratorRange< IteratorType >::WIteratorRange | ( | IteratorType const & | begin, |
| IteratorType const & | end | ||
| ) |
Construct a range from a begin and end iterator.
| begin | The iterator to act as the begin iterator. |
| end | The iterator to act as the end iterator. |
Definition at line 99 of file WIteratorRange.h.
| WIteratorRange< IteratorType >::~WIteratorRange |
Destructor.
Definition at line 106 of file WIteratorRange.h.
| WIteratorRange< IteratorType >::WIteratorRange | ( | WIteratorRange< IteratorType > const & | range | ) |
Copy constructor.
| range | The range to copy from. |
Definition at line 111 of file WIteratorRange.h.
|
private |
The standard constructor is not allowed.
| IteratorType const & WIteratorRange< IteratorType >::begin |
Returns the begin of the range.
Definition at line 130 of file WIteratorRange.h.
Referenced by WIteratorRangeUnpacker< IteratorType >::operator=().
Here is the caller graph for this function:| IteratorType const & WIteratorRange< IteratorType >::end |
Returns the end of the range.
Definition at line 136 of file WIteratorRange.h.
Referenced by WIteratorRangeUnpacker< IteratorType >::operator=().
Here is the caller graph for this function:| WIteratorRange< IteratorType > & WIteratorRange< IteratorType >::operator= | ( | WIteratorRange< IteratorType > const & | range | ) |
Assignment.
| range | The range to assign from. |
Definition at line 118 of file WIteratorRange.h.
References WIteratorRange< IteratorType >::m_begin, and WIteratorRange< IteratorType >::m_end.
|
private |
The begin of the range.
Definition at line 92 of file WIteratorRange.h.
Referenced by WIteratorRange< IteratorType >::operator=().
|
private |
The end of the range.
Definition at line 95 of file WIteratorRange.h.
Referenced by WIteratorRange< IteratorType >::operator=().