OpenWalnut
1.5.0dev
|
A temporary used to unpack an iterator range into two iterators. More...
#include <WIteratorRange.h>
Public Member Functions | |
WIteratorRangeUnpacker (IteratorType &begin, IteratorType &end) | |
Constructs the unpacker. More... | |
~WIteratorRangeUnpacker () | |
Destructor. More... | |
void | operator= (WIteratorRange< IteratorType > const &range) |
Unpacks the provided range into the iterators referenced by this object. More... | |
Private Member Functions | |
WIteratorRangeUnpacker & | operator= (WIteratorRangeUnpacker const &) |
Assignment is not allowed. More... | |
Private Attributes | |
IteratorType & | m_begin |
A reference to the iterator that will be assigned the beginning of the range. More... | |
IteratorType & | m_end |
A reference to the iterator that will be assigned the end of the range. More... | |
A temporary used to unpack an iterator range into two iterators.
IteratorType | THe type of the iterators used. |
Definition at line 149 of file WIteratorRange.h.
WIteratorRangeUnpacker< IteratorType >::WIteratorRangeUnpacker | ( | IteratorType & | begin, |
IteratorType & | end | ||
) |
Constructs the unpacker.
begin | A reference to the iterator to unpack the begin iterator into. |
end | A reference to the iterator to unpack the end iterator into. |
Definition at line 196 of file WIteratorRange.h.
WIteratorRangeUnpacker< IteratorType >::~WIteratorRangeUnpacker |
Destructor.
Definition at line 203 of file WIteratorRange.h.
void WIteratorRangeUnpacker< IteratorType >::operator= | ( | WIteratorRange< IteratorType > const & | range | ) |
Unpacks the provided range into the iterators referenced by this object.
The lack of a return type is intended.
range | The renge to unpack. |
Definition at line 215 of file WIteratorRange.h.
References WIteratorRange< IteratorType >::begin(), and WIteratorRange< IteratorType >::end().
|
private |
Assignment is not allowed.
|
private |
A reference to the iterator that will be assigned the beginning of the range.
Definition at line 189 of file WIteratorRange.h.
|
private |
A reference to the iterator that will be assigned the end of the range.
Definition at line 192 of file WIteratorRange.h.